:root {
    /* Bridge variables: reference The7 theme CSS vars with fallbacks */
    --primary: var(--the7-accent-color, #cb1023);
    --primary-light: var(--the7-accent-bg-2, #fa1c41);
    --secondary: var(--the7-accent-bg-2, #fa1c41);
    --background: var(--the7-body-bg-color, #f8f8f9);
    --card-bg: var(--the7-page-bg-color, #ffffff);
    --text-dark: var(--the7-title-color, #3b3f4a);
    --text-light: var(--the7-base-color, #787d85);
    --border-radius: var(--the7-general-border-radius, 0px);
    --btn-border-radius: var(--the7-btn-m-border-radius, 100px);
    --input-border: var(--the7-input-border-color, rgba(51,51,51,0.11));
    --input-border-radius: var(--the7-input-border-radius, 2px);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    /* The7 Theme Gradients */
    --primary-gradient: linear-gradient(180deg, #cb1023 0%, #fa1c41 100%);
    --primary-gradient-hover: linear-gradient(180deg, #fa1c41 0%, #cb1023 100%);

    /* Form styling */
    --input-focus: var(--the7-accent-color, #cb1023);
    --error: #e74c3c;
    --success: #4CAF50;

    /* Course availability colors (functional, not branded) */
    --available-high: #4CAF50;
    --available-medium: #FFC107;
    --available-low: #F44336;
    --available-high-bg: rgba(76, 175, 80, 0.2);
    --available-medium-bg: rgba(255, 193, 7, 0.2);
    --available-low-bg: rgba(244, 67, 54, 0.2);

    /* Calendar date gradients */
    --cal-blue-gradient: linear-gradient(180deg, #1565c0 0%, #42a5f5 100%);
    --cal-blue-gradient-hover: linear-gradient(180deg, #42a5f5 0%, #1565c0 100%);
    --cal-yellow-gradient: linear-gradient(180deg, #f9a825 0%, #fdd835 100%);
    --cal-yellow-gradient-hover: linear-gradient(180deg, #fdd835 0%, #f9a825 100%);
}

/* Scoped to plugin containers only - avoid global resets that break the theme */
.wizard-container,
.wizard-container *,
.booking-wizard-container,
.booking-wizard-container * {
    box-sizing: border-box;
}

.selection-group {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

/* Background SVG icon decoration */
.selection-group::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    height: 80%;
    max-width: 120px;
    max-height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

/* Calendar icon - top center */
.section-calendar::before {
    right: auto;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Crect x='7' y='14' width='3' height='3' rx='0.5'/%3E%3C/svg%3E");
}

/* Graduation cap / certificate icon */
.section-level::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3L1 9l11 6 9-4.91V17'/%3E%3Cpath d='M5 13.18v4L12 21l7-3.82v-4'/%3E%3C/svg%3E");
}

/* Globe / language icon */
.section-language::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 014 10 15.3 15.3 0 01-4 10 15.3 15.3 0 01-4-10 15.3 15.3 0 014-10z'/%3E%3C/svg%3E");
}

/* Valve / BOP stack icon */
.section-bopstack::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v4'/%3E%3Cpath d='M8 6h8'/%3E%3Crect x='6' y='8' width='12' height='4' rx='1'/%3E%3Crect x='7' y='12' width='10' height='5' rx='1'/%3E%3Crect x='6' y='17' width='12' height='4' rx='1'/%3E%3Cpath d='M9 21v1'/%3E%3Cpath d='M15 21v1'/%3E%3C/svg%3E");
}

/* Ruler / units icon */
.section-units::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.73 18l-8-14a2 2 0 00-3.48 0l-8 14A2 2 0 004 21h16a2 2 0 001.73-3z' fill='none'/%3E%3Cpath d='M4 17h2'/%3E%3Cpath d='M5 14h1.5'/%3E%3Cpath d='M7 11h1'/%3E%3Cpath d='M9.5 7.5h1'/%3E%3Cpath d='M18 17h2'/%3E%3Cpath d='M17.5 14h1.5'/%3E%3Cpath d='M16 11h1'/%3E%3Cpath d='M13.5 7.5h1'/%3E%3Cline x1='12' y1='7' x2='12' y2='21'/%3E%3C/svg%3E");
}

/* 2x2 grid for the option sections */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.options-grid .selection-group {
    margin-bottom: 0;
}

.options-grid .option-group {
    flex-wrap: nowrap;
}

.options-grid .option-item {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 680px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}

.selection-group > * {
    position: relative;
    z-index: 1;
}

.group-title {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    color: var(--primary);
}

/* Calendar Styles */
.calendar-container {
    width: 100%;
}

.calendar-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-month {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    grid-column: 2;
}

.calendar-header button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.calendar-header button:hover {
    background: var(--primary-gradient-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: scale(1.1);
}

.calendar-header button:active {
    transform: scale(0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.calendar-header button:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

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

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    color: var(--text-light);
    padding-bottom: 8px;
}

.calendar-day {
    margin: 3px;
    padding: 1px;
    aspect-ratio: 3 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    background: #f5f5f5;
    transition: all 0.2s ease;
    border-radius: 10px;
    font-weight: 600;
}

.calendar-day:hover {
    background: #e0e0e0;
}

.calendar-day.available {
    background: #e8f5e9;
}

.calendar-day.available:hover {
    background: #c8e6c9;
}

/* Course period styles - theme red instead of blue */
/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    padding: 8px 0;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.legend-label {
    font-size: 13px;
    color: var(--text-light);
}

.legend-available {
    background: var(--cal-blue-gradient);
    box-shadow: 0 2px 4px rgba(21, 101, 192, 0.3);
}

.legend-low {
    background: var(--cal-yellow-gradient);
    box-shadow: 0 2px 4px rgba(249, 168, 37, 0.3);
}

.legend-full {
    background: rgba(249, 168, 37, 0.15);
    position: relative;
}

.legend-full::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(150, 120, 20, 0.5);
}

.legend-selected {
    background: var(--primary-gradient);
}

/* Available seats - blue gradient */
.calendar-day.course-period {
    background: var(--cal-blue-gradient);
    color: white;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(21, 101, 192, 0.3);
    transition: all 0.25s ease;
}

.calendar-day.course-period:hover {
    background: var(--cal-blue-gradient-hover);
    box-shadow: 0 4px 8px rgba(21, 101, 192, 0.4);
    transform: translateY(-1px);
}

/* Low availability (2 or fewer seats) - yellow gradient */
.calendar-day.course-period.low-availability {
    background: var(--cal-yellow-gradient);
    color: #4a3800;
    border: none;
    box-shadow: 0 2px 4px rgba(249, 168, 37, 0.3);
}

.calendar-day.course-period.low-availability:hover {
    background: var(--cal-yellow-gradient-hover);
    box-shadow: 0 4px 8px rgba(249, 168, 37, 0.4);
    transform: translateY(-1px);
}

/* Fully booked course - faded yellow, not clickable */
.calendar-day.course-period.course-full {
    background: rgba(249, 168, 37, 0.15);
    color: #999;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(150, 120, 20, 0.5);
    box-shadow: none;
}

.calendar-day.course-period.course-full:hover {
    background: rgba(249, 168, 37, 0.15);
    box-shadow: none;
    transform: none;
}

/* Selected state - CTA red overrides blue/yellow */
.calendar-day.selected,
.calendar-day.course-period.selected,
.calendar-day.course-period.low-availability.selected {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 2px 6px rgba(203, 16, 35, 0.3);
}

.calendar-day.selected:hover,
.calendar-day.course-period.selected:hover,
.calendar-day.course-period.low-availability.selected:hover {
    background: var(--primary-gradient-hover);
    box-shadow: 0 4px 12px rgba(203, 16, 35, 0.4);
}

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

.calendar-day.today {
    border: 2px solid var(--primary);
}

.calendar-day.other-month {
    opacity: 0.3;
    cursor: default;
}

/* Course availability styles */
.calendar-day.course-start {
    border-radius: 50% 0 0 50%;
}

.calendar-day.course-middle {
    border-radius: 0;
    cursor: default;
}

.calendar-day.course-end {
    border-radius: 0 50% 50% 0;
    cursor: default;
}

/* Availability colors */
.calendar-day.available-high {
    background-color: var(--available-high-bg);
    color: var(--available-high);
    font-weight: bold;
}

.calendar-day.available-high:hover:not(.selected) {
    background-color: var(--available-high);
    color: white;
}

.calendar-day.available-medium {
    background-color: var(--available-medium-bg);
    color: var(--text-dark);
    font-weight: bold;
}

.calendar-day.available-medium:hover:not(.selected) {
    background-color: var(--available-medium);
    color: white;
}

.calendar-day.available-low {
    background-color: var(--available-low-bg);
    color: var(--available-low);
    font-weight: bold;
}

.calendar-day.available-low:hover:not(.selected) {
    background-color: var(--available-low);
    color: white;
}

.calendar-day.no-seats {
    background-color: var(--available-low-bg);
    color: var(--available-low);
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tooltip styles */
.calendar-day .tooltip {
    visibility: hidden;
    width: 180px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -90px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.calendar-day .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.calendar-day:hover .tooltip {
    visibility: visible;
    opacity: 1;
}


/* Course indicator */
.course-indicator {
    display: flex;
    align-items: center;
    margin-top: 10px;
    justify-content: center;
}

.course-range {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.course-range-item {
    width: 25px;
    height: 12px;
    background-color: var(--available-high-bg);
}

.course-range-start {
    border-radius: 10px 0 0 10px;
}

.course-range-end {
    border-radius: 0 10px 10px 0;
}

.course-indicator-text {
    font-size: 13px;
    color: var(--text-light);
    margin-left: 8px;
}

/* Mobile Calendar Styles */
@media (max-width: 768px) {
    .calendar-grid {
        gap: 1px;
    }

    .calendar-day {
        font-size: 14px;
        padding: 2px;
    }

    .calendar-day-header {
        font-size: 12px;
        padding-bottom: 4px;
    }

    .calendar-month {
        font-size: 14px;
    }

    .calendar-header button {
        width: 30px;
        height: 30px;
    }

    /* Adjust tooltip for mobile */
    .calendar-day .tooltip {
        width: 140px;
        margin-left: -70px;
        font-size: 11px;
        padding: 4px;
    }

    /* Make legend more compact */
    .calendar-legend {
        gap: 10px;
        font-size: 12px;
    }

    .legend-color {
        width: 20px;
        height: 20px;
    }

    .course-indicator-text {
        font-size: 11px;
    }
}

.booking-summary {
    margin-bottom: 30px;
    background-color: rgba(203, 16, 35, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
}

.booking-summary-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
}

.summary-item {
    display: flex;
    margin-bottom: 8px;
}

.summary-label {
    flex: 0 0 150px;
    font-weight: 500;
    color: var(--text-light);
}

.summary-value {
    font-weight: 500;
}

.total-amount {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    text-align: right;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--input-border);
}

/* Price Breakdown */
.price-breakdown {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--input-border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}

.price-row.total-row {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--input-border);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.price-label {
    font-weight: 500;
}

.price-value {
    font-weight: 600;
}

/* Course Level Cards */
.course-level-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    gap: 10px;
}

.course-card {
    flex: 1;
    min-width: 0;
    max-width: 32%;
    height: 180px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    scroll-snap-align: start;
    transition: transform 0.3s;
    cursor: pointer;
}

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

.course-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    width: 100%;
}

.course-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(203, 16, 35, 0.7), rgba(250, 28, 65, 0.9));
    z-index: 2;
}

.course-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
}

.course-card-content {
    position: relative;
    padding: 20px;
    color: white;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.course-details {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.more-info-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: var(--btn-border-radius);
    font-weight: bold;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.3s;
    font-size: 14px;
}

.more-info-btn:hover {
    background: var(--primary-gradient-hover);
}

.course-card.selected {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.course-card.selected .course-card-overlay {
    background: linear-gradient(to bottom, rgba(250, 28, 65, 0.8), rgba(203, 16, 35, 0.95));
}

/* Extra small screens */
@media (max-width: 480px) {
    .option-btn {
        font-size: 12px;
        padding: 10px 8px;
    }

    .calendar-grid {
        gap: 1px;
    }

    .calendar-day {
        font-size: 12px;
        padding: 1px;
        min-width: 16px;
        max-width: 16px;
        min-height: 16px;
        max-height: 16px;
        padding: 0;
    }

    .calendar-day-header {
        font-size: 10px;
    }

    .calendar-month {
        font-size: 10px;
    }

    .calendar-header button {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    .section-calendar {
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 0;
        padding: 16px 8px;
    }

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

    .calendar-day {
        font-size: 13px;
        padding: 2px;
        min-width: 0;
        max-width: none;
        min-height: 32px;
        max-height: none;
    }

    .calendar-day-header {
        font-size: 11px;
    }
}

/* === Booking Wizard specific styles === */

.booking-wizard-container {
    background-color: var(--background);
    color: var(--text-dark);
    padding: 10px;
    max-width: 800px;
    margin: 0 auto;
    font-family: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
}

.vat-input-group {
    display: flex;
    gap: 10px;
}

.validate-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: var(--btn-border-radius);
    font-weight: 500;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.validate-btn:hover {
    background: var(--primary-gradient-hover);
}

.vat-validation-message {
    margin-top: 6px;
    font-size: 14px;
}

.vat-validation-message.success {
    color: var(--success);
}

.vat-validation-message.error {
    color: var(--error);
}

.vat-status {
    font-size: 0.9em;
    color: #666;
    margin-left: 5px;
}

/* Option Groups */
.option-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-item {
    flex: 1 0 calc(50% - 10px);
    min-width: 120px;
}

.option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    white-space: nowrap;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.option-btn:hover:not(.disabled) {
    background-color: #e2e8f0;
}

.option-btn.selected {
    background-color: rgba(203, 16, 35, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.option-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #eaecee;
}

/* Form styles */
.form-container {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

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

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-2col .form-group {
    margin-bottom: 24px;
}

.required-mark {
    color: var(--primary);
    font-weight: 600;
}

.required-note {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

@media (max-width: 600px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

.optional-label {
    color: var(--text-light);
    font-weight: normal;
    font-size: 14px;
    margin-left: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--input-border-radius);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(203, 16, 35, 0.2);
}

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-light);
}

.cr-number-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.cr-number-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Validation styles */
.error-message {
    color: var(--error);
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

.form-control.error {
    border-color: var(--error);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.form-control.error + .error-message {
    display: block;
}

/* Buttons */
.next-btn,
.submit-btn,
.finish-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: var(--btn-border-radius);
    font-size: 16px;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.next-btn:hover,
.submit-btn:hover,
.finish-btn:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Submit Button container */
.submit-container {
    text-align: center;
    margin-top: 40px;
}

/* Buttons container */
.buttons-container {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.back-btn {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 28px;
    border-radius: var(--btn-border-radius);
    font-size: 16px;
    font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: rgba(203, 16, 35, 0.1);
}

/* Progress indicator */
.progress-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

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

.progress-step:not(:last-child) {
    margin-right: 80px;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    height: 2px;
    background-color: #e2e8f0;
    width: 60px;
    right: -70px;
    top: 50%;
}

.progress-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e2e8f0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 10px;
    transition: all 0.25s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-light);
    transition: all 0.3s;
}

.progress-step.active .progress-number {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

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

.progress-step.completed .progress-number {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.progress-step:not(:last-child).completed::after,
.progress-step:not(:last-child).active::after {
    background-color: var(--primary);
}

/* Responsive adjustments for wizard elements */
@media (max-width: 600px) {
    .progress-step:not(:last-child) {
        margin-right: 50px;
    }

    .progress-step:not(:last-child)::after {
        width: 30px;
        right: -40px;
    }

    .progress-text {
        font-size: 12px;
    }

    .option-item {
        flex: 1 0 100%;
    }

    .course-level-container {
        flex-wrap: wrap;
    }

    .course-card {
        flex: 1 0 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }

    .back-btn, .submit-btn {
        width: 100%;
    }
}
