﻿
.ofac-file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 25px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    background: #fff;
    line-height: 1;
    white-space: nowrap;
}

.ofac-file-btn i {
    font-size: 15px;
}

.ofac-pdf-btn {
    color: #dc3545;
    border: 1px solid #dc3545;
}

    .ofac-pdf-btn:hover {
        color: #fff;
        background: #dc3545;
    }

.ofac-html-btn {
    color: #0d6efd;
    border: 1px solid #0d6efd;
}

    .ofac-html-btn:hover {
        color: #fff;
        background: #0d6efd;
    }

.html-code-icon {
    font-size: 12px;
    font-weight: 700;
    font-family: Consolas, monospace;
}


@media (max-width: 768px) {
    .custom-captcha-box, .custom-captcha-challenge {
        min-height: auto !important;
    }

    .captcha-answer-row {
        align-items: stretch;
    }
    .hide-mobile {
        display: none;
    }
    .otp-modal {
        padding: 32px 18px 22px;
    }

    .otp-title {
        font-size: 24px;
    }

    .otp-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .otp-inputs {
        gap: 16px;
        margin-bottom: 30px;
    }

    .otp-box {
        width: 40px;
        height: 44px;
        font-size: 22px;
    }

    .otp-btn {
        height: 54px;
        font-size: 18px;
        border-radius: 18px;
    }

    .otp-close {
        font-size: 34px;
        top: 14px;
        right: 14px;
    }
}
@media only screen and (max-width: 400px) {
    .hide-mobile {
        display: none;
    }
}
.badge {
    font-size: 1.5em !important;
    font-weight: 900 !important;
}
.did-floating-label-content {
    position: relative;
}

.did-floating-label {
    /* color: #323840;*/
    color: #000000!important;
    font-size: 15px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 15px;
    top: 6px;
    padding: 0 5px;
    background: #fff;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.did-floating-input,
.did-floating-select {
    font-size: 15px;
    display: block;
    width: 100%;
    height: 31px;
    padding: 5px 10px 0px 5px;
    background: #fff;
    color: #323840;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-sizing: border-box;
}
.did-floating-inputError,
.did-floating-selectError {
    font-size: 15px;
    display: block;
    width: 100%;
    height: 32px;
    padding: 0 20px;
    background-color: yellow !important;
    color: #323840;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
    box-sizing: border-box;
}

    .did-floating-input:focus,
    .did-floating-select:focus {
        outline: none;
    }

        .did-floating-input:focus ~ .did-floating-label,
        .did-floating-select:focus ~ .did-floating-label {
            top: -8px;
            font-size: 12px;
            color: #594ae2 !important;
        }

select.did-floating-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    select.did-floating-select::-ms-expand {
        display: none;
    }

.did-floating-input:not(:placeholder-shown)~.did-floating-label {
    top: -9px;
    font-size: 12px;
}

.did-floating-select:not([value=""]):valid~.did-floating-label {
    top: -9px;
    font-size: 12px;
}

.did-floating-select[value=""]:focus~.did-floating-label {
    top: 11px;
    font-size: 15px;
}

.did-floating-label:hover {
    color: #594ae2 !important;
}

.did-floating-label:focus-within {
    color: #594ae2 !important;
}

.did-floating-label-content:focus {
    border: 2px solid #594ae2;
}

did-floating-label-content:focus {
    border: 2px solid #594ae2;
}

.did-floating-input:hover {
    border: 2px solid #594ae2;
}

.did-floating-input:focus-within {
    border: 2px solid #594ae2;
}

.did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%23003d71'/%3E%3C/svg%3E%0A");
    background-position: right 15px top 50%;
    background-repeat: no-repeat;
}

.did-error-input .did-floating-input,
.did-error-input .did-floating-select {
    border: 2px solid #9d3b3b;
    color: #9d3b3b;
}

.did-error-input .did-floating-label {
    font-weight: 600;
    color: #9d3b3b;
}

