/* Registration & Rules specific styles */

.rules-section {
    background: #fff;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.info-card {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    height: 100%;
}

.info-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rules-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.rules-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.rules-list {
    list-style: none;
    padding-left: 0;
}

.rules-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.rules-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.registration-process {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px dashed #dee2e6;
}

.process-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    margin-bottom: 0;
}

/* Alert styling */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #ffc107;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-left: 4px solid #17a2b8;
}

.alert-primary {
    background: linear-gradient(135deg, #cce5ff, #b8daff);
    border-left: 4px solid #007bff;
}

/* Button styling */
.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .rules-section {
        padding: 2rem;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .rules-section {
        padding: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 10px;
        display: block;
        width: 100%;
    }
    
    .btn-lg.me-3 {
        margin-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .rules-card {
        padding: 1.25rem;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

/* Add these styles to your existing registration.css */

.nested-list {
    list-style: circle;
    padding-left: 30px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.nested-list li {
    padding: 4px 0;
    font-size: 0.95rem;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-left: 4px solid #28a745;
    color: #155724;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border-left: 4px solid #ffc107;
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.badge {
    font-weight: 600;
    padding: 4px 8px;
    font-size: 0.85rem;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Dataset list styling */
.dataset-list li {
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.5rem;
}
.dataset-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dataset-list a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}
.dataset-list a:hover {
    text-decoration: underline;
}