﻿.mfa-setup-modal {
    width: 520px;
}

.mfa-setup-body {
    padding: 0 35px 25px;
    overflow-y: auto;
}

.mfa-step {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
    text-align: left;
}

.mfa-step-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #111827;
}

.mfa-step-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.6;
}

.mfa-qr-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px;
    background: white;
    border-radius: 20px;
    border: 1px solid #edf0f5;
    margin: 20px 0;
}

    .mfa-qr-wrapper img {
        width: 180px;
        height: 180px;
        object-fit: contain;
    }

.mfa-secret-box {
    background: #111827;
    color: white;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    letter-spacing: 1px;
    word-break: break-all;
    margin-top: 12px;
    position: relative;
}

.mfa-copy-btn {
    margin-top: 10px;
    width: 100%;
    border: none;
    background: #2563eb;
    color: white;
    height: 42px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .mfa-copy-btn:hover {
        background: #1d4ed8;
    }

.mfa-otp-input {
    width: 100%;
    height: 56px;
    border: 1px solid #dce1ea;
    border-radius: 16px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 10px;
}

/* =========================
   TOTP SETUP MODAL
========================= */

.otp-modal.totp-modal {
    width: 520px;
}

/* BODY */
.totp-modal .otp-modal-body {
    padding-top: 5px;
}

/* QR */
.totp-qr-wrapper {
    width: 190px;
    height: 190px;
    margin: 0 auto 24px;
    padding: 14px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid #edf1f7;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.totp-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/* SECRET */
.totp-secret-wrapper {
    margin-bottom: 24px;
}

.totp-secret-label {
    font-size: 12px;
    font-weight: 700;
    color: #7b8190;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.totp-secret {
    background: #f8fafc;
    border: 1px dashed #cfd8e3;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2b3445;
    word-break: break-all;
    line-height: 1.7;
}

/* INPUT */
.totp-modal .otp-input {
    width: 260px;
    margin: auto;
    display: block;
}

/* DESCRIPTION */
.totp-modal .otp-description {
    max-width: 360px;
    margin: auto;
}

/* MOBILE */
@media (max-width: 480px) {

    .otp-modal.totp-modal {
        width: 100%;
    }

    .totp-qr-wrapper {
        width: 160px;
        height: 160px;
        padding: 12px;
        margin-bottom: 20px;
    }

    .totp-secret {
        font-size: 13px;
        letter-spacing: 1px;
        padding: 12px;
    }

    .totp-modal .otp-input {
        width: 100%;
        letter-spacing: 10px;
    }
}

@media (max-width: 480px) {

    .mfa-setup-modal {
        width: 100%;
    }

    .mfa-qr-wrapper img {
        width: 150px;
        height: 150px;
    }

    .mfa-secret-box {
        font-size: 12px;
    }
}
