/* 2FA Setup Wizard Styles */

/* Wizard step indicators */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.wizard-step {
    display: flex;
    align-items: center;
    color: #999;
    padding: 0 15px;
    position: relative;
}

.wizard-step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #ddd;
    top: 50%;
    transform: translateY(-50%);
}

.wizard-step.active {
    color: #5d9cec;
    font-weight: 600;
}

.wizard-step.completed {
    color: #27c24c;
}

.wizard-step.completed .step-number {
    background: #27c24c;
    border-color: #27c24c;
}

.wizard-step.completed::after {
    background: #27c24c;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    margin-right: 8px;
    font-size: 14px;
    font-weight: 600;
}

.wizard-step.active .step-number {
    border-color: #5d9cec;
    background: #5d9cec;
    color: #fff;
}

/* QR Code */
.qr-code-img {
    max-width: 200px;
    height: auto;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    background: #fff;
}

/* 6-digit code input boxes */
.code-input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.code-digit {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.code-digit:focus {
    border-color: #5d9cec;
    box-shadow: 0 0 0 3px rgba(93, 156, 236, 0.2);
    outline: none;
}

.code-separator {
    font-size: 24px;
    color: #999;
    margin: 0 4px;
}

/* Backup codes grid */
.backup-codes-grid {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.backup-codes-list {
    margin: 0;
    padding: 0;
}

.backup-codes-list li {
    padding: 8px 0;
}

.backup-code {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: inline-block;
    min-width: 140px;
    text-align: center;
}

.backup-actions {
    margin-top: 20px;
}

.backup-actions .btn {
    margin: 0 5px;
}

/* Modal size adjustment for large dialog */
.ngdialog-theme-large .ngdialog-content {
    width: 650px;
    max-width: 95%;
}

/* Text utilities */
.text-monospace {
    font-family: 'Consolas', 'Monaco', monospace;
    letter-spacing: 1px;
}

/* Spacing utilities */
.mb0 { margin-bottom: 0; }
.mt { margin-top: 15px; }
.mb { margin-bottom: 15px; }
.mt-lg { margin-top: 25px; }
.mb-lg { margin-bottom: 25px; }
.mr-sm { margin-right: 8px; }
.ml-sm { margin-left: 8px; }
.p-lg { padding: 30px; }
.pl-lg { padding-left: 25px; }

/* Print styles */
@media print {
    .backup-codes-grid {
        background: transparent;
        border: 1px solid #333;
    }

    .backup-code {
        font-size: 14pt;
        border: 1px solid #333;
    }

    .backup-actions,
    .ngdialog-buttons {
        display: none !important;
    }
}

/* Verification input styling */
.verification-input {
    font-family: 'Consolas', 'Monaco', monospace;
}
