﻿/*normalize*/
html,
body,
form {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font: normal 16px "Segoe UI", Arial, sans-serif;
    color: #555555;
}

@font-face {
    font-family: "bootstrap-icons";
    src: url("./bootstrap-icons/font/fonts/bootstrap-icons.woff2") format("woff2"), url("bootstrap-icons/font/fonts/bootstrap-icons.woff") format("woff");
}



@media only screen and (min-width: 481px) and (max-width: 720px) {
    body {
        font-size: 18px;
    }
}



a {
    background: transparent;
}

img {
    border: 0;
}



hr {
    border-width: 1px 0 0 0;
    border-color: #767676;
    border-style: solid;
}

/*typography*/
h1, h2, h3, h4, h5, h6 {
    line-height: normal;
}

h1, h2, h3 {
    font-weight: normal;
    margin: .5em 0;
}

h4, h5, h6 {
    font-weight: bold;
}

h1 {
    font-size: 2.25em;
}

h2 {
    font-size: 1.875em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.125em
}

h5 {
    font-size: 1em;
}

h6 {
    font-size: .875em;
}

/*template*/
#wrapper .t-container-fluid {
    max-width: 100%;
}

#wrapper .RadButton {
    font-size: 1em;
}

#wrapper .RadMenu,
div.RadMenuPopup,
#wrapper .RadMenu_Default, #wrapper .RadMenu_Default a.rmLink {
    font-size: 1em;
}

#wrapper .header {
    background: linear-gradient(135deg, #13304f 0%, #28343b 70%);
    padding: 10px 0;
    margin-bottom: 14px;
    border: 0;
    border-bottom: 3px solid #ffa500;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 6px 18px rgba(40, 52, 59, .18);
    align-items: center;
}


#wrapper .header .RadMenu {
    margin: 10px 0;
    float: none;
}

#wrapper .logo {
    margin: -10px 0;
    width: 100%;
    text-align: center;
    vertical-align: top;
    display: inline-block;
}

    #wrapper .logo img {
        max-width: 100%;
    }

#wrapper .jumbotron {
    padding: 1.875em;
    padding-top: 1em;
    background-color: #e9eaea;
}

    #wrapper .jumbotron .RadButton {
        float: right;
        margin-top: .667em;
        font-size: .5em;
    }

#wrapper .footer {
    width: 100%;
    padding: 30px 15px;
    line-height: 30px;
}


footer {
    background: #28343b;

    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}



.WrappAroundOrange {
    border: 1px solid #dbe4ea;
    border-top: 4px solid #ffa500;
    background-color: #f0f8ff;
    min-height: 700px;
    padding: 16px;
    min-width: 700px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(40, 52, 59, .06), 0 4px 14px rgba(40, 52, 59, .08);
}


