:root {
    --tblr-primary: #176b87;
    --tblr-primary-rgb: 23, 107, 135;
    --tblr-link-color: #176b87;
    --tblr-link-hover-color: #104f66;
    --iweb-ink: #13253b;
    --iweb-navy: #102b46;
    --iweb-teal: #12a594;
    --iweb-mist: #eef5f7;
    --iweb-line: #dbe7ea;
}

body.iweb-shell {
    min-height: 100vh;
    color: var(--iweb-ink);
    background:
        radial-gradient(circle at 5% 0%, rgba(18, 165, 148, .10), transparent 28rem),
        radial-gradient(circle at 100% 20%, rgba(23, 107, 135, .10), transparent 32rem),
        #f5f8f9;
}

.iweb-navbar {
    position: relative;
    z-index: 20;
    min-height: 76px;
    background: linear-gradient(105deg, #102b46 0%, #164f69 58%, #127466 100%);
    box-shadow: 0 7px 24px rgba(16, 43, 70, .22);
}

.iweb-navbar::after {
    position: absolute;
    right: 9%;
    bottom: 0;
    width: 210px;
    height: 5px;
    content: '';
    background: #5ce0cd;
    border-radius: 5px 5px 0 0;
}

.iweb-navbar .navbar-brand { color: #fff; letter-spacing: -.03em; }
.iweb-navbar .navbar-toggler { border-color: rgba(255, 255, 255, .3); color: #fff; }
.iweb-navbar .navbar-toggler-icon { filter: invert(1); }
.iweb-navbar .nav-link { color: rgba(255, 255, 255, .76); border-radius: 8px; margin: 0 2px; }
.iweb-navbar .nav-link:hover, .iweb-navbar .nav-item.active > .nav-link { color: #fff; background: rgba(255, 255, 255, .14); }
.iweb-navbar .nav-link-icon { color: #8ff0df; }
.iweb-navbar .dropdown-menu { border: 0; box-shadow: 0 16px 38px rgba(16, 43, 70, .2); }
.iweb-navbar .text-secondary { color: rgba(255, 255, 255, .66) !important; }

.iweb-brand-mark {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-right: 9px;
    color: #10374e;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: -.08em;
    background: linear-gradient(135deg, #88eadc, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .13);
}

.iweb-brand-name { display: inline-flex; flex-direction: column; line-height: 1.05; vertical-align: middle; }
.iweb-brand-name small { margin-top: 3px; color: #8ff0df; font-size: .52rem; font-weight: 700; letter-spacing: .16em; }
.iweb-user-avatar { color: #0f5062; background: #ddfff7; }

.iweb-page-header {
    padding: 2rem 0 1.45rem;
}

.iweb-page-header .page-title { color: var(--iweb-ink); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 750; letter-spacing: -.035em; }
.iweb-kicker { margin-bottom: .35rem; color: #168072; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.iweb-organization-pill { display: inline-flex; gap: .45rem; align-items: center; padding: .45rem .7rem; color: #176b87; font-size: .78rem; font-weight: 700; background: #e8f7f4; border: 1px solid #c6ece6; border-radius: 999px; }

.iweb-page-body { padding-bottom: 3rem; }
.iweb-shell .card { overflow: hidden; border: 1px solid rgba(203, 220, 224, .9); border-radius: 14px; box-shadow: 0 6px 19px rgba(18, 47, 66, .055); }
.iweb-shell .card-header { min-height: 58px; padding: .95rem 1.2rem; background: linear-gradient(180deg, #fff, #fbfdfd); border-bottom-color: var(--iweb-line); }
.iweb-shell .card-title { color: var(--iweb-ink); font-weight: 750; letter-spacing: -.015em; }
.iweb-shell .card-sm .card-body { padding: 1.15rem; }
.iweb-shell .card-sm .font-weight-medium, .iweb-shell .card-sm .h1 { color: var(--iweb-ink); font-size: 1.45rem; font-weight: 750; }
.iweb-shell .avatar { border-radius: 11px; box-shadow: 0 5px 12px rgba(23, 107, 135, .18); }
.iweb-shell .table > :not(caption) > * > * { padding: .88rem 1rem; }
.iweb-shell .table thead th { color: #66808a; font-size: .69rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; background: #f7fafb; }
.iweb-shell .table tbody tr { transition: background .15s ease; }
.iweb-shell .table tbody tr:hover { background: #f3fbfa; }
.iweb-shell .list-group-item { border-color: var(--iweb-line); }
.iweb-shell .form-control, .iweb-shell .form-select { border-color: #c9dadd; border-radius: 8px; }
.iweb-shell .form-control:focus, .iweb-shell .form-select:focus { border-color: #36aa9c; box-shadow: 0 0 0 .2rem rgba(18, 165, 148, .13); }
.iweb-shell .btn { border-radius: 8px; font-weight: 650; }
.iweb-shell .btn-primary { background: linear-gradient(135deg, #176b87, #13887d); border-color: #176b87; box-shadow: 0 5px 12px rgba(23, 107, 135, .17); }
.iweb-shell .btn-primary:hover { background: linear-gradient(135deg, #10556d, #0d7068); border-color: #10556d; }
.iweb-shell .alert { border: 0; border-radius: 11px; box-shadow: 0 6px 14px rgba(20, 50, 65, .06); }
.iweb-shell .badge { padding: .42em .65em; border-radius: 999px; font-weight: 700; }

.iweb-dashboard-hero {
    position: relative;
    overflow: hidden;
    min-height: 146px;
    padding: 1.55rem 1.75rem;
    color: #fff;
    background: linear-gradient(115deg, #123550, #176b87 55%, #13877b);
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(18, 60, 82, .18);
}

.iweb-dashboard-hero::before, .iweb-dashboard-hero::after { position: absolute; content: ''; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.iweb-dashboard-hero::before { top: -7rem; right: -2rem; width: 18rem; height: 18rem; }
.iweb-dashboard-hero::after { right: 12rem; bottom: -9rem; width: 15rem; height: 15rem; }
.iweb-dashboard-hero > * { position: relative; z-index: 1; }
.iweb-dashboard-kicker { color: #9af1e4; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.iweb-dashboard-hero h3 { margin: .3rem 0; color: #fff; font-size: 1.45rem; font-weight: 750; letter-spacing: -.03em; }
.iweb-dashboard-hero p { max-width: 39rem; margin: 0; color: rgba(255,255,255,.78); }

body.iweb-auth {
    min-height: 100vh;
    color: var(--iweb-ink);
    background:
        radial-gradient(circle at 14% 8%, rgba(73, 224, 205, .28), transparent 25rem),
        radial-gradient(circle at 86% 88%, rgba(21, 109, 136, .24), transparent 26rem),
        linear-gradient(135deg, #0b263e, #13546c 58%, #117a70);
}

.iweb-auth::before, .iweb-auth::after { position: fixed; width: 18rem; height: 18rem; content: ''; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; pointer-events: none; }
.iweb-auth::before { top: -7rem; right: -5rem; }
.iweb-auth::after { bottom: -10rem; left: -7rem; }
.iweb-login-brand { color: #fff !important; text-shadow: 0 3px 18px rgba(0,0,0,.15); }
.iweb-login-subtitle { color: rgba(232, 255, 251, .8) !important; }
.iweb-auth-card { border: 0; border-radius: 18px; box-shadow: 0 22px 55px rgba(0, 22, 38, .32); }
.iweb-auth-card .card-body { padding: 2rem; }
.iweb-auth-card .btn-primary { background: linear-gradient(135deg, #176b87, #13887d); border: 0; border-radius: 9px; box-shadow: 0 6px 14px rgba(23, 107, 135, .2); }
.iweb-auth-card .form-control { border-color: #c9dadd; border-radius: 8px; }
.iweb-auth-card .form-control:focus { border-color: #36aa9c; box-shadow: 0 0 0 .2rem rgba(18, 165, 148, .13); }

@media (max-width: 767.98px) {
    .iweb-navbar::after { display: none; }
    .iweb-page-header { padding: 1.35rem 0 .9rem; }
    .iweb-navbar .nav-link { padding: .7rem .8rem; }
    .iweb-dashboard-hero { padding: 1.3rem; }
}
