body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f5f9;
}

h2 {
    color: #333;
    margin-bottom: 6px;
}

.subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 24px;
}

#restore-banner {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #856404;
    color: #fff8e1;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    margin: -1.5rem -1.5rem 1.5rem;
}

#restore-banner button {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    background: #fff8e1;
    color: #856404;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 20px;
}

.input-row {
    display: flex;
    gap: 8px;
    max-width: 420px;
}

.input-row input {
    flex: 1;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: border 0.2s;
}

.input-row input:focus {
    border-color: #5b9bd5;
    box-shadow: 0 0 0 2px rgba(91, 155, 213, 0.15);
}

.input-row button {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 600;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.status {
    margin-top: 20px;
    font-size: 14px;
    color: #888;
}

.status.error {
    color: #dc3545;
}

.user-card {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    max-width: 420px;
}

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

.username {
    font-weight: 600;
    font-size: 16px;
    color: #222;
}

.userid {
    font-size: 13px;
    color: #888;
    font-family: 'Courier New', monospace;
}

.login-btn {
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 7px;
    cursor: pointer;
}

.warning {
    margin-top: 10px;
    font-size: 13px;
    color: #856404;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 9px 12px;
    max-width: 420px;
}

.warning code {
    background: #ffefc4;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
}
