/* Auth overlay styles */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary, #0f1117);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-box {
    background: var(--bg-secondary, #131722);
    border: 1px solid var(--border, #252a3a);
    border-radius: 8px;
    padding: 32px;
    width: 320px;
    text-align: center;
}

.auth-box .logo {
    font-size: 20px;
    color: var(--text-primary, #d1d4dc);
    margin-bottom: 24px;
    display: block;
}

.auth-box .logo-icon {
    color: var(--accent, #2962ff);
}

.auth-box .auth-title {
    font-size: 13px;
    color: var(--text-secondary, #787b86);
    margin-bottom: 16px;
}

.auth-input {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary, #1c2030);
    border: 1px solid var(--border, #252a3a);
    color: var(--text-primary, #d1d4dc);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.auth-input:focus {
    border-color: var(--accent, #2962ff);
}

.auth-input.auth-error {
    border-color: var(--red, #ef5350);
    animation: shake 0.3s;
}

.auth-btn {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: var(--accent, #2962ff);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.auth-btn:hover {
    background: #3d7aff;
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-error-msg {
    color: var(--red, #ef5350);
    font-size: 11px;
    margin-top: 8px;
    min-height: 16px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
