body {
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.rb-login-bg {
    background: linear-gradient(135deg, #fff8ef, #f5f9ff);
    min-height: 100vh;
}

.rb-login-shell {
    max-width: 980px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ffe0bf;
    box-shadow: 0 10px 28px rgba(64, 72, 90, 0.14);
}

.rb-login-topband {
    background: linear-gradient(90deg, #f47b20 0%, #f47b20 55%, #1d4f91 55%, #1d4f91 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 8px 14px;
    display: flex;
    justify-content: space-between;
}

.rb-login-info {
    background: #fff8ef;
    padding: 28px;
    border-right: 1px solid #ffdcb8;
}

.rb-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-login-brand-logo-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border: 1px solid #ffd3a4;
}

.rb-login-hero {
    height: 160px;
    border-radius: 10px;
    border: 1px solid #ffd7af;
    background: linear-gradient(rgba(20, 52, 92, 0.28), rgba(20, 52, 92, 0.28)),
        url("https://images.unsplash.com/photo-1565514020179-026b92b84bb6?auto=format&fit=crop&w=1000&q=60") center/cover no-repeat;
    display: flex;
}

.rb-login-points {
    margin: 16px 0 0;
    padding-left: 18px;
    color: #243449;
}

.rb-login-points li {
    margin-bottom: 8px;
}

.rb-security-box {
    background: #ffffff;
    border: 1px solid #ffd9b6;
    border-radius: 10px;
    padding: 14px;
}

.rb-security-box h6 {
    margin-bottom: 8px;
    color: #d76511;
}

.rb-login-form-wrap {
    padding: 28px;
}

.rb-captcha-mock {
    padding: 7px 16px;
    border: 1px dashed #ad7f52;
    border-radius: 8px;
    font-family: "Courier New", monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: #fff3e8;
    color: #553410;
}

.rb-btn-login {
    background: #f47b20;
    color: #fff;
    border: none;
}

.rb-btn-login:hover,
.rb-btn-login:focus {
    background: #d86510;
    color: #fff;
}

.rb-demo-credentials {
    background: #f8fbff;
    border: 1px solid #e3ecff;
    border-radius: 8px;
    padding: 10px;
}

.boi-app-stage-wrap {
    background: #f7fafb;
}

.boi-app-stage {
    min-height: calc(100vh - 56px);
}

.boi-sidebar {
    background: linear-gradient(180deg, #0f766e 0%, #0d5c56 100%);
    display: flex;
    flex-direction: column;
}

.boi-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.boi-sidebar-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.boi-nav-link {
    color: rgba(255, 255, 255, 0.88);
    border-radius: 8px;
    padding: 10px 12px;
    font-weight: 500;
}

.boi-nav-link:hover,
.boi-nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.boi-nav-link--active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.boi-main {
    background: #f7fafb;
}

.boi-page-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: -0.02em;
}

.boi-toolbar-search {
    max-width: 320px;
    min-width: 200px;
    border-radius: 8px;
    border-color: #cbd5e1;
}

.boi-toolbar-search:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.boi-role-badge {
    background: #0f766e !important;
    color: #fff !important;
    font-weight: 600;
    text-transform: capitalize;
}

.boi-badge-teal {
    background: #0f766e !important;
    color: #fff !important;
}

.boi-card-header {
    background: #f0fdfa !important;
    color: #0f766e !important;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #ccfbf1 !important;
}

.boi-app-page .btn-primary {
    background: #0f766e;
    border-color: #0f766e;
    font-weight: 600;
}

.boi-app-page .btn-primary:hover,
.boi-app-page .btn-primary:focus {
    background: #0d5c56;
    border-color: #0d5c56;
}

.boi-logout-panel {
    max-width: 440px;
}

.boi-logout-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    padding: 8px;
}

.rb-balance-card {
    background: linear-gradient(135deg, #0f766e, #0a524d);
    color: #fff;
    border: none;
}

.rb-currency-list {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
}

.rb-currency-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}

.rb-currency-row:last-child {
    border-bottom: none;
}

.rb-fx-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.rb-trend-chart {
    height: 140px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
}

.rb-trend-chart span {
    flex: 1;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #2dd4bf, #0f766e);
}

.rb-transaction-table th,
.rb-transaction-table td {
    padding: 12px 14px;
    font-size: 0.9rem;
    vertical-align: middle;
}

.rb-transaction-table thead th {
    background: #f0fdfa;
    border-bottom: 1px solid #ccfbf1;
    color: #0f766e;
    font-weight: 600;
}

.rb-simple-currency > div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dashed #ccfbf1;
}

