.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo:hover,
.brand-logo:focus {
    text-decoration: none;
}

.admin-logo-text {
    display: inline-flex;
    align-items: center;
    height: 42px;
    font-size: 30px;
    font-weight: 800;
    line-height: 42px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.admin-logo-text span {
    display: inline-block;
}

body.page-portal {
    background-color: #1a1a1a !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

.admin-logo-text .ch-h { color: #ff4d4f; }
.admin-logo-text .ch-o { color: #ffa940; }
.admin-logo-text .ch-a { color: #ffec3d; }
.admin-logo-text .ch-i { color: #73d13d; }
.admin-logo-text .ch-space { width: 0.28em; }
.admin-logo-text .ch-a2 { color: #40a9ff; }
.admin-logo-text .ch-n { color: #b37feb; }

.btn-admin-corner {
    position: fixed;
    right: 16px;
    bottom: 10px;
    z-index: 51;
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    text-decoration: none;
}

.btn-admin-corner:hover,
.btn-admin-corner:focus {
    color: #fff;
    background: #ff6a00;
    border-color: #ff6a00;
    text-decoration: none;
}

.guest-login-panel {
    max-width: 520px;
    margin: 56px auto 24px;
    padding: 40px 36px 42px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

.guest-login-panel h1 {
    margin: 0 0 12px;
    color: #ff6a00;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.guest-login-panel p {
    margin: 0 0 26px;
    color: #444;
    font-size: 15px;
    line-height: 1.65;
}

.btn-guest-login {
    display: inline-block;
    min-width: 180px;
    padding: 11px 36px;
    font-size: 16px;
    font-weight: 600;
    color: #fff !important;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6a00 100%);
    border: none;
    border-radius: 999px !important;
    box-shadow: 0 8px 18px rgba(255, 106, 0, 0.35);
}

.btn-guest-login:hover,
.btn-guest-login:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #ff6a00 0%, #e85f00 100%);
    box-shadow: 0 8px 20px rgba(232, 95, 0, 0.4);
}

.search-help-highlight {
    max-width: 720px;
    margin: 0 auto 24px;
    padding: 12px 22px;
    text-align: center;
    color: #3a2414;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #ffd2b0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.search-help-highlight p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: #3a2414;
}

.search-help-highlight .alert-link {
    display: inline-block;
    min-width: 22px;
    padding: 0 7px;
    margin: 0 2px;
    color: #fff !important;
    background: #ff6a00;
    border-radius: 6px;
    font-weight: 800;
    line-height: 1.4;
}

.search-form h1,
.search-form-h h1 {
    color: #ff6a00 !important;
}

.top-admin-link {
    color: #fff;
    margin-left: 8px;
    font-size: 14px;
    text-decoration: underline;
}

body.page-portal #check-order-content {
    min-height: 100vh;
    padding-bottom: 52px;
    box-sizing: border-box;
}

.site-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    margin: 0;
    text-align: center;
    color: #fff;
    padding: 10px 72px 10px 16px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.42);
    text-shadow: none;
}

.amt-loading {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(255, 255, 255, .8);
}

.loader {
    height: 4px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #ddd;
}

.loader:before {
    display: block;
    position: absolute;
    content: "";
    left: -200px;
    width: 200px;
    height: 4px;
    background-color: #ff6a00;
    animation: hoaian-loading 2s linear infinite;
}

@keyframes hoaian-loading {
    from { left: -200px; width: 30%; }
    50% { width: 30%; }
    70% { width: 70%; }
    80% { left: 50%; }
    95% { left: 120%; }
    to { left: 100%; }
}

.se-pre-con {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    opacity: 0.5;
}

html::-webkit-scrollbar-thumb {
    background-color: #ff6a00;
}

.be-wrapper {
    padding-top: 0;
    min-height: 86vh;
}

.main-content,
.container-fluid {
    padding: 0 !important;
    padding-top: 2px !important;
}

span.success {
    color: #1e7e34;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    body.page-portal {
        background-image: url('../images/portal-bg.jpg') !important;
        background-color: #1a1a1a !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .guest-login-panel {
        margin: 28px 12px 24px;
        padding: 28px 18px 32px;
    }

    .site-footer {
        padding: 8px 64px 8px 12px;
        font-size: 12px;
    }

    .guest-login-panel h1 {
        font-size: 22px;
    }

    .admin-logo-text {
        font-size: 22px;
        height: 32px;
        line-height: 32px;
    }

    .search-form-vd input[type=text],
    .search-form-vd select,
    .search-form-vd .date {
        min-width: 100% !important;
        width: 100% !important;
    }

    .btn-search-lg {
        height: 48px;
        margin-top: 10px;
    }
}
