/* Canlı destek açılış — KuzgunBet ice cyan / navy */

.live-support-prechat-modal {
    --support-accent: #2ec7ff;
    --support-accent-dark: #1496e6;
    --support-text: #e2e8f0;
    --support-muted: #94a3b8;
    --support-bg: #0b1f35;
    --support-panel: #0e2742;
    --support-field: #0b1f35;
    --support-ink: #0e2742;

    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
    background: linear-gradient(180deg, #12324f 0%, #0e2742 45%, #0b1f35 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.live-support-prechat-modal.is-open {
    display: block;
    opacity: 1;
}

html.live-support-prechat-open,
body.live-support-prechat-open {
    overflow: hidden !important;
    height: 100%;
    overscroll-behavior: none;
}

body.live-support-prechat-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

body.live-support-prechat-open #mobile-bottom-nav,
body.live-support-prechat-open .mobile-bottom-nav {
    display: none !important;
}

.live-support-prechat-modal__wrap {
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior: none;
}

.live-support-prechat-modal__panel {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    display: flex;
    flex-direction: column;
    background: transparent;
    color: var(--support-text);
    font-family: "Outfit", system-ui, sans-serif;
}

.live-support-prechat-modal__close {
    position: absolute;
    top: max(0.85rem, env(safe-area-inset-top));
    right: 0.85rem;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(46, 199, 255, 0.45);
    border-radius: 999px;
    background: linear-gradient(145deg, #2ec7ff, #1496e6);
    color: var(--support-ink);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(46, 199, 255, 0.28);
}

.live-support-prechat-modal__hero {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.live-support-prechat-modal__raven {
    width: 100%;
    flex: 1 1 auto;
    height: 0;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    margin: 0;
}

.live-support-prechat-modal__hero h2 {
    margin: 0.15rem 0 0;
}

.live-support-prechat-modal__brand {
    display: block;
    height: 42px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 12px rgba(46, 199, 255, 0.28));
}

.live-support-prechat-modal__hero p {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    font-weight: 650;
    color: #b8ecff;
}

.live-support-prechat-modal__hero i {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.live-support-prechat-modal__body {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    width: min(100%, 480px);
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0.85rem 1.15rem calc(0.95rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(46, 199, 255, 0.22);
    background: linear-gradient(180deg, rgba(14, 39, 66, 0.92), rgba(11, 31, 53, 0.98));
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
}

.live-support-prechat-modal__body form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.live-support-prechat-modal__field {
    margin-bottom: 0.85rem;
}

.live-support-prechat-modal__label {
    display: block;
    margin-bottom: 0.32rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #e2e8f0;
}

.live-support-prechat-modal__label .req {
    color: var(--support-accent);
}

.live-support-prechat-modal__input,
.live-support-prechat-modal__select,
.live-support-prechat-modal__submit,
.live-support-prechat-modal__close,
.live-support-prechat-modal__link,
.live-support-prechat-modal__locked {
    touch-action: manipulation;
}

.live-support-prechat-modal__input,
.live-support-prechat-modal__select,
.live-support-prechat-modal__locked {
    width: 100%;
    box-sizing: border-box;
    min-height: 3rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(46, 199, 255, 0.28);
    background: var(--support-field);
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.live-support-prechat-modal__select {
    color-scheme: dark;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #2ec7ff 50%), linear-gradient(135deg, #2ec7ff 50%, transparent 50%);
    background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.82rem) 1.25rem;
    background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
    background-repeat: no-repeat;
    background-color: var(--support-field);
}

.live-support-prechat-modal__input::placeholder {
    color: rgba(148, 163, 184, 0.65);
}

.live-support-prechat-modal__input:focus,
.live-support-prechat-modal__select:focus {
    outline: none;
    border-color: rgba(46, 199, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(46, 199, 255, 0.16);
}

.live-support-prechat-modal__locked {
    font-weight: 650;
    color: #b8ecff;
    border-style: dashed;
}

.live-support-prechat-modal__locked-note {
    margin: -0.2rem 0 0.85rem;
    font-size: 0.78rem;
    color: var(--support-muted);
}

.live-support-prechat-modal__link {
    color: var(--support-accent);
    font-weight: 700;
}

.live-support-prechat-modal__link:hover {
    color: #b8ecff;
}

.live-support-prechat-modal__error {
    display: none;
    margin: 0 0 0.75rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem;
    font-size: 0.78rem;
    color: #fecaca;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.live-support-prechat-modal__error.is-visible {
    display: block;
}

.live-support-prechat-modal__submit,
.live-support-prechat-modal__submit .live-support-prechat-modal__submit-text {
    color: var(--support-ink) !important;
    -webkit-text-fill-color: var(--support-ink) !important;
    text-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

.live-support-prechat-modal__submit {
    width: 100%;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0 !important;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    font-size: 1.05rem;
    line-height: 1.2;
    background: linear-gradient(145deg, #2ec7ff, #1496e6) !important;
    background-image: linear-gradient(145deg, #2ec7ff, #1496e6) !important;
    box-shadow: 0 10px 24px rgba(46, 199, 255, 0.32) !important;
    transform: none !important;
    cursor: pointer;
}

.live-support-prechat-modal__submit:hover {
    filter: brightness(1.04);
}

.live-support-prechat-modal__submit:disabled {
    cursor: wait;
    filter: none;
    opacity: 0.85 !important;
}

.live-support-prechat-modal__submit-spinner {
    width: 0.95rem;
    height: 0.95rem;
    border: 2px solid rgba(14, 39, 66, 0.2);
    border-top-color: var(--support-ink);
    border-radius: 999px;
    animation: support-spin 0.7s linear infinite;
}

@keyframes support-spin {
    to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .live-support-prechat-modal__raven {
        width: min(100%, 420px);
        flex: 0 1 420px;
        height: auto;
        min-height: 0;
        max-height: 420px;
        object-fit: contain;
        margin: 0 auto;
    }

    .live-support-prechat-modal__brand {
        height: 48px;
    }

    .live-support-prechat-modal__body {
        border-radius: 1rem 1rem 0 0;
        border: 1px solid rgba(46, 199, 255, 0.22);
        border-bottom: 0;
    }
}

@media (max-height: 700px) {
    .live-support-prechat-modal__field {
        margin-bottom: 0.55rem;
    }

    .live-support-prechat-modal__input,
    .live-support-prechat-modal__select,
    .live-support-prechat-modal__locked {
        min-height: 2.6rem;
        padding: 0.55rem 0.85rem;
    }

    .live-support-prechat-modal__raven {
        min-height: 0;
    }

    .live-support-prechat-modal__brand {
        height: 34px;
    }

    .live-support-prechat-modal__hero h2 {
        font-size: 1.35rem;
    }
}

/* ===== supportIce1: force marina ice (no gold) ===== */
.live-support-prechat-modal {
  --support-accent: #2ec7ff !important;
  --support-accent-dark: #1496e6 !important;
  --support-ink: #021018 !important;
}
.live-support-prechat-modal__link {
  color: #2ec7ff !important;
}
.live-support-prechat-modal__link:hover {
  color: #ffffff !important;
}
.live-support-prechat-modal__label .req {
  color: #2ec7ff !important;
}
.live-support-prechat-modal__submit,
button.live-support-prechat-modal__submit,
#live-support-prechat-submit {
  background: linear-gradient(145deg, #2ec7ff 0%, #1496e6 55%, #0b6fad 100%) !important;
  background-image: linear-gradient(145deg, #2ec7ff 0%, #1496e6 55%, #0b6fad 100%) !important;
  color: #021018 !important;
  -webkit-text-fill-color: #021018 !important;
  box-shadow: 0 10px 24px rgba(46, 199, 255, 0.34) !important;
  border: none !important;
}
.live-support-prechat-modal__submit .live-support-prechat-modal__submit-text {
  color: #021018 !important;
  -webkit-text-fill-color: #021018 !important;
}
.live-support-prechat-modal__brand {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(46, 199, 255, 0.35)) !important;
}
.live-support-prechat-modal__close {
  background: linear-gradient(145deg, #2ec7ff, #1496e6) !important;
  color: #021018 !important;
  border-color: rgba(46, 199, 255, 0.5) !important;
}