.allWindow {
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute; /* Position the element relative to its parent */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.RadGrid {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(40, 52, 59, .06), 0 4px 14px rgba(40, 52, 59, .08);
}



/*body {
    font-family: Arial;
    font-size: 10pt;
}*/
/*
.ma in_menu {
    width: 100px;
    background-color: #8AE0F2;
    color: #000;
    text-align: center;
    height: 30px;
    line-height: 30px;
    margin-right: 5px;
}

.level_menu {
    width: 110px;
    background-color: #000;
    color: #fff;
    text-align: center;
    height: 30px;
    line-height: 30px;
    margin-top: 5px;
}

.selected {
    background-color: #852B91;
    color: #fff;
}*/




.main-menu {
    background-color: transparent;
    padding: 10px;
    margin: 0px;
    list-style: none; /* Remove default list bullets */
}

    .main-menu ul { /* Styles for sub-menus */
        background-color: transparent;
        list-style: none;
        padding: 10px;
        margin: 0px;
        border: 1px solid white;
    }

    .main-menu li {
        display: inline-block; /* For horizontal main menu */
        position: relative;
    }

        .main-menu li a {
            display: block;
            padding: 10px 15px;
            color: white;
            text-decoration: none;
            font-weight: 600;
        }

            .main-menu li a:hover {
                background-color: #777;
            }

    /* Styles for selected menu item */
    .main-menu .selected {
        background-color: #007bff;
        font-weight: bold;
    }

    /* Styles for dropdowns/sub-menus */
    .main-menu ul li {
        display: block; /* For vertical sub-menu items */
    }

        .main-menu ul li a {
            padding: 8px 15px;
        }


.headerofv {
    background: linear-gradient(135deg, #28343b 0%, #34444d 100%);
    padding: 10px 0;
    margin-bottom: 10px;
    border: 0;
    border-bottom: 3px solid #ffa500;
    border-radius: 10px;
    color: #fff;
}

.round5 {
    border-radius: 10px;
    margin: 5px;
}

input[type="checkbox"] {
    margin-right: 10px;
}

input[type="radio"] {
    margin-right: 10px;
}


/*RadListView*/


.group-container {
    width: 100%; /* Or a specific width */

    margin: 0px;
    padding: 1px;
    background: #dde0e1;
    position: relative;
}

.group-item {
    /* Adjust width to fit multiple groups in a row. For two groups: */
    flex: 1 0 48%; /* Takes up about half the width, with some margin/padding space */
    margin: 5px;
    border: 1px solid #ccc;
    padding: 1px;
    box-sizing: border-box; /* Ensures padding/border is included in the width */
}




.groupFooter {
    line-height: 46px;
    font-weight: bold;
    color: #1276bc;
}

.clearfix {
    clear: both;
    display: block;
}


.HideArrow .rcbInputCell {
    border-right: solid 1pt black !important;
}

.HideArrow .rcbArrowCell {
    display: none !important;
}

.RadAsyncUpload .ruBrowse {
    /* font-size: 18px;
           font-weight: bold;
           color: #333;*/
    width: 150px;
    /*width: 300px;*/
}

.layoutFieldset {
    min-width: 910px;
    max-width: 98%;
}

.itemWrapper {
    float: left;
}

.itemTable {
    width: 300px;
}

.cellInfo {
    width: 80%;
    padding-left: 5px;
}

.cellLabel {
    width: 20%;
}

.WrapHeader {
    white-space: normal !important;
    /* Optional: adjust header height automatically if needed */
    height: auto !important;
}

.BorderBlockOrange {
    border-block: 1px solid rgba(255, 165, 0, .45);
}




.myCheckList {
    color: black;
    background-color: #f5f5f5;
}



.item {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
    float: left;
    overflow: auto;
    margin: 5px;
    position: relative;
    border: 1px solid #5D8CC9;
    background-color: White;
}

    .item img {
        width: 100%;
    }



.indented-rbl  {
    margin-left: 15px; /* Adjust the space as needed */
    
}


.Indented {
    width: 13px;
    height: 13px;
    padding: 0;
    margin: 50px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    *overflow: hidden;
}


/* =========================================================
   EasyBillingNow theme (ebn-*)
   Same base palette: navy #28343b, orange accent, aliceblue
   ========================================================= */
:root {
    --ebn-navy: #28343b;
    --ebn-navy-700: #1f292f;
    --ebn-navy-100: #e6ebee;
    --ebn-accent: #ffa500;
    --ebn-accent-600: #e69500;
    --ebn-accent-50: #fff6e5;
    --ebn-bg: #f0f8ff;
    --ebn-surface: #ffffff;
    --ebn-border: #dbe4ea;
    --ebn-text: #2b3740;
    --ebn-muted: #6b7a86;
    --ebn-blue: #0ea5e9;
    --ebn-green: #22a34a;
    --ebn-danger: #dc3545;
    --ebn-radius: 12px;
    --ebn-shadow: 0 1px 2px rgba(40, 52, 59, .06), 0 4px 14px rgba(40, 52, 59, .08);
    --ebn-shadow-hover: 0 2px 4px rgba(40, 52, 59, .08), 0 10px 24px rgba(40, 52, 59, .14);
}

/* ---------- page shell ---------- */
.ebn-page {
    background: linear-gradient(180deg, #e4eff9 0%, var(--ebn-bg) 220px, #eaf2f9 100%);
    border: 1px solid #cfdde9;
    border-radius: var(--ebn-radius);
    box-shadow: 0 1px 3px rgba(40, 52, 59, .08);
    padding: 16px 18px 20px;
    margin: 2px 4px;
    overflow: auto;
}

.ebn-page-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px 20px;
    background: linear-gradient(120deg, #13304f 0%, var(--ebn-navy) 60%, #34444d 100%);
    border-radius: var(--ebn-radius);
    border-bottom: 3px solid var(--ebn-accent);
}

/* full-bleed banner when it opens the page card */
.ebn-page > .ebn-page-header:first-child {
    margin: -16px -18px 18px;
    border-radius: var(--ebn-radius) var(--ebn-radius) 0 0;
}

    /* blue-green accent sits on the orange underline, never over header content */
    .ebn-page-header::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: -3px;
        width: 180px;
        height: 3px;
        background: linear-gradient(90deg, var(--ebn-accent), var(--ebn-blue) 40%, var(--ebn-green));
        border-bottom-right-radius: 3px;
        pointer-events: none;
    }

.ebn-page-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 165, 0, .14);
    border: 1px solid rgba(255, 165, 0, .55);
    color: var(--ebn-accent);
    font-size: 1.5rem;
    flex: 0 0 auto;
}

