
.registration-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.registration-header-title {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 600;
}

.registration-header-subtitle {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 400;
}

.registration-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(var(--primary-color-gba),0.1);
    overflow: hidden;
}

.registration-header-description {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.progress-container {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step.active:not(:last-child)::after {
    background: #667eea;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.step.active .step-number {
    background: #667eea;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

.registration-form {
    padding: 30px;
}

.step-content h4 {
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.confirmation-summary, .course-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.confirmation-summary h5, .course-summary h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-weight: 600;
}

.summary-item, .course-info {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child, .course-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.free-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.terms-section {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-left: 10px;
    transform: scale(1.2);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Registration Index Page */
.registration-page {
    padding: 120px 0 0 0;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.registration-form-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 18px;
}

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

.student-login-section {
    margin-top: 30px;
}

.login-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
}

.login-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.login-card p {
    color: #666;
    margin-bottom: 25px;
}

.login-form {
    max-width: 400px;
    margin: 0 auto;
}

.login-form .form-group {
    margin-bottom: 20px;
}

/* Success Page */
.success-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.success-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: #28a745;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.success-card h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 30px;
}

.success-message p {
    color: #155724;
    margin: 0;
    font-weight: 500;
}

.success-details {
    margin: 40px 0;
    
}

.success-details h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.success-details li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    
}

.success-details li:last-child {
    border-bottom: none;
}

.success-details li i {
    color: #667eea;
    font-size: 18px;
    margin-left: 15px;
    width: 20px;
}

.success-details li span {
    color: #666;
    font-size: 16px;
}

.next-steps {
    margin: 40px 0;
    
}

.next-steps h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.step-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    margin: 0 auto 15px;
}

.step-content h5 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.action-buttons {
    margin: 40px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-info h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.contact-info p {
    color: #666;
    margin-bottom: 20px;
}

.contact-methods {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-method:hover {
    color: #5a6fd8;
}

.contact-method i {
    font-size: 16px;
}

/* Dashboard Styles */
.student-dashboard {
    padding: 40px 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.dashboard-header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.student-info span {
    color: #666;
    font-size: 16px;
}

.logout-form {
    margin: 0;
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-card.approved {
    border-left: 4px solid #28a745;
}

.stats-card.pending {
    border-left: 4px solid #ffc107;
}

.stats-card.completed {
    border-left: 4px solid #17a2b8;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stats-card.approved .stats-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stats-card.pending .stats-icon {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.stats-card.completed .stats-icon {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.stats-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.stats-content p {
    color: #666;
    margin: 0;
    font-size: 14px;
}

.courses-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.courses-section h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.course-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.course-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.course-card.approved {
    border-color: #28a745;
    background: #f8fff9;
}

.course-card.completed {
    border-color: #17a2b8;
    background: #f0f9ff;
}

.course-card.rejected {
    border-color: #dc3545;
    background: #fff5f5;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.course-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    flex: 1;
    margin-left: 15px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.course-info {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.info-item i {
    color: #667eea;
    margin-left: 10px;
    width: 16px;
}

.free {
    color: #28a745;
    font-weight: 600;
}

.payment-status {
    font-weight: 600;
}

.payment-pending {
    color: #ffc107;
}

.payment-paid {
    color: #28a745;
}

.payment-failed {
    color: #dc3545;
}

.payment-refunded {
    color: #6c757d;
}

.course-description {
    margin-bottom: 20px;
}

.course-description p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.course-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-outline-primary {
    background: transparent;
    color: #667eea;
    border: 1px solid #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

.btn-secondary, .btn-warning, .btn-danger {
    opacity: 0.7;
    cursor: not-allowed;
}

.admin-notes {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.admin-notes h5 {
    color: #1976d2;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.admin-notes p {
    color: #424242;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.no-courses {
    text-align: center;
    padding: 60px 20px;
}

.no-courses-icon {
    margin-bottom: 20px;
}

.no-courses-icon i {
    font-size: 80px;
    color: #dee2e6;
}

.no-courses h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-courses p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-indicators {
        flex-direction: column;
        gap: 20px;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .registration-form-card {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .form-section h3 {
        font-size: 18px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .student-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .course-header h3 {
        margin-left: 0;
    }
    
    .course-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}
