/*==================================================
  DESIGN SYSTEM
==================================================*/
:root {

    --primary: #0B1F3D;
    --secondary: #e97509;
    --tertiary: #c27d3d;
    --background: #F6F8FB;
    --surface: #FFFFFF;
    --surface-soft: #F9FAFB;

    --text: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;

    --border: #E2E8F0;
    --border-light: #EEF2F7;

    --success: #16A34A;
    --warning: #F59E0B;
    --danger: #DC2626;

    --font-title: "Poppins", sans-serif;
    --font-body: "Inter", sans-serif;

    --fs-display: clamp(2rem, 1.5rem + 1vw, 2.8rem);
    --fs-h1: clamp(1.5rem, 1.2rem + .8vw, 2rem);

    --fs-h2: 1.35rem;
    --fs-h3: 1.1rem;
    --fs-body: .95rem;
    --fs-small: .85rem;
    --fs-xs: .75rem;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --lh-tight: 1.2;
    --lh-normal: 1.6;

    --tracking: .3px;
    --tracking-wide: 2px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    --shadow-sm:
        0 2px 8px rgba(15, 23, 42, .05);
    --shadow-md:
        0 8px 25px rgba(15, 23, 42, .08);
    --shadow-lg:
        0 16px 45px rgba(15, 23, 42, .12);
    --transition: .25s ease;
    --topbar-height: 74px;
    --container-padding:
        clamp(1rem, 2vw, 3rem);

}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    width: 100%;
    min-height: 100%;
}
body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/*==================================================
    TYPOGRAPHY
==================================================*/
h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: var(--font-title);
    font-weight: var(--fw-bold);
    line-height: 1.2;
    color: var(--primary);
}
h1 {
    font-size: var(--fs-display);
}
h2 {
    font-size: var(--fs-h1);
}
h3 {
    font-size: var(--fs-h2);
}
h4 {
    font-size: var(--fs-h3);
}
p {
    margin-bottom: 1rem;
    color: var(--text-light);
}
small {
    font-size: var(--fs-small);
    color: var(--text-light);
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition);
}
a:hover {
    color: var(--secondary);
}
a:focus-visible {
    outline: none;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
button {
    border: none;
    outline: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
input,
textarea,
select {
    font-family: inherit;
    outline: none;
}
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}
::selection {
    background: var(--secondary);
    color: #fff;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #eef2f7;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}
:focus-visible {
    outline: 3px solid rgba(217, 130, 47, .25);
    outline-offset: 2px;
    border-radius: 6px;
}
.section-padding {
    padding: 80px 0;
}
.bg-white {
    background: var(--surface);
}
.bg-light {
    background: var(--surface-soft);
}
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.text-muted {
    color: var(--text-light) !important;
}
.shadow-card {
    box-shadow: var(--shadow-md);
}
.radius {
    border-radius: var(--radius-lg);
}
.transition {
    transition: all var(--transition);
}
/*==================================================
    TOP BAR
==================================================*/
.topbar {
    position: relative;
    z-index: 1000;
    background: var(--primary);
    border-bottom: 4px solid var(--secondary);
    box-shadow: var(--shadow-sm);
}
.topbar-inner {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}
.topbar-row {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
/*==================================================
    BRAND
==================================================*/
.brand-cluster {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.brand-logo {
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.brand-logo:hover {
    transform: translateY(-2px);
}
.brand-logo img {
    height: 60px;
}
/*==================================================
    CM PROFILE
==================================================*/
.cm-block {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    transition: var(--transition);
}
.cm-block:hover {
    background: rgba(255, 255, 255, .12);
}
.cm-photo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--secondary);
}
.cm-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cm-photo i {
    font-size: 1.2rem;
}
.cm-name {
    margin: 0;
    font-size: .82rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.2;
}
.cm-role {
    margin: 0;
    font-size: .68rem;
    color: rgba(255, 255, 255, .65);
    letter-spacing: .3px;
}
@media(max-width:991px) {
    .topbar-row {        
        min-height: 64px;
    }
    .brand-logo {
        width: 46px;
        height: 46px;
    }
    .brand-logo svg {
        width: 28px;
        height: 28px;
    }
    .cm-name,
    .cm-role {
        display: none;
    }
    .cm-block {
        padding: 6px;
    }
}
@media(max-width:576px) {

    .brand-logo {
        width: 42px;
        height: 42px;
    }
    .cm-photo {
        width: 36px;
        height: 36px;
    }
}
/*==================================================
    HERO SECTION
==================================================*/
.hero-wrap {
    min-height: calc(100vh - 78px);
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background-image: url('../images/bg_osrtc.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
/*=========================================
    LEFT PANEL
=========================================*/
.hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px var(--container-padding);
    color: #fff;
/*    background: linear-gradient(135deg,
            var(--primary) 0%,
            #12315f 100%);*/
    overflow: hidden;
}
/* Decorative circles */
.hero-left::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}
.hero-left::after {
    content: "";
    position: absolute;    
    width: 320px;
    height: 320px;
    left: -120px;
    bottom: -140px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .03);
}
/*=========================================
    EYEBROW
=========================================*/
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #FFD08A;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.eyebrow::before {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--secondary);
}
/*=========================================
    TITLE
=========================================*/
.hero-title {
    margin-bottom: 22px;
    /* font-size: clamp(2.2rem, 4vw, 3.4rem); */
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    font-size: 32px;
}
.hero-title span {
    color: var(--secondary);
}
/*=========================================
    DESCRIPTION
=========================================*/
.hero-sub {
    max-width: 560px;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    line-height: 1.8;
}
.bus-stage {
    margin-top: 10px;
}
.bus-stage svg {
    width: 100%;
    max-height: 250px;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .25));
}
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 30px;
/*    background: var(--background);*/
}
.hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: .5;
    pointer-events: none;
}
@media(max-width:991px) {
    .hero-left {
        padding: 60px 40px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
}

@media(max-width:768px) {
    .hero-left {
        padding: 45px 25px;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-sub {
        font-size: .95rem;
    }
    .stat {
        flex: 1 1 calc(50% - 10px);
    }
    .hero-right {
        padding: 35px 20px;
    }
}
@media(max-width:576px) {
    .hero-title {
        font-size: 1.7rem;
    }
    .stat {
        width: 100%;
    }
    .bus-stage {
        margin-top: 30px;
    }
}
.login-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    /*    background: var(--surface);*/
    background: #ffffff70;
    backdrop-filter: blur(9px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all .3s ease;
}
.login-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .15);
}
.login-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
}
.icon-badge {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #FFF6EC;
    color: var(--secondary);
    font-size: 1.8rem;
}
.login-card h2 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.7rem;
    font-weight: 700;
}

