
/* Main Section */
.online-appointment-section {
    padding: 100px 0;
    min-height: 100vh;
}

.appointment-card {
    background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e8ecf4;
}

/* Enhanced Stepper */
.stepper-container {
    background: var(--global--color-white);
    border-bottom: 1px solid #e8ecf4;
    padding: 30px 0;
}

.stepper-wrapper {
    position: relative;
    overflow-x: auto;
    padding: 20px 0px;
}

.stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-width: 800px;
    margin: 0 auto;
}

    .stepper::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 3px;
        background: #e8ecf4;
        z-index: 1;
        transform: translateY(-50%);
    }

.stepper-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--global--color-white);
    padding: 0 20px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .stepper-step.active .step-circle {
        background: var(--global--color-primary);
        color: var(--global--color-white);
        transform: scale(1.1);
    }

    .stepper-step.completed .step-circle {
        background: var(--global--color-secondary);
        color: var(--global--color-white);
    }

    .stepper-step.active .step-info .step-title {
        color: var(--global--color-primary);
        font-weight: 600;
    }

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #e8ecf4;
    background: var(--global--color-white);
    color: var(--global--color-body);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-icon {
    font-size: 1.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.step-number {
    font-size: 1.2rem;
    font-weight: 700;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stepper-step.active .step-icon,
.stepper-step.completed .step-icon {
    opacity: 1;
}

.stepper-step.active .step-number,
.stepper-step.completed .step-number {
    opacity: 0;
}

.step-info {
    text-align: left;
    min-width: 120px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--global--color-heading);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.step-subtitle {
    font-size: 0.9rem;
    color: var(--global--color-body);
    opacity: 0.8;
}

/* Step Content */
.step-content {
    position: relative;
}

.step-panel {
    animation: fadeIn 0.5s ease-in-out;
}

    .step-panel.active {
        display: block;
    }

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
}

#step3 .step-visual {
    display: none
}

#step3 .step-layout {
    grid-template-columns: unset;
}

.step-visual {
    background: var(--global--color-primary);
    color: var(--global--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .step-visual::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--global--color-secondary);
        opacity: 0.1;
    }

.visual-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.visual-image {
}

    .visual-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px 8px 0 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

.step-form {
    padding: 40px;
    background: var(--global--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-header {
    margin-bottom: 30px;
    text-align: center;
}

    .step-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--global--color-heading);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .step-header h3 i {
            color: var(--global--color-primary);
        }

    .step-header p {
        color: var(--global--color-body);
        margin-bottom: 0;
    }

/* Nice Select Overrides */
.nice-select {
    width: 100% !important;
    padding: 15px 20px !important;
    border: 2px solid #e8ecf4 !important;
    border-radius: 8px 8px 0 8px !important;
    font-size: 1rem !important;
    background: #fafbfc !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    height: auto !important;
    line-height: normal !important;
    min-height: 54px !important;
}

    .nice-select:focus,
    .nice-select.open {
        border-color: var(--global--color-primary) !important;
        box-shadow: 0 0 0 3px rgba(19, 197, 221, 0.1) !important;
        background: var(--global--color-white) !important;
    }

    .nice-select .current {
        color: var(--global--color-heading) !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
    }

    .nice-select .list {
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto !important;
        border: 2px solid var(--global--color-primary) !important;
        border-radius: 8px 8px 0 8px !important;
        background: var(--global--color-white) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 1000 !important;
        margin-top: 5px !important;
    }

    .nice-select .option {
        padding: 12px 20px !important;
        font-size: 1rem !important;
        transition: all 0.2s ease !important;
        color: var(--global--color-heading) !important;
    }

        .nice-select .option:hover,
        .nice-select .option.focus,
        .nice-select .option.selected {
            background: rgba(19, 197, 221, 0.1) !important;
            color: var(--global--color-primary) !important;
        }

    .nice-select::after {
        border-color: var(--global--color-primary) !important;
        right: 20px !important;
        margin-top: -4px !important;
    }

    .nice-select.open::after {
        transform: rotate(180deg) !important;
    }

/* Form Styles */
.form-control {
    padding: 15px 20px;
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    width: 100%;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: var(--global--color-primary);
        box-shadow: 0 0 0 3px rgba(19, 197, 221, 0.1);
        background: var(--global--color-white);
    }

    .form-control.error {
        border-color: #f44336;
        background: #fff5f5;
    }

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-weight: 600;
        color: var(--global--color-heading);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
    }

        .form-group label i {
            color: var(--global--color-primary);
            font-size: 1.1rem;
        }

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

    .form-row.single {
        grid-template-columns: 1fr;
    }