.ebn-page-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.ebn-page-subtitle {
    margin: 2px 0 0;
    font-size: .875rem;
    color: #cbd5e1;
}

@media (max-width: 700px) {
    .ebn-page-header::after {
        display: none;
    }
}

/* ---------- sidebar ---------- */
.ebn-sidebar {
    background: var(--ebn-surface);
    border: 1px solid var(--ebn-border);
    border-radius: var(--ebn-radius);
    box-shadow: var(--ebn-shadow);
    padding: 14px;
    position: sticky;
    top: 8px;
}

.ebn-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -14px -14px 14px;
    padding: 10px 14px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--ebn-navy);
    border-radius: var(--ebn-radius) var(--ebn-radius) 0 0;
    border-bottom: 3px solid var(--ebn-accent);
}

    .ebn-sidebar-title .bi {
        color: var(--ebn-accent);
    }

.ebn-sidebar {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fd 100%);
    overflow: hidden;
}

.ebn-sidebar-section {
    padding: 12px 0;
    border-top: 1px solid var(--ebn-border);
}

    .ebn-sidebar-section:first-of-type {
        border-top: 0;
        padding-top: 0;
    }

.ebn-field-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ebn-text);
}

    .ebn-field-label .bi {
        color: var(--ebn-accent-600);
    }

/* ---------- buttons (RadButton + plain links) ---------- */
#wrapper .RadButton.ebn-btn,
.ebn-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 0 14px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    font-size: .9rem !important;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    background-image: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

    #wrapper .RadButton.ebn-btn .rbIcon {
        position: static !important;
        margin: 0 !important;
        font-size: 1rem;
        line-height: 1;
        width: auto;
        height: auto;
    }

    #wrapper .RadButton.ebn-btn .rbText {
        padding: 0 !important;
    }

#wrapper .RadButton.ebn-btn-primary,
.ebn-btn-primary {
    background-color: var(--ebn-accent) !important;
    border-color: var(--ebn-accent) !important;
    color: var(--ebn-navy) !important;
}

    #wrapper .RadButton.ebn-btn-primary:hover,
    .ebn-btn-primary:hover {
        background-color: var(--ebn-accent-600) !important;
        border-color: var(--ebn-accent-600) !important;
    }

#wrapper .RadButton.ebn-btn-dark,
.ebn-btn-dark {
    background-color: var(--ebn-navy) !important;
    border-color: var(--ebn-navy) !important;
    color: #fff !important;
}

    #wrapper .RadButton.ebn-btn-dark:hover,
    .ebn-btn-dark:hover {
        background-color: var(--ebn-navy-700) !important;
    }

#wrapper .RadButton.ebn-btn-outline,
.ebn-btn-outline {
    background-color: var(--ebn-surface) !important;
    border-color: var(--ebn-border) !important;
    color: var(--ebn-navy) !important;
}

    #wrapper .RadButton.ebn-btn-outline:hover,
    .ebn-btn-outline:hover {
        border-color: var(--ebn-navy) !important;
        background-color: var(--ebn-navy-100) !important;
    }

#wrapper .RadButton.ebn-btn-danger-outline,
.ebn-btn-danger-outline {
    background-color: var(--ebn-surface) !important;
    border-color: #f1c6cb !important;
    color: var(--ebn-danger) !important;
}

    #wrapper .RadButton.ebn-btn-danger-outline:hover,
    .ebn-btn-danger-outline:hover {
        background-color: #fdecee !important;
        border-color: var(--ebn-danger) !important;
    }