.form-label {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}
.input-group {
    margin-bottom: 5px;
}
.input-group-text {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-light);
    min-width: 48px;
    justify-content: center;
}
.form-control {
    height: 50px;
    border: 1px solid var(--border);
    border-left: none;
    font-size: .95rem;
    color: var(--text);
    box-shadow: none;
}
.form-control::placeholder {
    color: #94A3B8;
}
.form-control:focus {
    border-color: var(--secondary);
    box-shadow: none;
}
.input-group:focus-within .input-group-text {
    border-color: var(--secondary);
    color: var(--secondary);
}
#togglePwd {
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--border);
    border-left: none;
    color: var(--text-light);
    transition: .25s;
}
#togglePwd:hover {
    color: var(--secondary);
}
.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}
.form-check-input:checked {
    background: var(--primary);
    border-color: var(--primary);
}
.form-check-label {
    color: var(--text);
    font-size: .88rem;
}
.link-forgot {
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary);
}
.link-forgot:hover {
    color: var(--secondary);
}
.btn-govt {
    height: 52px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: all .3s ease;
}
.btn-govt:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}
.btn-govt:active {
    transform: scale(.98);
}
.btn-govt:disabled {
    opacity: .7;
}
.module-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}
.module-chips .chip {
    padding: 8px 14px;
    border-radius: 50px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 600;
    transition: .25s;
}
.module-chips .chip:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}
.alert-govt {
    border: none;
    border-radius: 12px;
    font-size: .9rem;
}
.alert-success {
    background: #ECFDF3;
    color: #15803D;
}
.alert-danger {
    background: #FEF2F2;
    color: #DC2626;
}
/* ==========================================================
==================== Module Dashboard =======================
========================================================== */
.module_dashboard_body {
    background-image: url('../images/bg_md2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.module-card{
    background: #7c93ff91;
    backdrop-filter: blur(5px);
    border-radius:20px;
    border:1px solid #ECECEC;
    padding:15px;
    height:100%;
    transition:.3s;
    cursor:pointer;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}
.module-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}
.module-icon{
    width: 50px;
    height: 50px;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:25px;
    margin-bottom:10px;
}
.module-title{
    font-size:1.2rem;
    font-weight:700;
    color:#23344D;
    margin-bottom:10px;
}
.module-desc{
    color:#ffffff;
    font-size:.9rem;
    min-height:55px;
}
.module-btn{
    margin-top:20px;
}


/* From Uiverse.io by adamgiebl */ 
.cssbuttons-io-button {
  background: var(--primary);
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #714da6;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
}

.cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em var(--secondary);
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon i {
  width: 1.1em;
  transition: transform 0.3s;
  color: #7b52b9;
}

.cssbuttons-io-button:hover .icon i {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}