/* Date and Time Selectors */
.datetime-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.datetime-group {
    display: flex;
    flex-direction: column;
}

    .datetime-group label {
        font-weight: 600;
        color: var(--global--color-heading);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
    }

        .datetime-group label i {
            color: var(--global--color-primary);
            font-size: 1.1rem;
        }

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

    /* Default Select Fallback */
    .custom-select-wrapper select {
        width: 100%;
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 20px center;
        background-repeat: no-repeat;
        background-size: 16px;
        padding-right: 50px;
    }

/* Doctor Selection Styles */
.doctor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.doctor-card {
    background: var(--global--color-white);
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .doctor-card:hover {
        border-color: var(--global--color-primary);
        background: rgba(19, 197, 221, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

    .doctor-card.selected {
        border-color: var(--global--color-primary);
        background: rgba(19, 197, 221, 0.1);
        box-shadow: 0 8px 25px rgba(19, 197, 221, 0.2);
    }

        .doctor-card.selected::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: var(--global--color-primary);
        }

        .doctor-card.selected::after {
            content: '\f00c';
            font-family: 'Font Awesome 7 Pro';
            font-weight: 300;
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--global--color-primary);
            color: var(--global--color-white);
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

.doctor-info h4 {
    color: var(--global--color-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.doctor-card.selected .doctor-info h4 {
    color: var(--global--color-primary);
}

.doctor-specialty {
    color: var(--global--color-body);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.doctor-card.selected .doctor-specialty {
    color: var(--global--color-heading);
}

/* Doctor Card Animation */
.doctor-card {
    opacity: 0;
    animation: doctorCardFadeIn 0.5s ease forwards;
}

    .doctor-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .doctor-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .doctor-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .doctor-card:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes doctorCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Selected Info Section */
.selected-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px 8px 0 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

    .selected-info p {
        margin: 0;
        color: var(--global--color-body);
        font-size: 0.95rem;
    }

        .selected-info p i {
            color: var(--global--color-primary);
            margin-right: 8px;
        }

    .selected-info strong {
        color: var(--global--color-heading);
    }

.btn-change-selection {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px 8px 0 8px;
    padding: 8px 15px;
    color: var(--global--color-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .btn-change-selection:hover {
        background: var(--global--color-primary);
        border-color: var(--global--color-primary);
        color: var(--global--color-white);
        transform: translateY(-1px);
    }

    .btn-change-selection i {
        font-size: 0.9rem;
    }

/* =================================================================
   COMPACT APPOINTMENT SUMMARY
   ================================================================= */

.appointment-summary-compact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-row-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e8ecf4;
    gap: 15px;
}

.summary-row-compact:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.summary-row-compact:first-child {
    padding-top: 0;
}

.label-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--global--color-heading);
    font-size: 0.95rem;
    white-space: nowrap;
}

.label-compact i {
    color: var(--global--color-primary);
    font-size: 1.1rem;
}

.value-compact {
    color: var(--global--color-body);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: right;
    flex: 1;
}

.btn-change-inline {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    gap:5px;
    padding: 6px 10px;
    color: var(--global--color-body);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.btn-change-inline:hover {
    background: var(--global--color-primary);
    border-color: var(--global--color-primary);
    color: var(--global--color-white);
    transform: translateY(-1px);
}

.btn-change-inline i {
    font-size: 0.85rem;
}

/* Date & Time Selection */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.calendar-wrapper {
    border: 1px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    overflow: hidden;
}

.calendar-header {
    background: var(--global--color-primary);
    color: var(--global--color-white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--global--color-white);
    padding: 8px 12px;
    border-radius: 8px 8px 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .calendar-nav:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .calendar-nav:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.calendar-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.date-picker {
    display: flex;
    gap: 10px;
    padding: 20px;
    background: var(--global--color-white);
    justify-content: space-between;
}

.date-day {
    text-align: center;
    padding: 15px 10px;
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

    .date-day:hover {
        border-color: var(--global--color-primary);
        background: var(--global--color-white);
    }

    .date-day.selected {
        border-color: var(--global--color-primary);
        background: var(--global--color-primary);
        color: var(--global--color-white);
    }

    .date-day.available {
        cursor: pointer;
    }

    .date-day.unavailable {
        opacity: 0.5;
        cursor: not-allowed;
    }

.day-name {
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 700;
}

.time-slots-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.time-period h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--global--color-heading);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .time-period h4 i {
        color: var(--global--color-primary);
    }

.time-picker {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px;
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    background: #fafbfc;
    color: var(--global--color-heading);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .time-slot:hover {
        border-color: var(--global--color-primary);
        background: var(--global--color-white);
    }

    .time-slot.selected {
        border-color: var(--global--color-primary);
        background: var(--global--color-primary);
        color: var(--global--color-white);
    }

    .time-slot:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* Personal Info */
.gender-selection {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .gender-option input[type="radio"] {
        width: 20px;
        height: 20px;
        accent-color: var(--global--color-primary);
    }

    .gender-option label {
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 0;
    }

    .gender-option.selected label {
        color: var(--global--color-primary);
        font-weight: 600;
    }

.birth-date-selection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.date-select-group select {
    width: 100%;
}

.consent-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px 8px 0 8px;
    border: 1px solid #e8ecf4;
    margin-bottom:10px;
}

.consent-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

    .consent-item:last-child {
        margin-bottom: 0;
    }

    .consent-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: var(--global--color-primary);
        margin-top: 2px;
    }

    .consent-item label {
        font-size: 0.8rem;
        line-height: 1.5;
        cursor: pointer;
        margin-bottom: 0;
    }

    .consent-item i {
        color: var(--global--color-primary);
        margin-right: 5px;
    }

/* Appointment Summary */
.appointment-summary {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.summary-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px 8px 0 8px;
    border: 1px solid #e8ecf4;
}

    .summary-section h4 {
        color: var(--global--color-heading);
        margin-bottom: 15px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .summary-section h4 i {
            color: var(--global--color-primary);
        }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e8ecf4;
}

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-row .label {
        font-weight: 600;
        color: var(--global--color-heading);
    }

    .summary-row .value {
        color: var(--global--color-body);
        font-weight: 500;
    }

.confirmation-info {
    background: #e8f8fd;
    padding: 20px;
    border-radius: 8px 8px 0 8px;
    border: 1px solid rgba(19, 197, 221, 0.3);
    margin:10px 0;
}

    .confirmation-info .info-item {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

        .confirmation-info .info-item:last-child {
            margin-bottom: 0;
        }

        .confirmation-info .info-item i {
            color: var(--global--color-primary);
        }

        .confirmation-info .info-item span {
            color: var(--global--color-heading);
            font-weight: 500;
        }

/* Navigation Buttons */
.step-navigation {
    background: var(--global--color-white);
    padding: 30px;
    border-top: 1px solid #e8ecf4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 8px 8px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-prev {
    background: #f8f9fa;
    color: var(--global--color-body);
    border: 2px solid #e8ecf4;
}

    .btn-prev:hover:not(:disabled) {
        background: #e9ecef;
        color: var(--global--color-heading);
        transform: translateY(-2px);
    }

    .btn-prev:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.btn-next,
.btn-complete {
    background: var(--global--color-primary);
    color: var(--global--color-white);
}

    .btn-next:hover,
    .btn-complete:hover {
        background: var(--global--color-secondary);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(19, 197, 221, 0.3);
    }

.btn-complete {
    background: var(--global--color-secondary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.show {
        opacity: 1;
        visibility: visible;
    }

.modal-content {
    background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 0;
    padding-bottom: 1rem
}

.modal-icon {
 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

    .modal-icon.success {
    }

    .modal-icon.error {
        background: #f44336;
        color: var(--global--color-white);
    }

.modal-header h3 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--global--color-heading);
    margin: 0;
}

.modal-body p {
    color: var(--global--color-body);
    margin-bottom: 20px;
    line-height: 1.6;
}

.appointment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px 8px 0 8px;
    margin-bottom: 20px;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e8ecf4;
}

    .detail-item:last-child {
        border-bottom: none;
    }

    .detail-item .label {
        font-weight: 600;
        color: var(--global--color-heading);
    }

    .detail-item .value {
        color: var(--global--color-body);
    }

.modal-footer {
    padding:0;
    padding-top:1rem
}

.btn-modal-close {
    background: var(--global--color-primary);
    color: var(--global--color-white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px 8px 0 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .btn-modal-close:hover {
        background: var(--global--color-secondary);
        transform: translateY(-2px);
    }

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.time-slot {
    padding: 12px 20px;
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    background: #fafbfc;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--global--color-body);
}

    .time-slot:hover {
        border-color: var(--global--color-primary);
        background: rgba(19, 197, 221, 0.1);
        color: var(--global--color-primary);
    }

    .time-slot.selected {
        border-color: var(--global--color-primary);
        background: var(--global--color-primary);
        color: var(--global--color-white);
    }

    .time-slot.disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #f8f9fa;
        border-color: #dee2e6;
    }

        .time-slot.disabled:hover {
            border-color: #dee2e6;
            background: #f8f9fa;
            color: var(--global--color-body);
        }

/* Appointment Buttons */
.appointment-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.appointment-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px 8px 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 200px;
    justify-content: center;
}

    .appointment-btn.primary {
        background: var(--global--color-primary);
        color: var(--global--color-white);
    }

        .appointment-btn.primary:hover {
            background: var(--global--color-secondary);
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(19, 197, 221, 0.3);
        }

    .appointment-btn.secondary {
        background: #f8f9fa;
        color: var(--global--color-body);
        border: 2px solid #e9ecef;
    }

        .appointment-btn.secondary:hover {
            background: #e9ecef;
            color: var(--global--color-heading);
            transform: translateY(-2px);
        }

    .appointment-btn.loading {
        opacity: 0.7;
        pointer-events: none;
    }

/* Error Messages */
.error-message {
    color: #f44336;
    font-size: 0.875rem;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

    .error-message.show {
        opacity: 1;
        transform: translateY(0);
    }

/* Modern DateTime Selection */
.modern-datetime-selection {
    display: grid;
    gap: 20px;
    margin: 20px 0;
    grid-template-columns: 1fr 1fr;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

    .section-header h4 {
        color: var(--global--color-heading);
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .section-header h4 i {
            color: var(--global--color-primary);
            font-size: 1.4rem;
        }

    .section-header p {
        color: var(--global--color-body);
        font-size: 1rem;
        margin: 0;
    }

/* Modern Date Selection */
.date-selection-modern {
    /* background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border: 1px solid #e8ecf4;*/
}

.calendar-container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.calendar-nav-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px 8px 0 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--global--color-body);
}

    .calendar-nav-btn:hover {
        background: var(--global--color-primary);
        border-color: var(--global--color-primary);
        color: var(--global--color-white);
        transform: translateY(-2px);
    }

.calendar-month-year {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--global--color-heading);
}

.calendar-month {
    color: var(--global--color-primary);
}

.calendar-grid {
    background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.weekday {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--global--color-heading);
    font-size: 0.9rem;
}

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

.calendar-day {
    background: var(--global--color-white);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--global--color-body);
}

    .calendar-day:hover {
        background: rgba(19, 197, 221, 0.1);
        color: var(--global--color-primary);
    }

    .calendar-day.available {
        color: var(--global--color-heading);
        cursor: pointer;
    }

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

    .calendar-day.selected {
        background: var(--global--color-primary);
        color: var(--global--color-white);
        font-weight: 600;
    }

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

    .calendar-day.today {
        background: var(--global--color-secondary);
        color: var(--global--color-white);
        font-weight: 600;
    }

        .calendar-day.today:hover {
            background: var(--global--color-primary);
        }

.selected-date-info {
    margin-top: 20px;
    animation: fadeInUp 0.3s ease;
}

.selected-date-card {
    background: rgba(19, 197, 221, 0.1);
    border: 2px solid var(--global--color-primary);
    border-radius: 8px 8px 0 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .selected-date-card i {
        color: var(--global--color-primary);
        font-size: 1.5rem;
    }

.date-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-date-label {
    font-size: 0.9rem;
    color: var(--global--color-body);
}

.selected-date-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--global--color-heading);
}

/* Modern Time Selection */
.time-selection-modern {
    /*   background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border: 1px solid #e8ecf4;*/
}

.time-slots-container {
    display: grid;
    /*grid-template-columns: 1fr 1fr;*/
    gap: 25px;
}

.time-period-modern {
    border: 1px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .time-period-modern:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.time-period-header {
    background: #f8f9fa;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e8ecf4;
}

    .time-period-header i {
        color: var(--global--color-primary);
        font-size: 1.2rem;
    }

    .time-period-header span:first-of-type {
        font-weight: 600;
        color: var(--global--color-heading);
        font-size: 1.1rem;
    }

.time-range {
    color: var(--global--color-body);
    font-size: 0.9rem;
    margin-left: auto;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 20px;
}

.time-slot-modern {
    background: var(--global--color-white);
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

    .time-slot-modern:hover {
        border-color: var(--global--color-primary);
        background: rgba(19, 197, 221, 0.1);
        transform: translateY(-2px);
    }

    .time-slot-modern.selected {
        background: var(--global--color-primary);
        border-color: var(--global--color-primary);
        color: var(--global--color-white);
    }

        .time-slot-modern.selected:hover {
            background: var(--global--color-secondary);
            border-color: var(--global--color-secondary);
        }

    .time-slot-modern.disabled {
        background: #f8f9fa;
        border-color: #dee2e6;
        color: #adb5bd;
        cursor: not-allowed;
    }

        .time-slot-modern.disabled:hover {
            transform: none;
            background: #f8f9fa;
            border-color: #dee2e6;
        }

.time-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--global--color-heading);
}

.time-slot-modern.selected .time-text {
    color: var(--global--color-white);
}

.time-status {
    font-size: 0.8rem;
    color: var(--global--color-body);
}

.time-slot-modern.selected .time-status {
    color: rgba(255, 255, 255, 0.9);
}

.time-slot-modern.disabled .time-status {
    color: #adb5bd;
}

.selected-time-info {
    margin-top: 20px;
    animation: fadeInUp 0.3s ease;
}

.selected-time-card {
    background: rgba(19, 197, 221, 0.1);
    border: 2px solid var(--global--color-primary);
    border-radius: 8px 8px 0 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

    .selected-time-card i {
        color: var(--global--color-primary);
        font-size: 1.5rem;
    }

.time-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.selected-time-label {
    font-size: 0.9rem;
    color: var(--global--color-body);
}

.selected-time-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--global--color-heading);
}

/* Quick Selection */
.quick-selection {
    background: var(--global--color-white);
    border-radius: 8px 8px 0 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border: 1px solid #e8ecf4;
}

.quick-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-option {
    background: var(--global--color-white);
    border: 2px solid #e8ecf4;
    border-radius: 8px 8px 0 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

    .quick-option:hover {
        border-color: var(--global--color-primary);
        background: rgba(19, 197, 221, 0.1);
        transform: translateY(-2px);
    }

    .quick-option.selected {
        background: var(--global--color-primary);
        border-color: var(--global--color-primary);
        color: var(--global--color-white);
    }

    .quick-option i {
        font-size: 1.5rem;
        color: var(--global--color-primary);
    }

    .quick-option.selected i {
        color: var(--global--color-white);
    }

    .quick-option span {
        font-size: 1rem;
        font-weight: 600;
        color: var(--global--color-heading);
    }

    .quick-option.selected span {
        color: var(--global--color-white);
    }

    .quick-option small {
        font-size: 0.8rem;
        color: var(--global--color-body);
    }

    .quick-option.selected small {
        color: rgba(255, 255, 255, 0.9);
    }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stepper {
        min-width: 700px;
    }

    .step-info {
        min-width: 100px;
    }

    .step-title {
        font-size: 1rem;
    }

    .step-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .stepper {
        min-width: 600px;
    }

    .step-layout {
        grid-template-columns: 1fr;
    }

    .step-visual {
        display:none;
    }
    .online-appointment-section {
        min-height: unset;
    }
    .step-form {
        padding: 30px;
    }

    .datetime-selection {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .stepper-wrapper::-webkit-scrollbar {
        display: none;
    }
    .stepper-step {
        min-width: 145px;
        padding:0;
        justify-content: center;
    }
        .stepper-step:after{
            font-family:font
        }
        .stepper-wrapper {
            padding: 0 10px;
        }

    .stepper {
        min-width: 500px;
    }

    .step-circle {
        width: 50px;
        height: 50px;
        display:none;
    }

    .step-icon {
        font-size: 1.2rem;
    }

    .step-number {
        font-size: 1rem;
    }

    .step-info {
        min-width: 80px;
    }

    .step-title {
        font-size: 0.9rem;
        font-weight:500;
        margin:0
    }

    .step-subtitle {
        font-size: 0.7rem;
    }

    .step-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .birth-date-selection {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gender-selection {
        flex-direction: column;
        gap: 10px;
    }

    .date-picker {
        flex-direction: column;
        gap: 10px;
    }

    .time-picker {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    }

    .step-navigation {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

    .btn-nav {
        width: 100%;
        justify-content: center;
        padding: 15px;
    }

    .modern-datetime-selection {
        gap: 20px;
        display: flex;
        flex-direction: column;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
        padding: 15px;
    }

    .time-slot-modern {
        padding: 12px;
    }

    .quick-options {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .quick-option {
        padding: 15px;
    }

    .calendar-days {
        gap: 0;
    }

    .calendar-day {
        padding: 10px;
        min-height: 40px;
    }

    .time-period-header {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .time-range {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .appointment-card {
        border-radius: 8px 8px 0 8px;
        margin: 0 10px;
    }

    .stepper-container {
        padding: 20px 0;
    }

    .stepper {
        min-width: 400px;
    }

    .step-header h3 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .modal-icon {
      
        font-size: 1.5rem;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .quick-options {
        grid-template-columns: 1fr;
    }

    .calendar-navigation {
        padding: 0 5px;
    }

    .calendar-month-year {
        font-size: 1.1rem;
    }

    .calendar-nav-btn {
        width: 35px;
        height: 35px;
    }
}

.quick-selection-compact {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.quick-selection-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

    .quick-selection-header i {
        color: #007bff;
        font-size: 16px;
    }

.quick-options-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-option-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 48px;
}

    .quick-option-compact:hover {
        background: #f8f9fa;
        border-color: #007bff;
        color: #007bff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,123,255,0.15);
    }

    .quick-option-compact.selected {
        background: #007bff;
        border-color: #007bff;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,123,255,0.25);
    }

    .quick-option-compact i {
        font-size: 16px;
        flex-shrink: 0;
    }

    .quick-option-compact span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .quick-options-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .quick-option-compact {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 44px;
    }

    .quick-selection-compact {
        padding: 16px;
        margin-top: 16px;
    }
}

/* Animation for selection */
.quick-option-compact.selected {
    animation: quickSelectPulse 0.3s ease-out;
}

@keyframes quickSelectPulse {
    0% {
        transform: scale(1) translateY(0);
    }

    50% {
        transform: scale(1.05) translateY(-2px);
    }

    100% {
        transform: scale(1) translateY(-2px);
    }
}

.date-buttons-container {
    display: grid;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    grid-template-columns: 1fr 1fr 1fr;
}

.date-btn {
    background: #fff;
    border: 2px solid #e0e6ed;
    border-radius: 8px 8px 0 8px;
    padding: 18px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    font-weight: 500;
}

    .date-btn.selected, .date-btn:focus {
        border-color: #00bcd4;
        background: #e6f7fa;
    }

    .date-btn .day-name {
        font-size: 1.2em;
        color: var(--global--color-heading);
        font-weight: 500;
    }

    .date-btn .day-date {
        font-size: 1em;
        color: var(--global--color-body);
        font-weight: 500;
    }

/* =================================================================
   CUSTOM POPUP STYLES
   ================================================================= */

.custom-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.custom-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.custom-popup {
    background: var(--global--color-white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.custom-popup-overlay.show .custom-popup {
    transform: scale(1);
}

.custom-popup .popup-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.custom-popup.success .popup-icon i {
    color: #4caf50;
}

.custom-popup.error .popup-icon i {
    color: #f44336;
}

.custom-popup .popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--global--color-heading);
    margin-bottom: 15px;
}

.custom-popup .popup-message {
    color: var(--global--color-body);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.custom-popup .appointment-number {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.custom-popup .appointment-number-label {
    font-size: 0.9rem;
    color: var(--global--color-body);
    margin-bottom: 8px;
}

.custom-popup .appointment-number-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--global--color-primary);
    letter-spacing: 2px;
}

.custom-popup .popup-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.custom-popup .popup-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px 8px 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-popup .popup-btn-primary {
    background: var(--global--color-primary);
    color: var(--global--color-white);
}

.custom-popup .popup-btn-primary:hover {
    background: var(--global--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(19, 197, 221, 0.3);
}

/* =================================================================
   INFO BOX STYLES
   ================================================================= */

.step-info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #e1f5fe 100%);
    border-left: 4px solid var(--global--color-primary);
    border-radius: 8px 8px 0 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-info-box.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left-color: #ff9800;
}

.step-info-box.danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left-color: #f44336;
}

.step-info-box-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--global--color-primary);
}

.step-info-box.warning .step-info-box-icon {
    color: #ff9800;
}

.step-info-box.danger .step-info-box-icon {
    color: #f44336;
}

.step-info-box-content {
    flex: 1;
}

.step-info-box-content p {
    margin: 0;
    color: var(--global--color-body);
    line-height: 1.6;
    font-size: 0.75rem;
}

.step-info-box-content strong {
    color: var(--global--color-heading);
    font-weight: 600;
}

.step-info-box-content a {
    color: var(--global--color-primary);
    font-weight: 600;
    text-decoration: underline;
}

.step-info-box-content a:hover {
    color: var(--global--color-secondary);
}

/* =================================================================
   CANCEL APPOINTMENT BUTTON
   ================================================================= */

.btn-cancel-appointment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff5f5;
    border: 1px solid #f44336;
    border-radius: 8px 8px 0 8px;
    color: #f44336;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px    8px rgba(244, 67, 54, 0.15);
}

    .btn-cancel-appointment:hover {
        color: #f44336;
    }

.btn-cancel-appointment i {
    font-size: 1rem;
}

/* =================================================================
   SELECTED TIME DISPLAY
   ================================================================= */

.selected-datetime-display {
    background: rgba(19, 197, 221, 0.1);
    border: 2px solid var(--global--color-primary);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: none;
    animation: fadeInUp 0.3s ease;
}

.selected-datetime-display.show {
    display: block;
}

.selected-datetime-display .display-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--global--color-body);
    font-weight: 600;
}

.selected-datetime-display .display-header i {
    color: var(--global--color-primary);
    font-size: 1.3rem;
}

.selected-datetime-display .display-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--global--color-primary);
}

/* =================================================================
   CONSENT TEXT UPDATES
   ================================================================= */


.consent-section .consent-item label a {
    color: var(--global--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.consent-section .consent-item label a:hover {
    color: var(--global--color-secondary);
}

/* =================================================================
   CUSTOM CHECKBOX STYLES
   ================================================================= */

.consent-section .consent-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.consent-section .consent-item input[type="checkbox"]:hover {
    border-color: var(--global--color-primary);
    background: rgba(19, 197, 221, 0.05);
}

.consent-section .consent-item input[type="checkbox"]:checked {
    background: var(--global--color-primary);
    border-color: var(--global--color-primary);
}

.consent-section .consent-item input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 7 Pro';
    font-weight: 300;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

.consent-section .consent-item input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(19, 197, 221, 0.2);
}

/* =================================================================
   RESPONSIVE - COMPACT SUMMARY
   ================================================================= */

@media (max-width: 768px) {
    .appointment-summary-compact {
        padding: 15px;
        margin-bottom: 20px;
    }

    .summary-row-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
    }

    .label-compact {
        font-size: 0.9rem;
    }

    .value-compact {
        text-align: left;
        padding-left: 28px;
        font-size: 0.9rem;
    }

    .btn-change-inline {
        margin-left: 0;
        margin-top: 8px;
    }
}
