﻿.item-list {
    list-style: none;
    padding-inline-start: 0;
}

.item-row {
    list-style: none;
    margin-bottom: 14px;
}

.item-content {
    flex: 1;
}

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

.pill-text {
    display: inline-block;
    padding: 4px 12px;
    margin-right: 10px;
    border-radius: 8px;
    background-color: #F9F9F9;
    color: #555;
    font-size: 16px;
    white-space: nowrap;
    font-weight: 700;
}

.item-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.item-description {
    margin-top: 4px;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .badge-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .badge-left {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.badge-box {
    display: flex;
    max-width: 500px;
    align-items: flex-start;
}

    .badge-box a {
        display: inline-flex;
    }

    .badge-box img {
        display: block;
        margin-top: 12px;
        height: 50px;
    }

.badge-left {
    flex: 0 0 auto;
    margin-right: 16px;
}

.badge-right {
    flex: 0 0 auto;
}

.instruction-container {
    border-radius: 8px;
    padding: 12px;
    background-color: #F9F9F9;
    margin-top: 12px;
}

    .instruction-container::after {
        content: "";
        display: block;
        clear: both;
    }

.qr-box {
    display: flex;
    max-width: 500px;
    align-items: flex-start;
}

.qr-left {
    flex: 0 0 auto;
    margin-right: 16px;
}

@media (max-width: 480px) {
    .qr-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .qr-left {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .qr-code-holder {
        width: 100%;
    }
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.qr-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.qr-question {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.qr-code-holder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    position: relative;
}

.qr-code-input {
    width: 100%;
    margin-bottom: 2px;
    font-family: Asap;
    font-weight: normal;
    color: black;
    background-color: white;
    border-style: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border-radius: 4px;
    outline: none;
}

    .qr-code-input:focus {
        box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
    }

.qr-copy {
    font-size: 13px;
    color: #337ab7;
    text-decoration: none;
    cursor: pointer;
    align-self: flex-end; /* right-align under the input */
}

    .qr-copy:hover {
        text-decoration: underline;
    }

.btn-copy {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(-180deg, #3FBBD3 0%, #00ACC7 100%);
    border: none;
    border-radius: 13px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.btn-mfa-verify {
    min-height: 40px;
    background: linear-gradient(-180deg,#3FBBD3 0,#00ACC7 100%);
    color: white;
    white-space: inherit;
    border-radius: 20px;
    padding: 10px 25px;
    border-color: #00ACC7;
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    float: right;
}

@media (max-width: 1200px) {
    .btn-mfa-verify {
        width: 100%;
        float: none;
    }
}

.totp-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.totp-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    font-size: 16px;
    letter-spacing: 0.5em;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    color: transparent;
    caret-color: transparent;
    z-index: 10;
}

.otp-group {
    display: flex;
    flex-direction: column;
}

.totp-slots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.totp-slot {
    width: 17%;
    max-width: 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: white;
    transition: all 0.2s ease;
    position: relative;
    cursor: text;
    text-align: center;
    font-family: Asap;
    font-weight: normal;
    color: black;
    background-color: white;
    border-style: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    border-radius: 4px;
    outline: none;
}

@media (max-width: 1200px) {
    .totp-slot {
        width: 32px;
        height: 36px;
    }
}

.totp-slot.active {
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

.totp-slot:focus-visible {
    outline: 1px solid #115475;
    box-shadow: 0 0 8px rgba(102, 175, 233, 0.6);
}

    .totp-slot.filled {
        border-color: #005983;
        background-color: #f0fdf4;
    }

input.totp-slot[type=number] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input.totp-slot::-webkit-outer-spin-button,
input.totp-slot::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.alert-danger.mfa-validation {
    background-color: transparent;
}

.hyphen {
    hyphens: auto;
}