.ebn-btn-block {
    width: 100% !important;
}

.ebn-btn-sm {
    min-height: 32px !important;
    padding: 0 10px !important;
    font-size: .82rem !important;
}

.ebn-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
}

/* ---------- card grid (list view items) ---------- */
.ebn-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 16px;
    align-items: stretch;
    text-align: left;
}

.ebn-card {
    display: flex;
    flex-direction: column;
    background: var(--ebn-surface);
    border: 1px solid var(--ebn-border);
    border-radius: var(--ebn-radius);
    box-shadow: var(--ebn-shadow);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

    .ebn-card:hover {
        box-shadow: var(--ebn-shadow-hover);
        transform: translateY(-2px);
    }

.ebn-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(135deg, var(--ebn-navy) 0%, #34444d 100%);
    color: #fff;
    border-bottom: 3px solid var(--ebn-accent);
}

    .ebn-card-head img {
        width: 64px !important;
        height: 64px !important;
        border-radius: 50%;
        border: 2px solid #fff;
        background: #fff;
        object-fit: cover;
        flex: 0 0 auto;
    }

.ebn-card-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    word-break: break-word;
}

.ebn-card-meta {
    margin-top: 4px;
    font-size: .78rem;
    color: #cfd8de;
}

.ebn-card-body {
    flex: 1 1 auto;
    padding: 8px 10px;
    background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 100%);
}

    .ebn-card-body .ebn-info-list li {
        padding: 6px 6px;
        border-radius: 6px;
        border-bottom: 0;
    }

        .ebn-card-body .ebn-info-list li:nth-child(odd) {
            background: rgba(14, 165, 233, .06);
        }

.ebn-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .ebn-info-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 6px 0;
        font-size: .85rem;
        border-bottom: 1px dashed var(--ebn-border);
    }

        .ebn-info-list li:last-child {
            border-bottom: 0;
        }

        .ebn-info-list li > .bi {
            flex: 0 0 18px;
            color: var(--ebn-accent-600);
            font-size: 1rem;
            line-height: 1.2;
        }

.ebn-info-label {
    min-width: 78px;
    color: var(--ebn-muted);
    font-weight: 600;
}

.ebn-info-value {
    color: var(--ebn-text);
    word-break: break-word;
}

.ebn-card-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px 14px;
    background: #eef4fa;
    border-top: 1px solid var(--ebn-border);
}

/* status badge */
.ebn-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    background: rgba(255, 165, 0, .18);
    color: var(--ebn-accent);
    border: 1px solid rgba(255, 165, 0, .45);
}

/* ---------- insert / edit form card ---------- */
.ebn-form-card {
    grid-column: span 2;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fe 100%);
    border: 1px solid var(--ebn-border);
    border-top: 4px solid var(--ebn-accent);
    border-radius: var(--ebn-radius);
    box-shadow: var(--ebn-shadow-hover);
    padding: 0 0 4px;
    margin: 0;
    min-width: 0;
    text-align: left;
}

@media (max-width: 900px) {
    .ebn-form-card {
        grid-column: 1 / -1;
    }
}

.ebn-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ebn-navy);
    background: linear-gradient(90deg, #ffe9bf 0%, var(--ebn-accent-50) 45%, #eaf4fc 100%);
    border-bottom: 1px solid #f3d9a6;
}

    .ebn-form-title .bi {
        color: var(--ebn-accent-600);
    }

.ebn-form-card .container {
    max-width: 100%;
}

.ebn-form-row {
    align-items: center;
    margin: 0 !important;
    padding: 10px 4px;
    border-bottom: 1px solid var(--ebn-border);
}

    .ebn-form-row:nth-of-type(even) {
        background: rgba(14, 165, 233, .045);
    }

.ebn-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--ebn-muted);
}

.ebn-form-section-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ebn-muted);
}

.ebn-media-table {
    margin: 0;
    background: #f8fafc;
}

    .ebn-media-table td {
        vertical-align: middle;
        border-color: var(--ebn-border) !important;
    }

.ebn-form-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 14px 16px 10px;
}

