:root {
    --brand-blue: #1f3c88;
    --brand-green: #2fa84f;
    --text-dark: #212529;
    --bg-light: #f8f9fa;
    --focus-outline: #000000;
}



html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Segoe UI, Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

.appointment-page {
    padding-top: 70px;
    padding-bottom: 70px;
}

.section-badge {

    display: inline-flex;
    align-items: center;

    padding: 8px 18px;

    background: rgba(31, 60, 136, .08);

    color: var(--brand-blue);

    border-radius: 100px;

    font-weight: 600;

    font-size: .9rem;
}

.page-subtitle {

    max-width: 760px;

    margin: auto;

    font-size: 1.08rem;

    color: #6c757d;

}



.appointment-card,
.summary-card,
.booking-sidebar .card {

    border-radius: 20px;

    transition: .35s ease;

}

.appointment-card:hover,
.summary-card:hover {

    transform: translateY(-2px);

    box-shadow: 0 18px 45px rgba(0, 0, 0, .08);

}

.card {

    border: none;

    box-shadow: 0 8px 30px rgba(0, 0, 0, .05);

}



.form-section-title {

    color: var(--brand-blue);

    font-weight: 700;

    margin-bottom: 25px;

    padding-bottom: 10px;

    border-bottom: 2px solid rgba(31, 60, 136, .08);

}



.progress-wrapper {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    flex-wrap: nowrap;

}

.progress-step {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    min-width: 110px;

}

.progress-circle {

    width: 54px;

    height: 54px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #ffffff;

    color: var(--brand-blue);

    border: 2px solid rgba(31, 60, 136, .18);

    font-weight: 700;

    transition: .35s;

}

.progress-step.active .progress-circle {

    background: var(--brand-blue);

    color: #fff;

    border-color: var(--brand-blue);

}

.progress-title {

    margin-top: 12px;

    font-weight: 600;

    font-size: .95rem;

}

.progress-line {

    width: 90px;

    height: 3px;

    border-radius: 50px;

    background: #d8dee6;

}



.form-label {

    font-weight: 600;

    color: var(--text-dark);

    margin-bottom: .6rem;

}

.form-control,
.form-select {

    min-height: 52px;

    border-radius: 12px;

    border: 1px solid #d7dce2;

    transition: .25s;

    box-shadow: none;

}

textarea.form-control {

    min-height: 150px;

    resize: vertical;

}

.form-control:focus,
.form-select:focus {

    border-color: var(--brand-blue);

    box-shadow: 0 0 0 .18rem rgba(31, 60, 136, .15);

}

.form-control::placeholder {

    color: #adb5bd;

}

.invalid-feedback {

    font-size: .88rem;

}



input[type=file] {

    padding: 12px;

}

#filePreview {

    display: flex;

    flex-direction: column;

    gap: 6px;

}

#filePreview div {

    padding: 8px 10px;

    background: #fff;

    border-radius: 8px;

    border: 1px solid #e4e7eb;

    font-size: .9rem;

}


.input-group .btn {

    border-radius: 0 12px 12px 0;

}

.input-group .form-control {

    border-radius: 12px 0 0 12px;

}



.booking-sidebar {

    top: 110px;

    z-index: 10;

}

.summary-card {

    overflow: hidden;

}

.summary-service {

    padding: 14px;

    border-radius: 14px;

    background: rgba(31, 60, 136, .05);

    border: 1px solid rgba(31, 60, 136, .08);

}

.summary-service #selectedService {

    color: var(--brand-blue);

    font-size: 1rem;

    margin-top: 4px;

    word-break: break-word;

}

.summary-card hr {

    margin: 1.2rem 0;

    opacity: .12;

}

.summary-card h4 {

    color: var(--brand-blue);

}

.summary-card h5 {

    font-weight: 700;

}

#consultationFee,
#gstAmount,
#discountAmount,
#totalAmount {

    transition: .3s ease;

}

#couponApplied {

    font-weight: 600;

    min-height: 24px;

}


.trust-list {

    margin: 0;

    padding: 0;

}

.trust-list li {

    display: flex;

    align-items: center;

    font-weight: 500;

    transition: .25s;

}

.trust-list li:hover {

    transform: translateX(6px);

}

.trust-list i {

    color: var(--brand-green);

    font-size: 1.1rem;

    width: 24px;

}



.form-check-input {

    width: 20px;

    height: 20px;

    cursor: pointer;

}

.form-check-label {

    padding-left: 6px;

    line-height: 1.7;

}

.form-check-label a {

    color: var(--brand-blue);

    font-weight: 600;

    text-decoration: none;

}

.form-check-label a:hover {

    text-decoration: underline;

}

.form-check-input:checked {

    background-color: var(--brand-green);

    border-color: var(--brand-green);

}



#proceedButton {

    min-height: 58px;

    border-radius: 14px;

    background: var(--brand-green);

    border-color: var(--brand-green);

    font-size: 1.05rem;

    font-weight: 700;

    transition: all .3s ease;

}