.did-error-input .did-floating-select:not([multiple]):not([size]) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6' viewBox='0 0 8 6'%3E%3Cpath id='Path_1' data-name='Path 1' d='M371,294l4,6,4-6Z' transform='translate(-371 -294)' fill='%239d3b3b'/%3E%3C/svg%3E%0A");
}

.input-group {
    display: flex;
}

    .input-group .did-floating-input {
        border-radius: 0 4px 4px 0;
        border-left: 0;
        padding-left: 0;
    }

.input-group-append {
    display: flex;
    align-items: center;
    /*   margin-left:-1px; */
}

.input-group-text {
    display: flex;
    align-items: center;
    font-weight: 400;
    height: 31px;
    color: #323840;
    padding: 0 5px 0 20px;
    font-size: 15px;
    text-align: center;
    white-space: nowrap;
    border: 2px solid #594ae2;
    border-radius: 4px 0 0 4px;
    border-right: none;
}
.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    font-size: 15px !important;
    height: 20px !important;
    padding-bottom: 5px !important;
    padding-top: 6px !important;
    padding-left:5px!important;
}
.mud-input > input.mud-input-root-outlined.mud-input-root-margin-dense, div.mud-input-slot.mud-input-root-outlined.mud-input-root-margin-dense {
    font-size: 15px !important;
}

.spinner {
    border: 16px solid silver;
    border-top: 16px solid #c1902a;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 40%;
    left: 48%;
    position: absolute;
}
.spinner-login {
    border: 16px solid silver;
    border-top: 16px solid #115e32;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 700ms linear infinite;
    top: 150px;
    left: 48%;
    position: absolute;
}
.form-select-pagesize{
    font-size:15px!important
}
.blur {
    backdrop-filter: blur(10px);
}

.dialog-background {
    background-color: transparent;
}

.dialog-background-title {
    background: rgb(from var(--mud-palette-info-lighten) r g b / 50%);
    color: var(--mud-palette-white);
}

.dialog-background-surface {
    background: rgb(from var(--mud-palette-surface) r g b / 75%);
}
.dialogContent {
    display: block;
    font-size: 15px;
    word-wrap: break-word;
    text-align: center;
    font-style: italic;
    position: relative;
    top: 16px;
}

.dialogText {
    background-color: #D3D3D3;
    padding-right: 4px;
    color: blue;
    font-family: sans-serif !important;
    font-style: italic;
}
.mud-icon-button {
    padding-top: 6px!important;
    padding-bottom: 6px!important;
}
.mud-typography-body1 {
    font-size: 15px !important;
    color: #333333 !important;
}
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5); /* Màu nền mờ */
    backdrop-filter: blur(3px); /* Làm mờ giao diện sau */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: auto; /* Chặn sự kiện bên dưới */
}
.otp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.otp-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    background: #ffffff;
    border-radius: 10px;
    padding: 42px 36px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.otp-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: transparent;
    font-size: 42px;
    line-height: 1;
    color: #2d9fb1;
    cursor: pointer;
}

.otp-title {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 600;
    color: #5d2b7d;
}

.otp-desc {
    margin: 0 auto 42px;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 34px;
    margin-bottom: 42px;
    flex-wrap: wrap;
}

.otp-box {
    width: 54px;
    height: 54px;
    border: none;
    border-bottom: 3px solid #d7d7d7;
    background: transparent;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    color: #333;
    outline: none;
    border-radius: 0;
    padding: 0;
}

    .otp-box:focus {
        border-bottom-color: #1599d5;
    }

.otp-box-first {
    border-bottom-color: #1599d5;
}

.otp-resend {
    margin: 0 0 26px;
    font-size: 16px;
    color: #4f4f4f;
}

    .otp-resend a {
        color: #5aa6b6;
        text-decoration: underline;
        font-weight: 500;
    }

.otp-btn {
    width: 100%;
    height: 64px;
    border: none;
    border-radius: 22px;
    background: #0494d6;
    color: #ffffff;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

    .otp-btn:hover {
        opacity: 0.94;
    }

    .otp-btn:active {
        opacity: 0.88;
    }

/*@keyframes spin {
    to {
        transform: rotate(360deg);
    }*/
}