@charset "utf-8";

/* =========================================
   1. MFA Container & Header
   ========================================= */
.mfa-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

.mfa-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

/* =========================================
   2. QR Code & Secret Section
   ========================================= */
.qr-image,
.qr-secret {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    width: fit-content;
}

.qr-image img {
    display: block;
    margin: 0 auto;
}

.qr-secret {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    color: #555;
}

/* Secret Copy UI */
#mfa-secret {
    text-align: left;
    word-break: break-word;
    flex: 1;
    margin-right: 10px;
}

#copy-secret {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(208, 231, 255, 0.6);
    color: #0056b3;
    border: 1px solid rgba(176, 212, 244, 0.6);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0.8;
}

#copy-secret:hover {
    background-color: rgba(208, 231, 255, 1);
    border-color: rgba(176, 212, 244, 1);
    color: #003f82;
    opacity: 1;
}

/* =========================================
   3. Timer & Progress
   ========================================= */
.mfa-timer {
    font-size: 13px;
    margin-top: 10px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#time-left {
    text-align: right;
    font-weight: 600;
    color: #00A9E0;
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    border-radius: 4px;
    height: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 100%;
    background-color: #0056b3;
    border-radius: 4px;
    transition: width 1s linear;
}

/* =========================================
   4. Extra Controls (Resend, Info)
   ========================================= */
.resend-button {
    width: 100%;
    padding: 10px;
    background-color: #6c757d;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.resend-button:hover {
    background-color: #5a6268;
}

.login-link {
    font-size: 13px;
    color: #0056b3;
}

.login-link:hover {
    text-decoration: underline !important;
}

/* 정보 표시 박스 (Info Container) */
.info-container {
    display: flex;
    flex-direction: column;
    padding: 0px 12px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.info-item {
    display: flex;
    align-items: center;
}

.info-label {
    text-align-last: end;
    font-size: 14px;
    color: #888;
    min-width: 80px;
    font-weight: 500;
}

.info-value {
    font-size: 18px;
    font-weight: bold;
    color: #4A4A4A;
    margin-left: 16px;
    word-break: break-all;
}