/* ========================================
   POPUP CONTENT STYLES
   Централизованные стили для контента popup
   ======================================== */

/* === CSS VARIABLES === */
:root {
    --popup-font: 'Manrope', sans-serif;
    --popup-text: rgba(255, 255, 255, 0.78);
    --popup-text-white: white;
    --popup-text-muted: #A8B2BD;
    --popup-text-hint: #B7B7BB;
    --popup-link: #296087;
    --popup-success: #25E66C;
    --popup-danger: #F44747;
    --popup-field-bg: #1A232B;
    --popup-field-border: #2B2F3B;
    --popup-glass-bg: rgba(90, 90, 103, 0.2);
    --popup-glass-hover: rgba(90, 90, 103, 0.35);
    --popup-border-top: rgba(255, 255, 255, 0.1);
    --popup-border-bottom: rgba(255, 255, 255, 0.05);
    --popup-tooltip-bg: linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
                        linear-gradient(0deg, rgba(24, 32, 39, 0.9), rgba(24, 32, 39, 0.9));
    --popup-tooltip-border: rgba(41, 96, 135, 0.4);
}

/* === TYPOGRAPHY === */

.popup-title,
.popup-content-wrapper h2 {
    font-family: var(--popup-font);
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--popup-text-white);
    margin: 0;
    padding-right: 50px;
}

.popup-section-title {
    font-family: var(--popup-font);
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    color: var(--popup-text-white);
    margin: 0;
}

.popup-description,
.info-value,
.tfa-setup-hint,
.field-value-only {
    font-family: var(--popup-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--popup-text);
    margin: 0;
}