.rb-simple-currency > div:last-child {
    border-bottom: none;
}

.rb-action-btn {
    font-size: 0.86rem;
    white-space: nowrap;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.08);
}

.boi-app-page .progress-bar {
    background-color: #0f766e;
}

/* BOI Online shell (login + app) */
.boi-app-page {
    min-height: 100vh;
    background: #f7fafb;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.boi-app-bar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 0;
}

.boi-wordmark {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.boi-wordmark-main {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: -0.02em;
}

.boi-star {
    color: #ea580c;
    font-size: 1rem;
    vertical-align: middle;
}

.boi-wordmark-sub {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.boi-menu-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    opacity: 0.5;
    cursor: not-allowed;
}

.boi-menu-btn span {
    display: block;
    height: 2px;
    background: #0f766e;
    border-radius: 1px;
}

.boi-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.boi-hero-teal {
    color: #0f766e;
}

.boi-hero-coral {
    color: #f97316;
}

.boi-hero-sub {
    font-size: 1.05rem;
    color: #0f766e !important;
    font-weight: 500;
}

.boi-hero-visual {
    min-height: 220px;
    border-radius: 12px;
    border: 1px solid #ccfbf1;
    background-image:
        linear-gradient(rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.85)),
        url("https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=900&q=70");
    background-size: cover;
    background-position: center;
}

.boi-store-link {
    display: inline-block;
    line-height: 0;
}

.boi-store-link:focus-visible {
    outline: 2px solid #0f766e;
    outline-offset: 3px;
    border-radius: 4px;
}

.boi-store-img {
    display: block;
    height: 48px;
    width: auto;
}

.boi-store-img--apple {
    height: 44px;
}

.boi-login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    padding: 1.75rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .boi-login-card {
        margin-left: auto;
        margin-right: 0;
    }
}

.boi-tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.boi-tab {
    padding-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    color: #94a3b8;
    cursor: default;
}

.boi-tab-active {
    color: #0f766e;
    border-bottom: 3px solid #0f766e;
    margin-bottom: -2px;
}

.boi-tab-muted {
    opacity: 0.65;
}

.boi-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.boi-pill {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid #0f766e;
    background: #fff;
    color: #0f766e;
}

.boi-pill-active {
    background: #0f766e;
    color: #fff;
    border-color: #0f766e;
}

.boi-link-teal {
    color: #0f766e !important;
    font-size: 0.85rem;
}

.boi-input:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.boi-input-group-text {
    background: #f0fdfa;
    border-color: #cbd5e1;
    color: #0f766e;
    font-weight: 600;
}

.boi-btn-submit {
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 6px;
}

.boi-btn-submit:hover,
.boi-btn-submit:focus {
    background: #0d5c56;
    color: #fff;
}

.boi-captcha-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid #cbd5e1;
    color: #64748b;
}

.boi-captcha-pill-active {
    border-color: #0f766e;
    color: #0f766e;
    background: #f0fdfa;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .rb-login-topband {
        flex-direction: column;
        gap: 2px;
    }

    .rb-login-info {
        border-right: none;
        border-bottom: 1px solid #e2ebff;
    }

    .rb-transaction-table th,
    .rb-transaction-table td {
        white-space: nowrap;
    }
}