/* ---------- empty state ---------- */
.ebn-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--ebn-muted);
    background: linear-gradient(180deg, #ffffff 0%, #eef5fb 100%);
    border: 1px dashed var(--ebn-border);
    border-radius: var(--ebn-radius);
}

    .ebn-empty .bi {
        display: block;
        font-size: 3rem;
        color: var(--ebn-accent);
        margin-bottom: 8px;
    }

/* ---------- pager ---------- */
.ebn-pager {
    margin-top: 16px;
}

    .ebn-pager .RadDataPager {
        border-radius: 8px;
        overflow: hidden;
    }

/* ---------- login ---------- */
.ebn-login {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
    min-height: 70vh;
}

.ebn-login-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    width: 100%;
    max-width: 920px;
    background: var(--ebn-surface);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(40, 52, 59, .22);
    overflow: hidden;
}

.ebn-login-brand {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 34px;
    color: #fff;
    background: linear-gradient(160deg, #13304f 0%, var(--ebn-navy) 100%);
}

    .ebn-login-brand::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--ebn-blue), var(--ebn-green) 60%, var(--ebn-accent));
    }

    .ebn-login-brand img.ebn-login-logo {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .ebn-login-brand h3 {
        margin: 0 0 8px;
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
    }

    .ebn-login-brand p {
        margin: 0;
        color: #cbd5e1;
        font-size: .95rem;
    }

.ebn-login-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0;
}

    .ebn-login-features li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 5px 0;
        color: #e2e8f0;
        font-size: .9rem;
    }

        .ebn-login-features li .bi {
            color: var(--ebn-accent);
            font-size: 1.05rem;
        }

.ebn-login-art {
    width: 100%;
    border-radius: 10px;
    opacity: .9;
}

.ebn-login-form {
    padding: 40px 38px;
}

    .ebn-login-form h2 {
        margin: 0;
        font-size: 1.6rem;
        font-weight: 600;
        color: var(--ebn-navy);
    }

    .ebn-login-form .ebn-login-sub {
        margin: 4px 0 24px;
        color: var(--ebn-muted);
        font-size: .92rem;
    }

    .ebn-login-form label {
        display: block;
        margin: 14px 0 6px;
        font-size: .85rem;
        font-weight: 600;
        color: var(--ebn-text);
    }

.ebn-input-icon {
    position: relative;
}

    .ebn-input-icon > .bi {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--ebn-muted);
        pointer-events: none;
    }

    .ebn-input-icon .form-control {
        padding-left: 38px;
        height: 44px;
        border-radius: 8px;
        border-color: var(--ebn-border);
    }

        .ebn-input-icon .form-control:focus {
            border-color: var(--ebn-accent);
            box-shadow: 0 0 0 3px rgba(255, 165, 0, .25);
        }

.ebn-login-remember {
    display: flex;
    align-items: center;
    margin-top: 16px;
    font-size: .9rem;
    color: var(--ebn-text);
}

    .ebn-login-remember input[type="checkbox"] {
        width: 18px;
        height: 18px;
        accent-color: var(--ebn-accent);
        cursor: pointer;
    }

    .ebn-login-remember label {
        display: inline;
        margin: 0;
        font-weight: 500;
    }

.ebn-login-submit {
    width: 100%;
    height: 46px;
    margin-top: 22px;
    border: 0;
    border-radius: 8px;
    background: var(--ebn-accent);
    color: var(--ebn-navy);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .15s ease;
}

    .ebn-login-submit:hover {
        background: var(--ebn-accent-600);
    }

.ebn-login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #fdecee;
    border: 1px solid #f1c6cb;
    color: var(--ebn-danger);
    font-size: .9rem;
}

.ebn-login-help {
    margin-top: 18px;
    text-align: center;
    font-size: .85rem;
    color: var(--ebn-muted);
}

    .ebn-login-help a {
        color: var(--ebn-navy);
        font-weight: 600;
    }

/* ---------- site shell (Site.Master) ---------- */
body {
    background-color: #e9eff5;
    background-image: radial-gradient(circle at 10% 0%, rgba(14, 165, 233, .08), transparent 40%), radial-gradient(circle at 90% 10%, rgba(255, 165, 0, .07), transparent 35%);
    background-attachment: fixed;
}

