body .modal.consult-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 22%, rgba(10, 7, 22, 0) 46%),
        rgba(9, 7, 22, 0.56);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body .modal.consult-modal.active {
    opacity: 1;
    pointer-events: auto;
}

body .consult-modal .consult-modal-card {
    position: relative;
    width: min(90vw, 540px);
    padding: 32px 32px 30px;
    border-radius: 30px;
    overflow: hidden;
    color: #251646;
    background:
        radial-gradient(circle at 14% 14%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.65) 20%, rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at 86% 12%, rgba(202, 167, 240, 0.18) 0%, rgba(202, 167, 240, 0.05) 24%, rgba(202, 167, 240, 0) 48%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 243, 255, 0.93) 56%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 28px 70px rgba(8, 4, 22, 0.28);
    backdrop-filter: blur(24px) saturate(1.14);
    -webkit-backdrop-filter: blur(24px) saturate(1.14);
}

body .consult-modal .consult-modal-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0) 100%);
}

body .consult-modal .consult-modal-card > * {
    position: relative;
    z-index: 1;
}

body .consult-modal .consult-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #fca440 0%, #ffb24b 100%);
    color: #160a34;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    font-family: Arial, sans-serif;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(252, 164, 64, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body .consult-modal .consult-modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(252, 164, 64, 0.34);
}

body .consult-modal h3 {
    margin: 0 0 8px;
    color: #2e1959;
    font-size: clamp(2rem, 3.8vw, 2.9rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.05em;
}

body .consult-modal p {
    margin: 0 0 24px;
    color: rgba(46, 25, 89, 0.74);
    font-size: 0.98rem;
    line-height: 1.55;
}

body .consult-modal form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body .consult-modal input,
body .consult-modal select {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    color: #2b1954;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(112, 88, 164, 0.18);
    border-radius: 18px;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 10px 22px rgba(21, 12, 44, 0.08);
    box-sizing: border-box;
    font-size: 0.98rem;
    font-weight: 500;
}

body .consult-modal input::placeholder {
    color: rgba(72, 55, 112, 0.72);
}

body .consult-modal select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

body .consult-modal select:invalid {
    color: rgba(72, 55, 112, 0.72);
}

body .consult-modal select option {
    color: #24154a;
    background: #ffffff;
}

body .consult-modal .consult-select-wrap {
    position: relative;
}

body .consult-modal .consult-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(82, 67, 122, 0.75);
    border-bottom: 2px solid rgba(82, 67, 122, 0.75);
    transform: translateY(-62%) rotate(45deg);
    pointer-events: none;
}

body .consult-modal input:focus,
body .consult-modal select:focus {
    border-color: rgba(252, 164, 64, 0.86);
    background: rgba(255, 255, 255, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 0 0 4px rgba(252, 164, 64, 0.12);
}

body .consult-modal form button {
    min-height: 60px;
    margin-top: 6px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 19px;
    color: #221145;
    background: linear-gradient(135deg, #fca440 0%, #ffba5a 100%);
    font-size: 1.02rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 16px 30px rgba(252, 164, 64, 0.2);
    transition: transform 0.25s ease, background 0.25s ease;
}

body .consult-modal form button:hover {
    background: linear-gradient(135deg, #ffb04a 0%, #ffc267 100%);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    body .modal.consult-modal {
        padding: 18px;
    }

    body .consult-modal .consult-modal-card {
        width: min(100%, 520px);
        padding: 30px 20px 24px;
        border-radius: 24px;
    }

    body .consult-modal .consult-modal-card::before {
        border-radius: 23px;
    }

    body .consult-modal .consult-modal-close {
        top: 14px;
        right: 14px;
        width: 42px;
        height: 42px;
        font-size: 1.75rem;
    }

    body .consult-modal h3 {
        font-size: clamp(1.8rem, 8vw, 2.3rem);
    }

    body .consult-modal form {
        gap: 14px;
    }

    body .consult-modal input,
    body .consult-modal select,
    body .consult-modal form button {
        min-height: 52px;
        border-radius: 16px;
    }
}

/* Randevu başarı bildirimi: sayfanın ortasında, mor kutu (mevcut booking-success-card tasarımıyla aynı) */
.consult-success-toast {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(9, 7, 22, 0.56);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
.consult-success-toast.active {
    opacity: 1;
    pointer-events: auto;
}

.consult-success-toast-card {
    position: relative;
    width: min(90vw, 460px);
    padding: 46px 36px;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(180deg, rgba(72, 42, 130, 0.97) 0%, rgba(54, 28, 104, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.consult-success-toast.active .consult-success-toast-card {
    transform: scale(1);
}

.consult-success-toast-icon {
    width: 76px; height: 76px; border-radius: 50%;
    background: rgba(203, 216, 59, 0.18); color: #Cdfb3f;
    font-size: 2rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 22px;
}
.consult-success-toast-title { font-size: 1.5rem; font-weight: 800; color: #ffffff; margin-bottom: 10px; }
.consult-success-toast-text { color: rgba(255, 255, 255, 0.65); font-size: 1rem; line-height: 1.6; }

.consult-success-toast-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}
.consult-success-toast-close:hover { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 640px) {
    .consult-success-toast-card {
        width: min(94vw, 420px);
        padding: 34px 24px;
        border-radius: 22px;
    }
}
