/* =========================================
   YOUNUS »ó´ã ¹®ÀÇ ¾Ë¸²
========================================= */

.younus-inquiry-toast {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 99999;

    display: flex;
    align-items: center;
    gap: 14px;

    width: min(390px, calc(100vw - 48px));
    min-height: 96px;
    padding: 17px 48px 17px 17px;

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;

    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.16),
        0 5px 18px rgba(15, 23, 42, 0.08);

    color: #111318;

    font-family:
        Pretendard,
        "Noto Sans KR",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(22px) scale(0.97);

    transition:
        opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.4s ease;

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.younus-inquiry-toast.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* ¿ÞÂÊ ¾ÆÀÌÄÜ */

.younus-inquiry-icon {
    position: relative;

    display: flex;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    overflow: hidden;

    border-radius: 16px;

    background:
        radial-gradient(
            circle at 30% 20%,
            rgba(255, 255, 255, 0.25),
            transparent 35%
        ),
        linear-gradient(145deg, #4f46e5, #6d5dfc);

    box-shadow:
        0 10px 25px rgba(79, 70, 229, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.younus-inquiry-icon::after {
    content: "";

    position: absolute;
    right: -7px;
    bottom: -7px;

    width: 26px;
    height: 26px;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
}

.younus-inquiry-icon span {
    position: relative;
    z-index: 1;

    color: #ffffff;

    font-size: 21px;
    font-weight: 850;
    letter-spacing: -1px;
}

/* ÅØ½ºÆ® ¿µ¿ª */

.younus-inquiry-content {
    min-width: 0;
    flex: 1;
}

.younus-inquiry-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    margin-bottom: 5px;

    color: #5b55d9;

    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.younus-inquiry-label::before {
    content: "";

    display: block;

    width: 6px;
    height: 6px;

    border-radius: 50%;
    background: #5e5ce6;

    box-shadow: 0 0 0 4px rgba(94, 92, 230, 0.1);
}

.younus-inquiry-message {
    margin: 0;

    color: #181a20;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;

    word-break: keep-all;
}

.younus-inquiry-name {
    color: #111318;
    font-weight: 780;
}

.younus-inquiry-time {
    margin-top: 5px;

    color: #9297a2;

    font-size: 12px;
    font-weight: 450;
    line-height: 1.3;
}

/* ´Ý±â ¹öÆ° */

.younus-inquiry-close {
    position: absolute;
    top: 10px;
    right: 11px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(239, 241, 245, 0.9);
    color: #747983;

    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.younus-inquiry-close:hover {
    color: #14161b;
    background: #e4e7ec;
    transform: scale(1.06);
}

.younus-inquiry-close:focus-visible {
    outline: 2px solid #5e5ce6;
    outline-offset: 2px;
}

/* ¸ð¹ÙÀÏ ¹ÝÀÀÇü */

@media (max-width: 767px) {
    .younus-inquiry-toast {
        left: 14px;
        right: 14px;
        bottom: 14px;

        width: auto;
        min-height: 86px;

        gap: 12px;

        padding: 14px 42px 14px 14px;

        border-radius: 16px;
    }

    .younus-inquiry-icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        border-radius: 14px;
    }

    .younus-inquiry-icon span {
        font-size: 18px;
    }

    .younus-inquiry-label {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .younus-inquiry-message {
        font-size: 13px;
    }

    .younus-inquiry-time {
        margin-top: 4px;
        font-size: 11px;
    }
}

/* È­¸é ³ôÀÌ°¡ ÀÛÀº ¸ð¹ÙÀÏ */

@media (max-width: 767px) and (max-height: 650px) {
    .younus-inquiry-toast {
        bottom: 10px;
    }
}

/* ¾Ö´Ï¸ÞÀÌ¼Ç ÃÖ¼ÒÈ­ ¼³Á¤ */

@media (prefers-reduced-motion: reduce) {
    .younus-inquiry-toast,
    .younus-inquiry-close {
        transition: none;
    }
}