.popup-field label,
.info-label,
.field-label {
    font-family: var(--popup-font);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--popup-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* === BASE LAYOUT === */

.popup-content-wrapper,
.verify-popup-content,
.confirm-details-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.verify-popup-content,
.confirm-details-content {
    gap: 24px;
}

/* === LINKS === */

.popup-link,
.chk a {
    color: var(--popup-link);
    text-decoration: none;
}

.popup-link:hover,
.chk a:hover {
    text-decoration: underline;
}

/* === ACTIONS === */

.popup-actions-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.popup-actions-between {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
}

.popup-actions-center {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.popup-header-with-btn {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.popup-header-with-btn .popup-title {
    padding-right: 0;
}

/* === FORM ELEMENTS === */

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-field {
    position: relative;
    border-radius: 20px;
    background: var(--popup-field-bg);
    border: 1px solid var(--popup-field-border);
}

.popup-field label {
    position: absolute;
    left: 20px;
    top: 10px;
}

.popup-field input {
    width: 100%;
    height: 54px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--popup-text-white);
    padding: 22px 18px 6px;
    font-family: var(--popup-font);
    font-size: 16px;
    font-weight: 400;
    box-sizing: border-box;
}

.popup-field input::placeholder {
    color: #5A5A67;
}

/* === INFO GRID === */

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-value {
    color: var(--popup-text-white);
}

/* === BUTTONS === */

.btn-glass {
    background: var(--popup-glass-bg);
    color: var(--popup-text-white);
    border-top: solid 1px var(--popup-border-top);
    border-bottom: solid 1px var(--popup-border-bottom);
    backdrop-filter: blur(6px);
}

.btn-glass:hover {
    background: var(--popup-glass-hover);
    border-top-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.btn-logout-confirm {
    background: rgba(244, 71, 71, 0.2);
    color: var(--popup-danger);
    border-top: solid 1px var(--popup-border-top);
    border-bottom: solid 1px var(--popup-border-bottom);
    backdrop-filter: blur(6px);
    min-width: 120px;
}

.btn-logout-confirm:hover {
    background: rgba(244, 71, 71, 0.35);
    border-top-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Disabled state */
.modal button:disabled,
.modal .btn:disabled,
.popup-form button:disabled,
.js-do-auth button:disabled,
.auth-form button:disabled {
    background: var(--popup-glass-bg) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    cursor: not-allowed !important;
    border-radius: 100px;
    border: none !important;
    border-top: solid 1px var(--popup-border-top) !important;
    border-bottom: solid 1px var(--popup-border-bottom) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: none;
}

.modal button:disabled:hover,
.modal .btn:disabled:hover,
.popup-form button:disabled:hover,
.js-do-auth button:disabled:hover,
.auth-form button:disabled:hover {
    transform: none !important;
    background: var(--popup-glass-bg) !important;
}

/* === CHECKBOX === */

.chk {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--popup-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--popup-text);
    cursor: pointer;
}

.chk input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    flex-shrink: 0;
    border: 1.5px solid #FFFFFF;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.chk input[type="checkbox"]:checked {
    background: var(--popup-link);
    border-color: var(--popup-link);
}

.chk input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* === TOOLTIPS (UNIVERSAL) === */

/* БАЗОВЫЙ КЛАСС ДЛЯ ВСЕХ TOOLTIP */
/* Определяет только цвета, шрифты и логику показа/скрытия */
.tooltip-base,
.help-tooltip,
.modal-help-tooltip,
.header-help-tooltip,
.coming-soon-tooltip {
    /* Цвета и фон */
    background: var(--popup-tooltip-bg);
    border: 1px solid var(--popup-tooltip-border);
    backdrop-filter: blur(10px);
    color: white;
    
    /* Шрифты */
    font-family: var(--popup-font);
    font-weight: 400;
    
    /* Логика показа/скрытия */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    
    /* Базовые свойства */
    z-index: 10000;
    pointer-events: none;
    box-sizing: border-box;
    position: absolute;
}

/* УНИВЕРСАЛЬНЫЙ TOOLTIP (для обратной совместимости) */
.help-tooltip {
    /* Размеры и позиционирование */
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 280px;
    
    /* Текст */
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    white-space: normal;
}

.help-icon:hover + .help-tooltip,
.help-tooltip:hover {
    opacity: 1;
    visibility: visible;
}

/* === COPYABLE FIELDS === */

.copyable-field {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.copyable-text {
    flex: 1;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(41, 96, 135, 0.2);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(41, 96, 135, 0.4);
    color: var(--popup-text-white);
    transform: translateY(-1px);
}

.copy-btn:active {
    transform: translateY(0);
}

.copy-btn svg {
    width: 14px;
    height: 14px;
}

.copy-btn.copied {
    background: rgba(37, 230, 108, 0.2);
    color: var(--popup-success);
}

.copy-btn.copied::after {
    content: '✓';
    position: absolute;
    font-size: 12px;
    font-weight: bold;
}

.copy-btn.copied svg {
    opacity: 0;
}

/* === VALIDATION MESSAGES === */

.wallet-validation-message {
    margin-top: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--popup-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: all 0.3s ease;
}

.wallet-validation-message.error {
    background: rgba(244, 71, 71, 0.1);
    border: 1px solid rgba(244, 71, 71, 0.2);
    color: var(--popup-danger);
}

.wallet-validation-message.success {
    background: rgba(37, 230, 108, 0.1);
    border: 1px solid rgba(37, 230, 108, 0.2);
    color: var(--popup-success);
}

.wallet-validation-message.info {
    background: rgba(41, 96, 135, 0.1);
    border: 1px solid rgba(41, 96, 135, 0.2);
    color: var(--popup-link);
}

.wallet-validation-message::before {
    content: '';
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.wallet-validation-message.error::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.33334C4.32 1.33334 1.33333 4.32001 1.33333 8.00001C1.33333 11.68 4.32 14.6667 8 14.6667C11.68 14.6667 14.6667 11.68 14.6667 8.00001C14.6667 4.32001 11.68 1.33334 8 1.33334ZM10.6667 10.6667L8 8.00001L5.33333 10.6667L5.33333 5.33334L8 8.00001L10.6667 5.33334V10.6667Z' fill='%23F44747'/%3E%3C/svg%3E");
}

.wallet-validation-message.success::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.33334C4.32 1.33334 1.33333 4.32001 1.33333 8.00001C1.33333 11.68 4.32 14.6667 8 14.6667C11.68 14.6667 14.6667 11.68 14.6667 8.00001C14.6667 4.32001 11.68 1.33334 8 1.33334ZM6.66667 11.3333L3.33333 8.00001L4.27333 7.06001L6.66667 9.44668L11.7267 4.38668L12.6667 5.33334L6.66667 11.3333Z' fill='%2325E66C'/%3E%3C/svg%3E");
}

.wallet-validation-message.info::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1.33334C4.32 1.33334 1.33333 4.32001 1.33333 8.00001C1.33333 11.68 4.32 14.6667 8 14.6667C11.68 14.6667 14.6667 11.68 14.6667 8.00001C14.6667 4.32001 11.68 1.33334 8 1.33334ZM8.66667 11.3333H7.33333V7.33334H8.66667V11.3333ZM8.66667 6.00001H7.33333V4.66668H8.66667V6.00001Z' fill='%23296087'/%3E%3C/svg%3E");
}

.wallet-validation-message.show {
    animation: slideInValidation 0.3s ease-out;
}

@keyframes slideInValidation {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.popup-field.has-validation input {
    padding-bottom: 6px;
}

.popup-field.validation-error {
    border-color: rgba(244, 71, 71, 0.4);
    background: rgba(244, 71, 71, 0.05);
}

.popup-field.validation-success {
    border-color: rgba(37, 230, 108, 0.4);
    background: rgba(37, 230, 108, 0.05);
}

/* === 2FA SPECIFIC === */

.tfa-setup-qr img {
    width: 302px;
    height: 302px;
    border-radius: 20px;
    display: block;
    padding: 16px;
    background-color: white;
    box-sizing: content-box;
}

.tfa-setup-secret {
    font-family: var(--popup-font);
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: var(--popup-text-white);
    letter-spacing: 2px;
}

.tfa-setup-hint {
    color: var(--popup-text-hint);
}

.tfa-setup-form .popup-field input {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 8px;
}

/* === EXCHANGE SPECIFIC === */

.exchange-wallet-display {
    margin-bottom: 8px;
}

.exchange-wallet-display .field-label {
    position: relative; /* Добавляем для правильного позиционирования tooltip */
    margin-bottom: 6px;
}

.exchange-wallet-display .field-value-only {
    border-radius: 20px;
    background: var(--popup-field-bg);
    border: 1px solid var(--popup-field-border);
    padding: 15px 20px;
    color: var(--popup-text-white);
    word-break: break-all;
}

.currency-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.currency-icon-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.exchange-instructions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--popup-border-top);
}

