/* Schedule Appointment — glass panel + solid white form */

@keyframes scheduleBlobFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -10px); }
}

.schedule {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: clamp(8px, 1.2vw, 14px) clamp(16px, 3vw, 30px) clamp(20px, 4vw, 30px);
    background: #f8f9fc;
    overflow: visible;
    box-sizing: border-box;
}

.schedule__deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.schedule__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    animation: scheduleBlobFloat 14s ease-in-out infinite;
}

.schedule__blob--1 {
    width: 420px;
    height: 420px;
    top: -20%;
    right: -5%;
    background: rgba(232, 81, 38, 0.12);
}

.schedule__blob--2 {
    width: 360px;
    height: 360px;
    bottom: -25%;
    left: -8%;
    background: rgba(48, 67, 143, 0.1);
    animation-delay: -6s;
}

.schedule__mesh {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: radial-gradient(circle at 1px 1px, rgba(48, 67, 143, 0.06) 1px, transparent 0);
    background-size: 28px 28px;
}

/* Panel — glass background (form stays solid white) */
.schedule__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
    border-radius: clamp(20px, 3vw, 32px);
    background:#243366;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    overflow: hidden;
    box-sizing: border-box;
}

.schedule__panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    pointer-events: none;
    z-index: 2;
}

.schedule__panel-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 40% at 0% 0%, rgba(232, 81, 38, 0.18) 0%, transparent 55%);
}

.schedule__head {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 40px);
}

.schedule__label.section-badge {
    margin-bottom: 14px;
    color: #fff;
    background: rgba(232, 81, 38, 0.22);
    border-color: rgba(232, 81, 38, 0.45);
}

.schedule__title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 12px;
}

