/* Sigortanette V19.2 - popup ve Nette Asistan kurumsal görünüm düzeltmeleri */
.snx-assistant-panel header button,
.snx-popup-close {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #cfe4e9;
    border-radius: 13px;
    color: transparent;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 7px 18px rgba(10, 48, 73, .10);
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    outline: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.snx-assistant-panel header button::before,
.snx-assistant-panel header button::after,
.snx-popup-close::before,
.snx-popup-close::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: #173b58;
}

.snx-assistant-panel header button::before,
.snx-popup-close::before { transform: rotate(45deg); }

.snx-assistant-panel header button::after,
.snx-popup-close::after { transform: rotate(-45deg); }

.snx-assistant-panel header button:hover,
.snx-popup-close:hover {
    border-color: #75d3da;
    background: #effbfc;
    box-shadow: 0 10px 24px rgba(5, 126, 145, .15);
    transform: translateY(-1px);
}

.snx-assistant-panel header button:focus-visible,
.snx-popup-close:focus-visible,
.snx-assistant-form button:focus-visible,
.snx-actions a:focus-visible,
.snx-popup-copy a:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px rgba(8, 163, 178, .42);
}

.snx-actions {
    gap: 9px;
}

.snx-actions a {
    min-height: 52px;
    border-color: #d6e7eb;
    border-radius: 13px;
    color: #173b58 !important;
    background: #fff;
    box-shadow: 0 5px 15px rgba(15, 53, 78, .035);
    letter-spacing: -.01em;
    transition: border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.snx-actions a span {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    margin-left: 8px;
    border-radius: 8px;
    color: #078c9b;
    background: #eaf8fa;
    font-size: 14px;
}

.snx-actions a:hover {
    border-color: #7bd4db;
    color: #066f7c !important;
    background: #f4fbfc;
    box-shadow: 0 10px 22px rgba(6, 112, 128, .09);
    transform: translateY(-1px);
}

.snx-assistant-form button {
    cursor: pointer;
    outline: 0;
    box-shadow: 0 8px 18px rgba(3, 132, 150, .19);
    transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.snx-assistant-form button:hover {
    background: #067f8e;
    box-shadow: 0 11px 24px rgba(3, 116, 132, .25);
    transform: translateY(-1px);
}

.snx-popup {
    display: grid !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr) !important;
    grid-template-areas: "media copy" !important;
    direction: ltr !important;
    border-radius: 24px;
}

.snx-popup > div[data-snx-popup-media] {
    position: relative;
    grid-area: media !important;
    overflow: hidden;
    width: auto !important;
    min-width: 0 !important;
    min-height: 420px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #eef9fa, #dff2f5);
}

.snx-popup .snx-popup-copy {
    grid-area: copy !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.snx-popup .snx-popup-close {
    position: absolute !important;
    z-index: 10 !important;
    grid-area: unset !important;
    top: 15px !important;
    right: 15px !important;
    bottom: auto !important;
    left: auto !important;
}

.snx-popup img,
.snx-popup video {
    object-position: center;
}

.snx-popup-copy a {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 1px solid #078d9b;
    border-radius: 12px;
    background: linear-gradient(135deg, #0db3bf, #078996);
    box-shadow: 0 10px 24px rgba(6, 131, 147, .20);
    transition: box-shadow .2s ease, transform .2s ease;
}

.snx-popup-copy a:hover {
    box-shadow: 0 14px 30px rgba(6, 120, 136, .27);
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .snx-assistant-panel header button,
    .snx-popup-close {
        width: 40px;
        height: 40px;
    }

    .snx-popup {
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-areas:
            "media"
            "copy" !important;
        border-radius: 22px 22px 0 0;
    }

    .snx-popup > div[data-snx-popup-media] {
        min-height: 0 !important;
        height: min(44vh, 360px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snx-assistant-panel header button,
    .snx-popup-close,
    .snx-actions a,
    .snx-assistant-form button,
    .snx-popup-copy a {
        transition: none;
    }
}
