
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family:
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    background: #E8F6FF !important;
    color: #475569;
    min-height: 100vh;
}
input,
select,
textarea,
button {
    font-family: inherit;
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    background: #26324c;
    border-radius: 8px;
}

::-webkit-scrollbar-track {
    background: #101626;
}

::-webkit-scrollbar-corner {
    background: #101626;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #26324c #101626;
}
table {
    border-collapse: collapse;
    width: 100%;
}
th {
    padding: 9px 12px;
    text-align: left;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
td {
    padding: 11px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    font-size: 13px;
}
textarea{
    resize: none;
}

#globalModalTitle{
    font-weight: 700;
}

.form-label{
    color: #475569 !important;
    font-weight: 700;
    font-size: 14px;
}
.form-control{
    background-color: #f2f2f2 !important;
}
.form-control:focus{
    color: #475569  !important;
}
.card {
    background: rgba(188, 183, 183, 0.15);
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(112, 78, 78, 0.54);
  }
.btn {
    border: none;
    border-radius: 9px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}
.btn:hover {
    opacity: 0.88;
}
.inp {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
    padding: 10px 13px;
    color: #f1f5f9;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}
.inp:focus {
    border-color: rgba(255, 255, 255, 0.25);
}
.hrow:hover td {
    background: rgba(255, 255, 255, 0.018);
}
.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}
.dot {
    border-radius: 50%;
    flex-shrink: 0;
}
.ovl {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 16px;
}
.mbox {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 26px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
}
.fade {
    animation: fi 0.3s ease both;
}
@keyframes fi {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.nb {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.18s;
    background: transparent;
    color: #64748b;
}

.sidebar {
    width: 236px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(188, 183, 183, 0.15);
    border-right: 1px solid rgba(255,255,255,.06);
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar a{
    text-decoration: none;
    color: #475569;
    font-weight: 700;
}

/* Header */
.sidebar-header {
    padding: 22px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.logo {
    display: flex;
    gap: 4px;
    margin-bottom: 7px;
}

.logo span {
    width: 20px;
    height: 20px;
    border-radius: 5.4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.6px;
    font-weight: 900;
    color: #fff;
}

/* Colors */
.bg-green { background:#10B981; }
.bg-blue { background:#3B82F6; }
.bg-yellow { background:#F59E0B; }
.bg-violet { background:#8B5CF6; }
.bg-red { background:#EF4444; }

.subtitle {
    font-size: 10px;
    color: #475569;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* User */
.sidebar-user {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #10B98125;
    border: 1px solid #10B98133;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: #10B981;
    margin-bottom: 8px;
}

.username {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.role {
    font-size: 11px;
    color: #64748B;
    margin-top: 2px;
}

.org {
    font-size: 11px;
    color: #10B981;
    margin-top: 2px;
    font-weight: 600;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    padding: 10px 7px;
}

.nav-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #94A3B8;
    margin-bottom: 6px;
    cursor: pointer;
}

.nav-btn span:first-child {
    width: 16px;
}

.nav-btn:hover {
    background: rgba(255,255,255,.04);
}

.nav-btn.active {
    background: #10B98118;
    color: #10B981;
    border-color: #10B98128;
}

/* Dot */
.dot {
    margin-left: auto;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10B981;
}

/* Footer */
.sidebar-footer {
    padding: 8px 7px 16px;
}

.logout-btn {
    width: 100%;
    background: rgba(239,68,68,.07);
    border: 1px solid rgba(239,68,68,.15);
    color: #F87171;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    border-radius: 8px;
    cursor: pointer;
}


/* Layout */
.main {
    margin-left: 236px;
    padding: 28px;
    min-height: 100vh;
}

.fade {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header h1 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 4px;
}

.header .sub {
    font-size: 12px;
    color: #64748B;
}

/* Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    margin: 20px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}


/* Stats */
.stat .number {
    font-size: 28px;
    font-weight: 900;
}

.stat .label {
    font-size: 11px;
    color: #64748B;
}

.gray { color: #94A3B8; }
.green { color: #10B981; }
.yellow { color: #F59E0B; }

/* Center Card */
.center {
    text-align: center;
}

.title {
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 10px;
}

.big-score {
    font-size: 36px;
    font-weight: 900;
    color: #F59E0B;
}

/* Pills */
.pill {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
}

.warning {
    color: #F59E0B;
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.4);
}

/* Text */
.desc {
    font-size: 12px;
    color: #64748B;
    margin-top: 8px;
}



/* Layout */
.main {
    margin-left: 236px;
    padding: 28px;
}

.fade {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
.topbar {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.topbar h1 {
    font-size: 22px;
    font-weight: 900;
    margin: 0;
}

.sub {
    font-size: 12px;
    color: #64748B;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: #94A3B8;
    cursor: pointer;
}

.btn-primary,.btn-primary:hover {
    background: #10B981;
    color: #fff;
    border: none;
}

.btn-danger,.btn-danger:hover {
    background: #d44932;
    color: #fff;
    border: none;
}

.btn-warning,.btn-warning:hover {
    background: #a5d088;
    color: #fff;
    border: none;
}


.btn-sm {
    padding: 5px 10px;
    font-size: 11px;
    color: #E2E8F0;
}

.btn-select {
    background: rgba(59,130,246,.1);
    border: 1px solid rgba(59,130,246,.2);
    color: #93C5FD;
}

/* Search */
.search-wrap {
    margin-bottom: 12px;
}

.input {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.05);
    color: #fff;
    font-size: 12px;
    width: 270px;
}


/* Table */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-size: 12px;
    color: #64748B;
    padding: 12px;
}

td {
    padding: 12px;
    font-size: 12px;
}

.row:hover {
    background: rgba(255,255,255,.03);
}

/* Text */
.name {
    font-weight: 700;
}

.email {
    font-size: 11px;
    color: #64748B;
}

.dept {
    color: #475569;
    font-weight: 600;
}

.muted {
    color: #64748B;
}

/* Badges */
.badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.success {
    background: rgba(16,185,129,.12);
    color: #10B981;
    border: 1px solid #10B981;
}

.warning {
    background: rgba(245,158,11,.12);
    color: #F59E0B;
}

.info {
    background: rgba(14,165,233,.12);
    color: #0EA5E9;
    border: 1px solid #0EA5E9;
}

/* Pills */
.pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid;
}

.blue {
    color: #3B82F6;
    border-color: rgba(59,130,246,.4);
    background: rgba(59,130,246,.12);
}

.red {
    color: #EF4444;
    border-color: rgba(239,68,68,.4);
    background: rgba(239,68,68,.12);
}

/* Typography */
.title {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 20px;
}

.subtitle {
    color: #64748B;
    font-size: 12px;
    margin-bottom: 22px;
}


/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-bottom: 18px;
}

.stat-number {
    font-size: 30px;
    font-weight: 900;
}

.stat-label {
    font-size: 11px;
    color: #64748B;
    margin-top: 4px;
}

.green { color: #10B981; }
.blue { color: #60A5FA; }
.yellow { color: #F59E0B; }

/* Section */
.section-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 12px;
}

/* Survey link */
.survey-link {
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    padding: 11px 13px;
    font-family: monospace;
    font-size: 11px;
    color: #10B981;
    word-break: break-all;
    margin-bottom: 9px;
}

.description {
    font-size: 11px;
    color: #64748B;
    line-height: 1.7;
}

/* Dimensions */
.dimension {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    background: rgba(255,255,255,.02);
    border-radius: 9px;
    margin-bottom: 8px;
}

.dimension-title {
    font-size: 12px;
    font-weight: 700;
    color: #E2E8F0;
}

.dimension-sub {
    font-size: 10px;
    color: #64748B;
}

/* Icons */
.icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 800;
}

/* Colors */
.green-bg { background: #10B98118; border: 1px solid #10B98144; color: #10B981; }
.blue-bg { background: #3B82F618; border: 1px solid #3B82F644; color: #3B82F6; }
.yellow-bg { background: #F59E0B18; border: 1px solid #F59E0B44; color: #F59E0B; }
.purple-bg { background: #8B5CF618; border: 1px solid #8B5CF644; color: #8B5CF6; }
.red-bg { background: #EF444418; border: 1px solid #EF444444; color: #EF4444; }

/* Borders */
.green-border { border-left: 3px solid #10B981; }
.blue-border { border-left: 3px solid #3B82F6; }
.yellow-border { border-left: 3px solid #F59E0B; }
.purple-border { border-left: 3px solid #8B5CF6; }
.red-border { border-left: 3px solid #EF4444; }

/* Layout */
.grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}


.card-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 12px;
}

/* Chart */
.chart-scroll {
    overflow-x: auto;
}

.bar-chart {
    width: 340px;
    height: 170px;
}

.bar-chart line {
    stroke: rgba(255,255,255,.05);
    stroke-width: 1;
}

.bar-chart text {
    fill: #64748B;
    font-size: 9px;
    text-anchor: middle;
}

.bar-chart text.value {
    font-weight: 700;
}

/* Bar Colors */
.bar rect {
    rx: 4;
    opacity: .9;
}

.bar.green rect { fill: #10B981; }
.bar.blue rect { fill: #3B82F6; }
.bar.orange rect { fill: #F59E0B; }
.bar.purple rect { fill: #8B5CF6; }
.bar.red rect { fill: #EF4444; }

/* Table */
.table {
    display: grid;
    grid-template-columns: 48px 1fr 1.5fr;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    overflow: hidden;
}

.thead {
    background: #1A2332;
    padding: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
}

.row {
    padding: 8px;
    font-size: 10px;
    border-top: 1px solid rgba(255,255,255,.05);
}

/* Row Colors */
.row.green { color: #10B981; }
.row.blue { color: #3B82F6; }
.row.orange { color: #F59E0B; }
.row.red { color: #EF4444; }

  
  /* GRID */
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
 
  
  .card-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #475569;
    margin-bottom: 12px;
  }
  
  /* ITEM */
  .item {
    margin-bottom: 15px;
  }
  
  .item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
  }
  
  .label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
  }
  
  /* ICON */
  .icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .icon-fill {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* COLORS */
  .green { background:#10B98118; border:1px solid #10B98144; color:#10B981; }
  .blue { background:#3B82F618; border:1px solid #3B82F644; color:#3B82F6; }
  .orange { background:#F59E0B18; border:1px solid #F59E0B44; color:#F59E0B; }
  .purple { background:#8B5CF618; border:1px solid #8B5CF644; color:#8B5CF6; }
  .red { background:#EF444418; border:1px solid #EF444444; color:#EF4444; }
  
  /* filled */
  .icon-fill.orange { background:#F59E0B; }
  .icon-fill.red { background:#EF4444; }
  .icon-fill.purple { background:#8B5CF6; }
  
  /* PROGRESS */
  .progress {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 99px;
    overflow: hidden;
  }
  
  .bar {
    height: 100%;
    border-radius: 99px;
  }
  
  .bar.green { background: linear-gradient(90deg,#10B98188,#10B981); }
  .bar.blue { background: linear-gradient(90deg,#3B82F688,#3B82F6); }
  .bar.orange { background: linear-gradient(90deg,#F59E0B88,#F59E0B); }
  .bar.purple { background: linear-gradient(90deg,#8B5CF688,#8B5CF6); }
  .bar.red { background: linear-gradient(90deg,#EF444488,#EF4444); }
  
  /* PILL */
  .pill {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
  }
  
  .pill.blue {
    background: rgba(59,130,246,.12);
    border: 1px solid rgba(59,130,246,.4);
    color: #3B82F6;
  }
  
  .pill.orange {
    background: rgba(245,158,11,.12);
    border: 1px solid rgba(245,158,11,.4);
    color: #F59E0B;
  }
  
  /* RECOMMENDATION */
  .rec {
    padding: 13px;
    border-radius: 13px;
    margin-bottom: 11px;
    background: rgba(255,255,255,.02);
    border: 1px solid #EF444444;
  }
  
  .rec.orange { border-left: 3px solid #F59E0B; }
  .rec.red { border-left: 3px solid #EF4444; }
  .rec.purple { border-left: 3px solid #8B5CF6; }
  
  .rec-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
  }
  
  .rec ul {
    padding-left: 14px;
    color: #94A3B8;
    font-size: 11px;
  }

  .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* 👈 prevents overflow */
}

#bar-chart{
    height: 500px;
}

#dimension-radar{
    width: 410px;
    height: 410px;
}

#doughnut{
    width: 400px;
    height: 400px;
}

.emp-chart{
    width: 200px;
    height: 200px;
    display: inline-block;
    margin-top: -70px;
}

.custom-table thead{
    background-color: #96bfe3;
}

.custom-table thead th{
    color: #000;
}

.custom-table td{
    font-size: 14px;
}

.interpretation-text{
    padding: 5px;
    font-size: 9px;
}

.employee-pillers{
    margin-bottom: 11px;
    padding: 11px 13px;
    background: rgba(255, 255, 255, .02);
    border-radius: 11px;
}

.rec-grid {
    display: flex;
    gap: 20px;      
}

.rec {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.3s;
    flex: min-content;
}

.rec:hover {
    transform: translateY(-5px);
}

.rec-header {
    margin-bottom: 10px;
}

.label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.icon-fill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}

.rec div {
    margin-top: 10px;
    font-size: 14px;
}

.rec div > div {
    font-weight: 600;
    margin-bottom: 4px;
}

.accordion {
    margin-top: 10px;
}

.acc-item {
    border-top: 1px solid #eee;
}

.acc-title {
    cursor: pointer;
    padding: 10px 0;
    font-weight: 600;
    position: relative;
    padding-right: 15px;
}

.acc-title::after {
    content: "+";
    position: absolute;
    right: 0;
    top:0;
    font-size: 25px;
    transition: 0.3s;
}

.acc-item.active .acc-title::after {
    content: "-";
}

.acc-content {
    display: none;
    transition: max-height 0.3s ease;
    width: 100%;          /* ✅ force full width */
    box-sizing: border-box;
    font-size: 14px;
    color: #555;
}

/* your list styling */
.rec-list {
    padding-left: 18px;
    margin: 0;
}

.acc-content .rec ul {
    padding-left: 14px;
    font-size: 13px;
}

.acc-content .rec-list li {
    margin-bottom: 6px;
    line-height: 1.4;
    font-size: 13px;
    color: #555;
}
