.account-container {
    max-width: 460px;
    margin: 80px auto;
    padding: 0 20px;
    font-family: 'Noto Sans KR', sans-serif;
}

.account-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 480px;
    overflow: hidden;
}

/* ── Panel fade transition ── */
.account-panels {
    position: relative;
}

.account-panel {
    width: 100%;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    opacity: 1;
    visibility: visible;
}

.account-panel.panel-hidden {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ── Back button ── */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    transition: color 0.15s;
}

.btn-back:hover { color: #3660F0; }

.btn-back svg {
    flex-shrink: 0;
}

/* ── Forms ── */
.account-tabs {
    display: flex;
    border-radius: 8px;
    padding: 5px;
    gap: 8px;
}

.form-group { margin-bottom: 24px; position: relative; }
.form-label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: #333; }
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dadada;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-input:focus { border-color: #3660F0; outline: none; }

.btn-primary {
    width: 100%;
    padding: 16px;
    background: #3660F0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.btn-primary:hover { background: #2a4fd4; }
.btn-primary:disabled { background: #e0e0e0; cursor: not-allowed; }

.btn-outline {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #3660F0;
    color: #3660F0;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-outline:hover { background: #f0f3ff; }

.auth-timer {
    position: absolute;
    right: 110px;
    top: 41px;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 500;
}

.result-box {
    background: #f1f3f5;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    margin: 25px 0;
}

/* ── ID result list ── */
.id-result-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 24px;
}

.id-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    transition: border-color 0.15s, background 0.15s;
    animation: fadeSlideIn 0.25s ease both;
}

.id-result-item:hover {
    border-color: #3660F0;
    background: #f0f3ff;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.id-result-item:nth-child(1) { animation-delay: 0.04s; }
.id-result-item:nth-child(2) { animation-delay: 0.08s; }
.id-result-item:nth-child(3) { animation-delay: 0.12s; }
.id-result-item:nth-child(4) { animation-delay: 0.16s; }
.id-result-item:nth-child(5) { animation-delay: 0.20s; }

.id-result-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.id-result-id {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.id-result-comp {
    font-size: 12px;
    color: #888;
}

.id-result-action {
    font-size: 12px;
    color: #3660F0;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.15s;
}

.id-result-action:hover { background: #e0e8ff; }

.readonlyClass { background: #f1f1f1; }
.readonlyClass:focus { outline: #f1f1f1; }

/* ── Result header ── */
.result-header {
    margin-bottom: 6px;
}

.result-header p {
    margin: 0 0 6px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.result-header strong {
    font-size: 17px;
    color: #222;
}
