:root{
    --srf-primary:#0B2F6B;
    --srf-secondary:#267A84;
    --srf-text:#4A4A4A;
    --srf-accent:#61CE70;
    --srf-gold:#D6B46A;
    --srf-pro:#0D9C9A;
}

body{
    color:var(--srf-text);
}

a{
    color:var(--srf-secondary);
}

.btn-primary{
    --bs-btn-bg:var(--srf-primary);
    --bs-btn-border-color:var(--srf-primary);
    --bs-btn-hover-bg:#082756;
    --bs-btn-hover-border-color:#082756;
}

.text-primary{
    color:var(--srf-primary)!important;
}

.progress{
    height:8px;
    background:#e9eef3;
}

.progress-bar{
    background:linear-gradient(90deg,var(--srf-primary),var(--srf-secondary));
}

.app-sidebar{
    --lte-sidebar-width:260px;
}

.sidebar-brand{
    min-height:64px;
    display:flex;
    align-items:center;
    padding:0 18px;
}

.brand-link{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-size:20px;
}

.brand-link:before{
    content:"";
    width:30px;
    height:30px;
    border-radius:9px;
    background:linear-gradient(135deg,var(--srf-secondary),var(--srf-primary));
    box-shadow:0 8px 24px rgba(38,122,132,.25);
}

.nav.sidebar-menu .nav-link.active{
    background:rgba(13,156,154,.18);
    color:#fff;
}

.nav.sidebar-menu .nav-link.active .nav-icon{
    color:#6ee7e4;
}

.nav-header{
    margin-top:10px;
    color:#87909a!important;
    font-size:11px!important;
    letter-spacing:.08em;
}

.app-content-header h1{
    color:#1f2933;
    font-weight:700;
}

.card{
    border:1px solid #e0e5ea;
    border-radius:14px;
    box-shadow:0 4px 16px rgba(11,47,107,.04);
}

.card-header{
    background:transparent;
}

.srf-stat-card .card-body{
    position:relative;
    min-height:145px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}

.srf-stat-card span,
.srf-stat-card strong,
.srf-stat-card small{
    display:block;
}

.srf-stat-card span{
    color:#6b7280;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.srf-stat-card strong{
    margin:8px 0 3px;
    color:var(--srf-primary);
    font-size:34px;
    line-height:1;
}

.srf-stat-card small{
    color:#8a929a;
}

.srf-stat-icon{
    position:absolute;
    top:16px;
    right:16px;
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:#eef7f7;
    color:var(--srf-secondary);
    font-size:20px;
}

.srf-license-icon{
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border-radius:16px;
    background:#ecfdf3;
    color:#067647;
    font-size:28px;
}

.table>thead th{
    color:#6b7280;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.03em;
    background:#f8fafb;
    border-bottom-color:#e0e5ea;
}

.table>:not(caption)>*>*{
    padding:.9rem 1rem;
}

code{
    color:var(--srf-primary);
    background:#f4f7fa;
    border-radius:5px;
    padding:.12rem .3rem;
}

.srf-login-body{
    min-height:100vh;
    margin:0;
    background:
        radial-gradient(circle at 15% 15%,rgba(13,156,154,.18),transparent 32%),
        radial-gradient(circle at 85% 80%,rgba(11,47,107,.18),transparent 34%),
        #f5f7f9;
}

.srf-login-shell{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:24px;
}

.srf-login-card{
    width:min(460px,100%);
    padding:36px;
    border:1px solid #e0e5ea;
    border-radius:22px;
    background:#fff;
    box-shadow:0 30px 80px rgba(11,47,107,.12);
}

.srf-login-card h1{
    margin:14px 0 5px;
    color:var(--srf-primary);
    font-size:30px;
    font-weight:800;
}

.srf-login-card p{
    margin:0;
    color:#6b7280;
}

.srf-logo-mark{
    width:56px;
    height:56px;
    display:grid;
    place-items:center;
    border-radius:16px;
    color:#fff;
    background:linear-gradient(135deg,var(--srf-secondary),var(--srf-primary));
    font-size:15px;
    font-weight:800;
    letter-spacing:.06em;
}

.srf-login-security{
    margin-top:22px;
    text-align:center;
    color:#7c858e;
    font-size:12px;
}

.app-footer{
    color:#7c858e;
    font-size:12px;
}

@media(max-width:991.98px){
    .app-sidebar{
        transform:translateX(-100%);
        transition:transform .2s ease;
    }

    body.srf-sidebar-open .app-sidebar{
        transform:translateX(0);
    }

    body.srf-sidebar-open:after{
        content:"";
        position:fixed;
        inset:0;
        z-index:1037;
        background:rgba(0,0,0,.35);
    }

    body.srf-sidebar-open .app-sidebar{
        z-index:1038;
    }
}


/* SiteRFlow Cloud Dashboard v0.2 */
.srf-chart-wrap{
    position:relative;
    min-height:330px;
    height:330px;
}

.srf-funnel-step{
    margin-bottom:22px;
}

.srf-funnel-step:last-child{
    margin-bottom:0;
}

.srf-funnel-step .progress{
    height:14px;
    border-radius:999px;
    overflow:hidden;
}

.srf-funnel-step .progress-bar{
    min-width:2px;
    border-radius:999px;
}


/* SiteRFlow Cloud Dashboard v0.3 */
.srf-credential-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid #edf0f2;
}

.srf-credential-row:last-child{
    border-bottom:0;
}

.srf-config-page{
    padding:16px;
    border:1px solid #e0e5ea;
    border-radius:12px;
    background:#fbfcfd;
}


/* SiteRFlow Cloud Dashboard v0.4 */
.srf-health-icon{
    width:46px;
    height:46px;
    display:grid;
    place-items:center;
    border-radius:14px;
    font-size:22px;
}

.srf-health-icon.ok{
    background:#ecfdf3;
    color:#067647;
}

.srf-health-icon.bad{
    background:#fef3f2;
    color:#b42318;
}