#proceedButton:hover:not(:disabled) {

    transform: translateY(-2px);

    box-shadow: 0 14px 28px rgba(47, 168, 79, .28);

}

#proceedButton:active:not(:disabled) {

    transform: scale(.98);

}

#proceedButton:disabled {

    opacity: .7;

    cursor: not-allowed;

}

#buttonSpinner {

    vertical-align: middle;

}



.btn-outline-secondary {

    border-color: #d7dce2;

}

.btn-outline-secondary:hover {

    background: var(--brand-blue);

    border-color: var(--brand-blue);

}



a {

    transition: .25s;

}

a:hover {

    color: var(--brand-blue);

}



*:focus-visible {

    outline: 3px solid var(--focus-outline);

    outline-offset: 2px;

}

button,
input,
textarea,
select {

    transition: all .2s ease;

}



.was-validated .form-control:valid,
.was-validated .form-select:valid {

    border-color: var(--brand-green);

}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {

    border-color: #dc3545;

}

.is-invalid {

    animation: shake .25s linear;

}

@keyframes shake {

    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    50% {
        transform: translateX(3px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }

}


hr {

    border-color: rgba(0, 0, 0, .08);

}



.shadow-hover {

    transition: .3s;

}

.shadow-hover:hover {

    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);

}

.rounded-xl {

    border-radius: 20px;

}

.text-brand {

    color: var(--brand-blue);

}

.bg-brand {

    background: var(--brand-blue);

    color: #fff;

}

.bg-soft {

    background: rgba(31, 60, 136, .04);

}



@media (min-width:1400px) {

    .container {

        max-width: 1320px;

    }

    .appointment-card .card-body {

        padding: 3rem !important;

    }

}



@media (min-width:992px) {

    .booking-sidebar {

        position: sticky;

        top: 110px;

    }

}



@media (max-width:991.98px) {

    .appointment-page {

        padding-top: 50px;

        padding-bottom: 50px;

    }

    .booking-sidebar {

        position: relative;

        top: 0;

    }

    .summary-card {

        margin-top: 10px;

    }

    .progress-wrapper {

        gap: 10px;

    }

    .progress-line {

        width: 60px;

    }

}



@media (max-width:767.98px) {

    .appointment-page {

        padding-top: 30px;

        padding-bottom: 30px;

    }

    h1.display-5 {

        font-size: 2rem;

    }

    .page-subtitle {

        font-size: .95rem;

    }

    .appointment-card .card-body {

        padding: 1.4rem !important;

    }

    .summary-card .card-body {

        padding: 1.4rem;

    }

    .booking-sidebar .card {

        margin-top: 20px;

    }

    .progress-wrapper {

        flex-direction: column;

        gap: 18px;

    }

    .progress-line {

        width: 3px;

        height: 35px;

    }

    .progress-step {

        width: 100%;

    }

    .progress-title {

        margin-top: 8px;

    }

    .form-control,
    .form-select {

        min-height: 50px;

        font-size: .95rem;

    }

    textarea.form-control {

        min-height: 130px;

    }

    #proceedButton {

        min-height: 56px;

        font-size: 1rem;

    }

    .summary-service {

        padding: 12px;

    }

    .trust-list li {

        font-size: .95rem;

    }

}



@media (max-width:575.98px) {

    .section-badge {

        font-size: .8rem;

        padding: 6px 14px;

    }

    h1.display-5 {

        font-size: 1.75rem;

    }

    .progress-circle {

        width: 46px;

        height: 46px;

        font-size: .9rem;

    }

    .progress-title {

        font-size: .85rem;

    }

    .summary-card h4 {

        font-size: 1.2rem;

    }

    .summary-card h5 {

        font-size: 1rem;

    }

    #totalAmount {

        font-size: 1.5rem;

    }

    .form-section-title {

        font-size: 1.15rem;

    }

}


.file-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 10px 12px;

    background: #fff;

    border: 1px solid #e6e9ee;

    border-radius: 10px;

    margin-bottom: 8px;

    font-size: .9rem;

}

.file-item i {

    color: var(--brand-blue);

    margin-right: 8px;

}

.file-size {

    color: #6c757d;

    font-size: .82rem;

}


.loading {

    pointer-events: none;

    opacity: .8;

}



.card,
.form-control,
.form-select,
.btn,
.progress-circle,
.summary-card {

    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;

}



::selection {

    background: var(--brand-blue);

    color: #fff;

}



::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-track {

    background: #f1f1f1;

}

::-webkit-scrollbar-thumb {

    background: rgba(31, 60, 136, .35);

    border-radius: 30px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--brand-blue);

}



@media print {

    body {

        background: #fff;

    }

    .booking-sidebar {

        position: static;

    }

    #proceedButton {

        display: none;

    }

    .shadow-sm,
    .card {

        box-shadow: none !important;

    }

}



@media (prefers-reduced-motion:reduce) {

    * {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }

}



@media (prefers-color-scheme:dark) {

    body {

        background: var(--bg-light);

        color: var(--text-dark);

    }

}