:root {
    --primary-color: #E30A18;
    --primary-dark: #c00914;
    --primary-light: #f8d7da;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --background-light: #f8f9fa;
    --success-color: #28a745;
}
.exam-booking-system{
	max-width: 1100px;
    margin: 28px auto;
    padding: 22px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(12, 24, 40, 0.06);
    color: #0f172a;
}
/* Simple Progress Bar */
.simple-progress-bar {
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.progress-track {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #E30A18, #E30A18);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3));
}

/* Remove old progress bar styles */
.booking-progress {
    display: none;
}

/* Remove navigation buttons */
.navigation-buttons {
    display: none;
}

/* Remove loading overlay */
.loading-overlay {
    display: none !important;
}

/* Auto-proceed styles */
.select-exam-btn,
.form-control {
    transition: all 0.3s ease;
}

.select-exam-btn:active {
    transform: scale(0.98);
}

/* Smooth transitions for steps */
.booking-step {
    transition: all 0.5s ease;
}
.exam-booking-system {
    
    
}

.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.booking-progress:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.exam-card {
   	padding: 20px;
    background-color: #f8e9ea;
    border: 1px solid #e6eef6;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(12, 24, 40, 0.03);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.exam-content h3 {
    margin: 0 0 15px 0;
    color: var(--text-dark);
    font-size: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.exam-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.select-exam-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.select-exam-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.selection-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.calendar-selection-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
 
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    font-size: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 10, 24, 0.1);
}

.date-selection-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 25px;
   
}

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

.calendar-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 20px;
}

.calendar-nav {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.calendar-nav:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
    padding: 10px;
    font-size: 14px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.calendar-day.available {
    background: var(--primary-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.calendar-day.available:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.calendar-day.selected {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.calendar-day.disabled {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.exam-details-sidebar {
    background: white;
    border-radius: 12px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.exam-info-placeholder {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 40px 20px;
}

.exam-details h3 {
    margin: 0 0 20px 0;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.detail-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.detail-item strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 120px;
}

.detail-price {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.book-now-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 18px;
    margin-top: 20px;
}

.book-now-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.book-now-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: white;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .date-selection-container {
        grid-template-columns: 1fr;
    }
    
    .exam-details-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .exams-grid {
        grid-template-columns: 1fr;
    }
    
    .selection-fields,
    .calendar-selection-fields {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-progress {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .progress-step {
        flex: 1;
        min-width: 80px;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}