.exchange-instructions .popup-description {
    font-size: 14px;
    line-height: 20px;
    color: var(--popup-text);
    margin: 0;
}

/* Исправление tooltip для exchange формы */
.exchange-wallet-display .field-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.exchange-wallet-display .help-icon-wrapper {
    position: relative;
    display: inline-block;
}

.exchange-wallet-display .help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.5);
    cursor: default; /* Убрали cursor: help */
    transition: color 0.2s ease;
    vertical-align: middle;
}

.exchange-wallet-display .help-icon:hover {
    color: rgba(255, 255, 255, 0.8);
}

.exchange-wallet-display .help-icon svg {
    width: 16px;
    height: 16px;
}

/* МОДАЛЬНЫЙ TOOLTIP (для exchange формы) */
.exchange-wallet-display .modal-help-tooltip {
    /* Размеры и позиционирование (уникальные) */
    top: calc(100% + 8px); /* Ниже иконки + отступ */
    left: 50%;
    max-width: 400px;
    min-width: 200px;
    width: max-content;
    padding: 16px 20px;
    border-radius: 16px;
    
    /* Текст (уникальные) */
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.exchange-wallet-display .help-icon-wrapper:hover .modal-help-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    /* Typography */
    .popup-title,
    .popup-content-wrapper h2 {
        font-size: 28px;
        line-height: 36px;
        padding-right: 40px;
    }
    
    .popup-section-title {
        font-size: 22px;
        line-height: 30px;
    }
    
    .popup-description,
    .info-value,
    .tfa-setup-hint,
    .field-value-only {
        font-size: 15px;
        line-height: 22px;
    }
    
    /* Form elements */
    .popup-field input {
        font-size: 15px;
        height: 52px;
        padding: 22px 16px 6px;
    }
    
    .popup-field label,
    .info-label,
    .field-label {
        font-size: 11px;
        line-height: 15px;
        left: 16px;
    }
    
    /* Info grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    /* Actions */
    .popup-actions-between {
        gap: 10px;
    }
    
    /* Buttons */
    .btn {
        min-width: 100px;
        padding: 10px 20px;
        font-size: 15px;
    }
    
    /* Copyable fields */
    .copyable-field {
        gap: 8px;
    }
    
    .copy-btn {
        width: 26px;
        height: 26px;
    }
    
    .copy-btn svg {
        width: 13px;
        height: 13px;
    }
    
    /* Tooltips */
    .help-tooltip {
        max-width: 260px;
        font-size: 12px;
        line-height: 17px;
        padding: 7px 11px;
    }
    
    .exchange-wallet-display .modal-help-tooltip {
        max-width: 320px;
        min-width: 200px;
        font-size: 13px;
        line-height: 19px;
        padding: 14px 18px;
        border-radius: 14px;
    }
    
    /* Validation messages */
    .wallet-validation-message {
        font-size: 13px;
        line-height: 19px;
        padding: 11px 15px;
    }
    
    .wallet-validation-message::before {
        width: 15px;
        height: 15px;
    }
    
    /* 2FA specific */
    .tfa-setup-qr img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }
    
    .tfa-setup-secret {
        font-size: 16px;
        letter-spacing: 1.5px;
        word-break: break-all;
    }
    
    .tfa-setup-form .popup-field input {
        font-size: 17px;
        letter-spacing: 6px;
    }
    
    /* Exchange specific */
    .exchange-instructions .popup-description {
        font-size: 14px;
        line-height: 20px;
    }
    
    .exchange-wallet-display .field-value-only {
        padding: 14px 18px;
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Checkbox */
    .chk {
        font-size: 13px;
        line-height: 19px;
        gap: 10px;
    }
    
    .chk input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
    
    .chk input[type="checkbox"]:checked::after {
        left: 4px;
        top: 1px;
        width: 5px;
        height: 8px;
    }
}