.schedule__title span {
    color: var(--color-accent, #e85126);
}

.schedule__desc {
    font-size: clamp(0.9375rem, 1.35vw, 1.0625rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.schedule__features {
    position: relative;
    z-index: 1;
    list-style: none;
    margin: 0 0 clamp(28px, 4vw, 40px);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .schedule__features {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

.schedule__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.schedule__feature-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 81, 38, 0.2);
    color: var(--color-accent, #e85126);
}

.schedule__feature-icon svg {
    width: 13px;
    height: 13px;
}

/* Form area — glass wrapper, glass pill fields */
.schedule__form-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding: clamp(28px, 4vw, 44px);
    border-radius: clamp(18px, 2.5vw, 24px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: visible;
    box-sizing: border-box;
}

.schedule__form-head {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(22px, 3vw, 28px);
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

@media (min-width: 768px) {
    .schedule__form-head {
        text-align: left;
    }
}

.schedule__form-head h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px;
}

.schedule__form-head p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.schedule-form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 18px;
}

.schedule-form__grid > .form-group {
    min-width: 0;
}

@media (min-width: 768px) {
    .schedule-form__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .schedule-form__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.schedule-form__full {
    grid-column: 1 / -1;
}

.schedule-form .form-group {
    margin-bottom: 16px;
}

.schedule-form .form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

/* Glass pill fields */
.schedule-form__input {
    width: 100%;
    padding: 14px 22px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.schedule-form__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.schedule-form__input:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.schedule-form__input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 4px rgba(232, 81, 38, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.schedule-form__textarea {
    min-height: 100px;
    resize: vertical;
    border-radius: 22px;
    padding: 16px 22px;
}

.schedule-form select.schedule-form__input {
    cursor: pointer;
    appearance: none;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.07);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.8)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    padding-right: 46px;
}

/* Custom glass dropdown */
.schedule-select {
    position: relative;
    width: 100%;
}

.schedule-select.is-open {
    z-index: 40;
}

.schedule-select__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.schedule-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

.schedule-select__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.schedule-select__value.is-placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 500;
}

.schedule-select__caret {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-select__caret svg {
    width: 18px;
    height: 18px;
}

.schedule-select.is-open .schedule-select__caret {
    transform: rotate(180deg);
}

.schedule-select.is-open .schedule-select__trigger {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 0 0 4px rgba(232, 81, 38, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.schedule-select__menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    margin: 0;
    padding: 8px;
    list-style: none;
    border-radius: 20px;
    background: rgba(28, 38, 72, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    max-height: 240px;
    overflow-y: auto;
    animation: scheduleSelectIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scheduleSelectIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.schedule-select__option {
    padding: 12px 16px;
    margin: 0;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.schedule-select__option:hover,
.schedule-select__option:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.schedule-select__option.is-selected {
    background: linear-gradient(135deg, rgba(232, 81, 38, 0.35) 0%, rgba(232, 81, 38, 0.18) 100%);
    color: #fff;
    border: 1px solid rgba(232, 81, 38, 0.35);
    box-shadow: 0 4px 16px rgba(232, 81, 38, 0.15);
}

.schedule-select__option[data-value=""] {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.schedule-select__menu::-webkit-scrollbar {
    width: 6px;
}

.schedule-select__menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.schedule-form select.schedule-form__input:focus {
    background-color: rgba(255, 255, 255, 0.12);
}

.schedule-form select.schedule-form__input option {
    color: #30438f;
    background: #fff;
    font-weight: 600;
}

.schedule-form input[type="date"].schedule-form__input {
    cursor: pointer;
    min-height: 50px;
    color-scheme: dark;
    position: relative;
    padding-right: 46px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px 18px;
    background-color: rgba(255, 255, 255, 0.07);
}

.schedule-form input[type="date"].schedule-form__input::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 0;
    top: 0;
    width: 46px;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}

.schedule-form input[type="date"].schedule-form__input:hover,
.schedule-form input[type="date"].schedule-form__input:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 18px 18px;
}

.schedule-form input[type="date"].schedule-form__input:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.schedule-form input[type="date"].schedule-form__input:focus {
    background-color: rgba(255, 255, 255, 0.12);
}

.schedule-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.schedule-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: min(100%, 340px);
    padding: 16px 36px !important;
    font-size: 0.9375rem !important;
    letter-spacing: 0.08em;
    border-radius: 100px !important;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(232, 81, 38, 0.25) !important;
    transition: gap 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease !important;
}

.schedule-form__submit span {
    white-space: nowrap;
}

.schedule-form__submit:hover {
    gap: 14px;
    transform: translateY(-2px);
    box-shadow:
        0 18px 44px rgba(232, 81, 38, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.schedule-form__submit svg {
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.schedule-form__submit:hover svg {
    transform: translateX(4px);
}

@media (max-width: 991.98px) {
    .schedule {
        padding: 8px max(16px, env(safe-area-inset-right)) 20px max(16px, env(safe-area-inset-left));
    }

    .schedule__blob--1 {
        width: 280px;
        height: 280px;
        top: -15%;
        right: -20%;
    }

    .schedule__blob--2 {
        width: 240px;
        height: 240px;
        bottom: -20%;
        left: -25%;
    }

    .schedule__panel {
        padding: 28px 18px 32px;
        border-radius: 20px;
    }

    .schedule__head {
        margin-bottom: 22px;
        text-align: center;
    }

    .schedule__label.section-badge {
        margin-bottom: 12px;
        padding: 7px 14px;
        font-size: 0.625rem;
    }

    .schedule__title {
        font-size: clamp(1.65rem, 6.5vw, 2.1rem);
        margin-bottom: 10px;
    }

    .schedule__desc {
        font-size: 0.875rem;
        line-height: 1.65;
    }

    .schedule__form-card {
        padding: 22px 16px 24px;
        border-radius: 16px;
    }

    .schedule__form-head {
        margin-bottom: 20px;
        padding-bottom: 16px;
        text-align: center;
    }

    .schedule__form-head h3 {
        font-size: 1.2rem;
    }

    .schedule__form-head p {
        font-size: 13px;
        line-height: 1.55;
    }

    .schedule-form .form-group {
        margin-bottom: 14px;
    }

    .schedule-form .form-group label {
        font-size: 0.6875rem;
        margin-bottom: 7px;
    }

    .schedule-form__input,
    .schedule-select__trigger,
    .schedule-select__option {
        font-size: 16px;
    }

    .schedule-form__input {
        min-height: 48px;
        padding: 13px 18px;
    }

    .schedule-form__textarea {
        min-height: 120px;
        border-radius: 18px;
        padding: 14px 18px;
        line-height: 1.5;
    }

    .schedule-form input[type="date"].schedule-form__input {
        min-height: 48px;
        background-position: right 14px center;
    }

    .schedule-form input[type="date"].schedule-form__input::-webkit-calendar-picker-indicator {
        width: 44px;
    }

    .schedule-select__menu {
        max-height: min(220px, 42vh);
        border-radius: 16px;
        padding: 6px;
    }

    .schedule-select__option {
        padding: 13px 14px;
        border-radius: 12px;
    }

    .schedule-form__actions {
        justify-content: stretch;
        margin-top: 8px;
    }

    .schedule-form__submit {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 15px 18px !important;
        font-size: 0.8125rem !important;
        letter-spacing: 0.035em;
        gap: 8px;
    }

    .schedule-form__submit svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 575.98px) {
    .schedule {
        padding: 6px max(14px, env(safe-area-inset-right)) 18px max(14px, env(safe-area-inset-left));
    }

    .schedule__panel {
        padding: 24px 14px 28px;
        border-radius: 16px;
    }

    .schedule__head {
        margin-bottom: 18px;
    }

    .schedule__title {
        font-size: clamp(1.5rem, 7vw, 1.85rem);
    }

    .schedule__desc {
        font-size: 0.8125rem;
    }

    .schedule__form-card {
        padding: 18px 12px 20px;
        border-radius: 14px;
    }

    .schedule__form-head {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .schedule__form-head h3 {
        font-size: 1.0625rem;
    }

    .schedule__form-head p {
        font-size: 12px;
    }

    .schedule-form .form-group {
        margin-bottom: 12px;
    }

    .schedule-form__input {
        padding: 12px 16px;
        border-radius: 14px;
    }

    .schedule-select__trigger {
        border-radius: 14px;
        min-height: 48px;
    }

    .schedule-form__textarea {
        border-radius: 14px;
    }

    .schedule-form__submit {
        padding: 14px 14px !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.03em;
        gap: 6px;
    }

    .schedule-form__submit svg {
        width: 15px;
        height: 15px;
    }

    .schedule__features li {
        font-size: 0.8125rem;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .schedule__blob {
        animation: none;
    }

    .schedule-form__submit:hover {
        transform: none;
    }
}

#scheduleTime{
    color:#fff !important;
    background:transparent !important;
  }
  
  #scheduleTime::-webkit-calendar-picker-indicator{
    filter: invert(1) !important ;
    opacity:1 !important;
    cursor:pointer !important;
  }
