/* TOTP-specific styles - extends auth.css */

.hidden {
    display: none !important;
}

.totp-setup-content {
    text-align: center;
}

#qrCodeView,
#manualEntryView {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.qr-code {
    width: 180px;
    height: 180px;
    display: block;
}

.toggle-view-link {
    background: none;
    border: none;
    color: #1a5490;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s ease;
}

.toggle-view-link:hover {
    color: #164673;
    text-decoration: underline;
}

.manual-entry {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.manual-entry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.manual-entry-header span {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.copy-icon-button {
    background: none;
    border: none;
    padding: 0.25rem;
    cursor: pointer;
    color: #6b7280;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-icon-button:hover {
    color: #1a5490;
    background: #e5e7eb;
}

.secret-key {
    display: block;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    font-size: 0.9rem;
    background: #1f2937;
    color: #10b981;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    letter-spacing: 0.1em;
    word-break: break-all;
    text-align: center;
}

/* Token input styling */
.token-input {
    text-align: center;
    font-size: 1.75rem;
    letter-spacing: 0.5em;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    padding: 1rem !important;
}

/* App recommendations */
.app-recommendations {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.app-recommendations span {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Warning box for reset */
.warning-box {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.warning-box p {
    font-size: 0.9rem;
    color: #92400e;
    margin: 0;
    line-height: 1.6;
}

.auth-button.danger {
    background: #dc2626;
}

.auth-button.danger:hover {
    background: #b91c1c;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .qr-code {
        width: 150px;
        height: 150px;
    }

    .secret-key {
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    .token-input {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }
}