@media (max-width: 520px) {
    /* Typography */
    .popup-title,
    .popup-content-wrapper h2 {
        font-size: 24px;
        line-height: 32px;
        padding-right: 36px;
    }
    
    .popup-section-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .popup-description,
    .info-value,
    .tfa-setup-hint,
    .field-value-only {
        font-size: 14px;
        line-height: 20px;
    }
    
    /* Layout */
    .popup-content-wrapper,
    .verify-popup-content,
    .confirm-details-content {
        gap: 18px;
    }
    
    .verify-popup-content,
    .confirm-details-content {
        gap: 20px;
    }
    
    /* Form elements */
    .popup-form {
        gap: 14px;
    }
    
    .popup-field {
        border-radius: 18px;
    }
    
    .popup-field input {
        font-size: 14px;
        height: 50px;
        padding: 20px 14px 6px;
    }
    
    .popup-field label,
    .info-label,
    .field-label {
        font-size: 11px;
        line-height: 14px;
        left: 14px;
        top: 9px;
    }
    
    /* Info grid */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-item {
        gap: 5px;
    }
    
    /* Actions */
    .popup-actions-between {
        flex-direction: column;
        gap: 10px;
    }
    
    .popup-actions-between .btn {
        width: 100%;
        text-align: center;
    }
    
    .popup-actions-right .btn,
    .popup-actions-center .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Buttons */
    .btn {
        min-width: auto;
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* Copyable fields */
    .copyable-field {
        gap: 6px;
    }
    
    .copy-btn {
        width: 24px;
        height: 24px;
    }
    
    .copy-btn svg {
        width: 12px;
        height: 12px;
    }
    
    /* Tooltips */
    .help-tooltip {
        max-width: 240px;
        font-size: 11px;
        line-height: 16px;
        padding: 6px 10px;
        border-radius: 6px;
    }
    
    .exchange-wallet-display .modal-help-tooltip {
        max-width: 280px;
        min-width: 180px;
        font-size: 12px;
        line-height: 18px;
        padding: 12px 16px;
        border-radius: 12px;
        /* Позиционирование для маленьких экранов - сдвигаем вправо */
        left: auto;
        right: -200px; /* Сдвигаем вправо на половину */
        transform: none;
    }
    
    /* Validation messages */
    .wallet-validation-message {
        font-size: 12px;
        line-height: 18px;
        padding: 10px 14px;
        border-radius: 10px;
    }
    
    .wallet-validation-message::before {
        width: 14px;
        height: 14px;
    }
    
    /* 2FA specific */
    .tfa-setup-qr img {
        width: 100%;
        max-width: 260px;
        height: auto;
        padding: 12px;
        border-radius: 16px;
    }
    
    .tfa-setup-secret {
        font-size: 14px;
        letter-spacing: 1px;
        word-break: break-all;
        line-height: 22px;
    }
    
    .tfa-setup-form .popup-field input {
        font-size: 16px;
        letter-spacing: 5px;
    }
    
    /* Exchange specific */
    .exchange-instructions {
        margin-top: 20px;
        padding-top: 18px;
    }
    
    .exchange-instructions .popup-description {
        font-size: 13px;
        line-height: 19px;
    }
    
    .exchange-wallet-display {
        margin-bottom: 6px;
    }
    
    .exchange-wallet-display .field-label {
        margin-bottom: 5px;
    }
    
    .exchange-wallet-display .field-value-only {
        padding: 12px 16px;
        font-size: 13px;
        border-radius: 16px;
        word-break: break-word;
        overflow-wrap: break-word;
        line-height: 20px;
    }
    
    .currency-icon-small {
        width: 18px;
        height: 18px;
    }
    
    /* Checkbox */
    .chk {
        font-size: 12px;
        line-height: 18px;
        gap: 10px;
    }
    
    .chk input[type="checkbox"] {
        width: 17px;
        height: 17px;
        margin-top: 1px;
    }
    
    .chk input[type="checkbox"]:checked::after {
        left: 4px;
        top: 1px;
        width: 4px;
        height: 8px;
        border-width: 0 1.5px 1.5px 0;
    }
    
    /* Header with button */
    .popup-header-with-btn:not(.exchange-header-row) {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    
    .popup-header-with-btn .popup-title {
        padding-right: 0;
    }
    
    .popup-header-with-btn .btn {
        width: 100%;
    }
    
    /* Exchange header - остается горизонтальным */
    .popup-header-with-btn.exchange-header-row {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .popup-header-with-btn.exchange-header-row .popup-title {
        font-size: 20px;
        line-height: 28px;
        padding-right: 0;
    }
    
    .popup-header-with-btn.exchange-header-row .btn {
        width: auto;
        white-space: nowrap;
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    /* Extra small screens */
    .popup-title,
    .popup-content-wrapper h2 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .popup-section-title {
        font-size: 18px;
        line-height: 26px;
    }
    
    .popup-description,
    .info-value,
    .field-value-only {
        font-size: 13px;
        line-height: 19px;
    }
    
    .popup-field input {
        font-size: 13px;
        height: 48px;
    }
    
    .btn {
        padding: 9px 16px;
        font-size: 13px;
    }
    
    .tfa-setup-qr img {
        max-width: 240px;
        padding: 10px;
    }
    
    .tfa-setup-secret {
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .exchange-wallet-display .field-value-only {
        font-size: 12px;
        padding: 10px 14px;
    }
    
    .chk {
        font-size: 11px;
        line-height: 17px;
    }
}