/* /Components/Admin/AdminMail.razor.rz.scp.css */
/* 메일함(2026-10-22). 한 줄 카드 목록 — 넓은 화면은 보낸 사람 · 시각 · 제목이 한 줄, 좁은 화면은 두 줄로 접힌다. */
.mail-list[b-d30coif705] { list-style: none; margin: 0; padding: 0; }
.mail-row[b-d30coif705] {
    display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; grid-template-areas: "from subj when";
    gap: 4px 14px; align-items: center; width: 100%; text-align: left; padding: 11px 16px;
    background: none; border: 0; border-bottom: 1px solid var(--line-soft); color: var(--text-2); cursor: pointer; font: inherit;
}
.mail-row:hover[b-d30coif705] { background: var(--row-hover); }
.mail-row.is-unread[b-d30coif705] { color: var(--text); font-weight: 700; }
.mail-row.is-unread .mail-from[b-d30coif705]::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.mail-from[b-d30coif705] { grid-area: from; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-subj[b-d30coif705] { grid-area: subj; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-when[b-d30coif705] { grid-area: when; font-size: 12px; color: var(--text-3); font-weight: 400; }
.mail-subj .chip[b-d30coif705] { margin-right: 6px; }

.mail-read[b-d30coif705] { padding: 14px 16px 18px; }
.mail-subject[b-d30coif705] { font-size: 17px; margin: 12px 0 10px; word-break: break-word; }
.mail-meta[b-d30coif705] { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 4px 10px; margin: 0 0 12px; font-size: 13px; }
.mail-meta dt[b-d30coif705] { color: var(--text-3); }
.mail-meta dd[b-d30coif705] { margin: 0; word-break: break-all; }
.mail-atts[b-d30coif705] { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.mail-body[b-d30coif705] {
    white-space: pre-wrap; word-break: break-word; font-family: inherit; font-size: 14px; line-height: 1.65;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-2); padding: 14px; margin: 0 0 12px;
    max-height: 60vh; overflow: auto;
}
.mail-actions[b-d30coif705] { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 760px) {
    .mail-row[b-d30coif705] { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "from when" "subj subj"; padding: 10px 12px; }
    .mail-read[b-d30coif705] { padding: 12px; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-re5w4hvbm0],
.components-reconnect-repeated-attempt-visible[b-re5w4hvbm0],
.components-reconnect-failed-visible[b-re5w4hvbm0],
.components-pause-visible[b-re5w4hvbm0],
.components-resume-failed-visible[b-re5w4hvbm0],
.components-rejoining-animation[b-re5w4hvbm0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-retrying[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-failed[b-re5w4hvbm0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-re5w4hvbm0] {
    display: block;
}


#components-reconnect-modal[b-re5w4hvbm0] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-re5w4hvbm0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-re5w4hvbm0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-re5w4hvbm0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-re5w4hvbm0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-re5w4hvbm0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-re5w4hvbm0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-re5w4hvbm0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-re5w4hvbm0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-re5w4hvbm0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-re5w4hvbm0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-re5w4hvbm0] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-re5w4hvbm0] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-re5w4hvbm0] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-re5w4hvbm0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-re5w4hvbm0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-re5w4hvbm0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-re5w4hvbm0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-re5w4hvbm0 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