.ebn-tagline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0 4px;
    font-size: .8rem;
    letter-spacing: .02em;
    color: #cbd5e1;
}

    .ebn-tagline .bi {
        color: var(--ebn-accent);
    }

#wrapper .header .RadMenu.ebn-main-menu {
    border: 1px solid rgba(255, 255, 255, .08);
}

#wrapper .header .RadMenu .rmRootGroup > .rmItem > .rmLink:hover,
#wrapper .header .RadMenu .rmRootGroup > .rmItem > .rmLink.rmFocused,
#wrapper .header .RadMenu .rmRootGroup > .rmItem > .rmLink.rmSelected {
    color: var(--ebn-accent) !important;
}

#wrapper .header .RadMenu .rmRootGroup > .rmItem > .rmLink.rmSelected {
    box-shadow: inset 0 -3px 0 var(--ebn-accent);
}

.ebn-user-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 4px;
    color: #fff;
    font-size: .88rem;
}

.ebn-user-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.ebn-user-link,
.ebn-user-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0 !important;
    text-decoration: none;
}

    .ebn-user-link:hover,
    .ebn-user-link a:hover {
        color: var(--ebn-accent) !important;
    }

.ebn-user-box .bi {
    color: var(--ebn-accent);
    font-size: 1.05rem;
}

.ebn-user-box .ebn-btn-primary .bi {
    color: var(--ebn-navy);
}

footer.ebn-footer {
    position: relative;
    margin-top: 32px;
    padding: 22px 16px 18px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, #13304f 0%, var(--ebn-navy) 70%);
    color: #cbd5e1;
    font-size: .85rem;
}

    footer.ebn-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        border-radius: 14px 14px 0 0;
        background: linear-gradient(90deg, var(--ebn-blue), var(--ebn-green) 60%, var(--ebn-accent));
    }

    footer.ebn-footer p {
        margin: 4px 0;
    }

.ebn-footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 6px;
}

.ebn-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    text-decoration: none;
}

    .ebn-footer-links a:hover {
        color: var(--ebn-accent);
    }

/* ---------- global upgrades for legacy markup ---------- */
/* Bootstrap buttons pick up the palette */
.btn-primary {
    --bs-btn-bg: #ffa500;
    --bs-btn-border-color: #ffa500;
    --bs-btn-color: #28343b;
    --bs-btn-hover-bg: #e69500;
    --bs-btn-hover-border-color: #e69500;
    --bs-btn-hover-color: #28343b;
    --bs-btn-active-bg: #e69500;
    --bs-btn-active-border-color: #e69500;
    --bs-btn-active-color: #28343b;
    font-weight: 600;
}

.btn-dark {
    --bs-btn-bg: #28343b;
    --bs-btn-border-color: #28343b;
    --bs-btn-hover-bg: #1f292f;
    --bs-btn-hover-border-color: #1f292f;
}

.btn {
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, .25);
}

.form-check-input:checked {
    background-color: #ffa500;
    border-color: #ffa500;
}

a {
    color: #1d6fa5;
}

/* Telerik notification / window title bars in navy */
.RadNotification .rnTitleBar,
.RadWindow .rwTitleBar {
    background: var(--ebn-navy) !important;
    color: #fff !important;
    border-bottom: 3px solid var(--ebn-accent) !important;
}

    .RadNotification .rnTitleBar .rnTitleBarTitle,
    .RadWindow .rwTitleBar .rwTitle {
        color: #fff !important;
    }

/* RadGrid header row in brand colors */
#wrapper .RadGrid .rgHeader,
#wrapper .RadGrid th.rgHeader {
    background: var(--ebn-navy) !important;
    color: #fff !important;
    border-color: #34444d !important;
    font-weight: 600;
}

    #wrapper .RadGrid .rgHeader a {
        color: #fff !important;
    }

#wrapper .RadGrid .rgRow:hover,
#wrapper .RadGrid .rgAltRow:hover {
    background-color: var(--ebn-accent-50) !important;
}

@media (max-width: 760px) {
    .ebn-login-shell {
        grid-template-columns: 1fr;
    }

    .ebn-login-art {
        display: none;
    }

    .ebn-login-form {
        padding: 28px 22px;
    }
}