:root {
  --background: #060c13;
  --dark-bg: #06090f;
  --surface: #0b121c;
  --surface-soft: #0f1723;
  --border: #141926;
  --outline: #0e1116;
  --shadow: #04090e;
  --menu-bg: #030407;
  --sb-logo-color: #2e72b3;
  --sb-active-i-color: #3fa0fa;
  --sb-active-bg: #0b1826;
  --sb-scroll-bg: #15314e;
  --sb-title-text: #9a9fa5;
  --blue-active-text-i: #0b1826;
  --white-text: #ffffff;
  --muted-text: #9fb0c3;
  --muted-strong: #c7d2de;
  --chart-red: #f43f5e;
  --chart-green: #4ade80;
  --chart-blue: #60a5fa;
  --chart-yellow: #f59e0b;
  --chart-purple: #8884d8;
  --chart-white: #d1d5db;
  --task-pink: #df2f8c;
  --task-purple: #9d40ed;
  --task-light-purple: #706dff;
  --task-blue: #2873ec;
  --calendar-yellow-bg: #352206;
  --calendar-yellow: #ffd230;
  --calendar-red-bg: #340c11;
  --calendar-red: #ffa2a2;
  --calendar-green-bg: #022b16;
  --calendar-green: #7bf1a8;
  --team-performance-blue: #3fa0fa;
  --project-green-bg: #052f1c;
  --project-green: #05df72;
  --project-yellow-bg: #37260c;
  --project-yellow: #e17100;
  --project-blue-bg: #0e2040;
  --project-blue: #155dfc;
  --project-red-bg: #ffe2e2;
  --project-red: #e7000b;
  --success-bg: rgba(34, 197, 94, 0.16);
  --warning-bg: rgba(245, 158, 11, 0.16);
  --danger-bg: rgba(244, 63, 94, 0.16);
  --info-bg: rgba(63, 160, 250, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

body {
  min-height: 200vh;
}

.container {
  width: 84%;
  position: relative;
  left: 15%;
  top: 100px;
  padding: 20px;
  margin-bottom: 30px;
}

.container-boxes {
   display: grid;
  grid-template-columns: repeat(4, 25%);
  margin-top: 25px;
  gap: 10px;
}

.container-boxes-title {
  margin-bottom: 20px;
}

.container-box {
  width: 330px;
  padding-inline: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  background-color: var(--dark-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 1px solid var(--outline);
  box-shadow: 0px 3px 12px var(--shadow);
  height: 135px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.container-box-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container-box-title svg {
  color: var(--sb-active-i-color);
  background-color: var(--sb-active-bg);
  padding: 10px;
  border-radius: 15px;
  width: 35px;
  height: 35px;
}

.container-box-title h2 {
  font-size: 16px;
  font-weight: 500;
}

.container-box span {
  font-size: 30px;
  font-weight: 800;
}

.container-box p {
  color: var(--sb-title-text);
  font-size: 14px;
  font-weight: 300;
}

/* container second part */
/* container second part */
/* container second part */
/* container second part */
/* container second part */
/* container second part */
/* container second part */

.container-charts {
  display: flex;
  gap: 25px;
  width: 727px;
  height: 365px;
  padding-inline: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  background-color: var(--dark-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 1px solid var(--outline);
  box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.6);
}

.container-donutChart-title h1 {
  font-size: 18px;
  margin-top: 15px;
}

.conatiner-breakdown-title h2 {
  font-size: 18px;
  margin-bottom: 25px;
}

.container-donutChart-breakdown {
  width: 700px;
  height: 300px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 30px;
}

.container-breakdown-charts-status {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container-breakdown-chart {
  background-color: var(--background);
  width: 340px;
  height: 40px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0 12px;
  position: relative;
}

.breakdown-chart-green::before {
  content: "";
  position: absolute;
  background-color: var(--chart-green);
  border-radius: 50px;
  height: 12px;
  width: 12px;
}

.breakdown-chart-blue::before {
  content: "";
  position: absolute;
  background-color: var(--chart-blue);
  border-radius: 50px;
  height: 12px;
  width: 12px;
}

.breakdown-chart-yellow::before {
  content: "";
  position: absolute;
  background-color: var(--chart-yellow);
  border-radius: 50px;
  height: 12px;
  width: 12px;
}

.breakdown-chart-red::before {
  content: "";
  position: absolute;
  background-color: var(--chart-red);
  border-radius: 50px;
  height: 12px;
  width: 12px;
}

.container-breakdown-chart p {
  margin-left: 15px;
}

.status-indicator {
  width: 80px;
  height: 8px;
  border-radius: 50px;
  background-color: var(--white-text);
}

.container-first-charts {
   display: grid;
  grid-template-columns: repeat(2, 50%);
  margin-top: 25px;
  gap: 20px;
}



.grid {
  display: grid;
  grid-template-columns: repeat(3, 33%);
  margin-top: 25px;
}

.grid .card {
  background-color: var(--dark-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 1px solid var(--outline);
  box-shadow: 0px 3px 12px var(--shadow);
  padding-inline: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-right: 18px;
  margin-bottom: 18px;
}

.grid .card h3 {
  font-size: 17px;
  color: white;
  margin-bottom: 14px;
}

.grid-card-header { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.grid-card-header h3 {
  font-size: 13px;    
  color: #8fa1c7;
  font-weight: 500;
  margin: 0;
}

.grid-card-icon {
  width: 35px;
  height: 35px;
  color: var(--sb-active-i-color);
  background-color: var(--sb-active-bg);
  padding: 8px;
  border-radius: 12px;
  flex-shrink: 0;
}

.grid canvas {
  height: 210px !important;
}

/* donut */
.grid .donut-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  height: 210px;
}
.grid .center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.grid .center-text b {
  font-size: 22px;
  color: #fff;
}
.grid .center-text span {
  font-size: 11px;
  color: #64748b;
}

.grid .legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  font-size: 11px;
  color: #94a3b8;
}
.grid .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}

/* progress */
.grid .progress {
  margin-bottom: 14px;
}
.grid .progress-top {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
  color: #9fb0d4;
}
.progress-label-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}
.progress-label-icon svg {
  color: #fff;
  background-color: #3b82f6;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Progress color variants */
.progress-label-icon.blue-color svg {
  background-color: var(--chart-blue);
}
.progress-label-icon.purple-color svg {
  background-color: var(--task-light-purple);
}
.progress-label-icon.pink-color svg {
  background-color: var(--task-purple);
}
.progress-label-icon.orange-color svg {
  background-color: var(--task-pink);
}
.grid .bar {
  height: 6px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
}
.grid .fill {
  height: 100%;
  border-radius: 999px;
}

.grid .blue {
  background: var(--task-blue);
}
.grid .purple {
  background: var(--task-light-purple);
}
.grid .pink {
  background: var(--task-purple);
}
.grid .orange {
  background: var(--task-pink);
}
.grid .green {
  background: var(--chart-green);
}
.grid .red {
  background: var(--project-red);
}

/* calendar */
.grid .calendar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #8fa1c7;
}
.grid .week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 6px;
}
.grid .calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.grid .day {
  height: 52px;
  border: 1px solid #1e293b;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #64748b;
}
.grid .day.active {
  border: 2px solid #3b82f6;
  color: #fff;
  background: #08152a;
}
.grid .badge {
  margin-top: 4px;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
}

/* project */
.grid .project {
  margin-bottom: 14px;
}
.project-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.project-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #3b82f6;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}

/* Project icon color variants */
.project-icon-wrapper.green-color {
  background-color: var(--chart-green);
}
.project-icon-wrapper.blue-color {
  background-color: var(--chart-blue);
}
.project-icon-wrapper.orange-color {
  background-color: var(--task-pink);
}
.project-icon-wrapper.red-color {
  background-color: var(--chart-red);
}

.project-bar-wrapper {
  flex: 1;
}
.project-label {
  font-size: 14px;
  color: #9fb0d4;
  margin-bottom: 4px;
  display: block;
}
.project-label-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-label-icon svg {
  color: #fff;
  background-color: #3b82f6;
  padding: 6px;
  border-radius: 6px;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
}
.grid .status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  color: #9fb0d4;
  background-color: transparent;
  min-width: fit-content;
  white-space: nowrap;
}

.grid .timeline p {
  font-size: 14px;
  margin: 6px 0;  
  color: #8fa1c7;
  display: flex;
  align-items: center;
  gap: 8px;
}

.timeline{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #3b82f6;
  border-radius: 5px;
  fill: #fff;
  flex-shrink: 0;
  font-size: 12px;
  outline: none;
  border: none;
}

.timeline-icon svg{
  fill: white;
}

@media (max-width: 1000px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
 

/* BOTTOM SECTION STYLES */
.bottom-grid {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  width: 98%;
}

.bottom-section {
  margin-top:20px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
  width: 98%;
}

/* BOTTOM CARD */
.bottom-card {
  background-color: var(--dark-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: 1px solid var(--outline);
  box-shadow: 0px 3px 12px var(--shadow);
  padding-inline: 20px;
  padding-top: 15px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.bottom-card canvas{
  width: 100% !important;
}

/* BOTTOM TITLES */
.bottom-card h3 {
  font-size: 17px;
  color: white;
  margin-bottom: 14px;
}

/* BOTTOM TIMELINE */
.bottom-timeline {
  position:relative;
}

.bottom-timeline::before {
  content:'';
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:2px;
  background:#1e293b;
}

.bottom-timeline-item {
  display:flex;
  align-items:center;
  margin-bottom:20px;
  position:relative;
}

.bottom-dot {
  width:10px;
  height:10px;
  background:#ef4444;
  border-radius:50%;
  position:absolute;
  left:16px;
}

.bottom-bar {
  margin-left:40px;
  flex: none;
  width: 80%;
  min-width: 180px;
  max-width: 95%;
  height:48px;
  border-radius:999px;
  display:flex;
  align-items:center;
  padding:0 16px;
  font-size:14px;
  justify-content:space-between;
  transition: width 0.25s ease;
}

.bottom-blue { background: linear-gradient(90deg,#3b82f6,#2563eb); }
.bottom-purple { background: linear-gradient(90deg,#a855f7,#7c3aed); }
.bottom-green { background: linear-gradient(90deg,#22c55e,#16a34a); }
.bottom-orange { background: linear-gradient(90deg,#f59e0b,#d97706); }

.bottom-bar small {
  opacity:0.8;
}

/* BOTTOM ACTIVITY */
.bottom-activity {
  display:flex;
  align-items:center;
  margin-bottom:16px;
}

.bottom-activity img {
  width:36px;
  height:36px;
  border-radius:50%;
  margin-right:12px;
}

.bottom-activity .action {
  color:#64748b;
}

.bottom-activity span {
  font-size:13px;
  color:#64748b;
}

/* BOTTOM GOALS */
.bottom-goal {
  margin-bottom:18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.bottom-goal-top {
  display:flex;
  justify-content:space-between;
  font-size:14px;
}

.bottom-badge {
  font-size:11px;
  padding:4px 8px;
  border-radius:8px;
}

.bottom-blue-badge { background:#1e3a8a; color:#93c5fd; }
.bottom-yellow-badge { background:#78350f; color:#fcd34d; }
.bottom-green-badge { background:#064e3b; color:#6ee7b7; }

.bottom-progress {
  height:8px;
  background:#1e293b;
  border-radius:999px;
  margin-top:8px;
  overflow:hidden;
}

.bottom-fill {
  height:100%;
}

.bottom-fill.blue { background:#3b82f6; }
.bottom-fill.yellow { background:#f59e0b; }
.bottom-fill.green { background:#22c55e; }



.footer{
  background-color: var(--dark-bg);
  width: 100%;
  height: 50px;
  border: 1px solid var(--border);
  outline: 1px solid var(--outline);
}


/* Full responsive/mobile version for main dashboard content */

* {
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .container {
    width: calc(100% - 15%);
    left: 15%;
    padding: 18px;
  }

  .container-boxes {
    grid-template-columns: repeat(2, 1fr);
  }

  .container-box {
    width: 100%;
  }

  .container-first-charts {
    grid-template-columns: 1fr;
  }

  .container-charts {
    width: 100%;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .grid .card {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  body {
    min-height: 100vh;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    left: 0;
    top: 80px;
    padding: 14px;
    margin-bottom: 24px;
  }

  .container-boxes-title {
    margin-bottom: 14px;
  }

  .container-boxes {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .container-box {
    width: 100%;
    min-height: 130px;
    height: auto;
    padding: 16px;
    border-radius: 10px;
  }

  .container-box-title h2 {
    font-size: 14px;
  }

  .container-box-title svg {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 12px;
  }

  .container-box span {
    font-size: 26px;
  }

  .container-box p {
    font-size: 13px;
  }

  .container-first-charts {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .container-charts {
    width: 100%;
    height: auto;
    padding: 16px;
    flex-direction: column;
    gap: 18px;
  }

  .container-donutChart-title h1,
  .conatiner-breakdown-title h2 {
    font-size: 16px;
    margin-top: 0;
  }

  .container-donutChart-breakdown {
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 20px;
  }

  .container-donutChart-breakdown canvas {
    max-width: 240px !important;
    max-height: 240px !important;
  }

  .container-breakdown-charts-status {
    width: 100%;
    gap: 12px;
  }

  .container-breakdown-chart {
    width: 100%;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .container-breakdown-chart p {
    font-size: 13px;
    margin-left: 18px;
  }

  .status-indicator {
    width: 64px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .grid .card {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
    padding: 16px;
  }

  .grid .card h3 {
    font-size: 16px;
  }

  .grid-card-header h3 {
    font-size: 13px;
  }

  .grid-card-icon {
    width: 34px;
    height: 34px;
    padding: 8px;
  }

  .grid canvas {
    width: 100% !important;
    max-width: 100%;
    height: 190px !important;
  }

  .grid .donut-wrap {
    height: 190px;
  }

  .grid .legend {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .grid .progress-top {
    font-size: 13px;
    gap: 10px;
  }

  .progress-label-icon {
    min-width: 0;
  }

  .progress-label-icon span,
  .project-label {
    overflow-wrap: anywhere;
  }

  .grid .week,
  .grid .calendar {
    gap: 6px;
  }

  .grid .day {
    height: 44px;
    border-radius: 9px;
    font-size: 11px;
  }

  .grid .badge {
    font-size: 8px;
    padding: 2px 4px;
  }

  .project-row {
    align-items: flex-start;
  }

  .project-icon-wrapper {
    width: 34px;
    height: 34px;
  }

  .grid .status {
    font-size: 9px;
    padding: 3px 7px;
  }

  .timeline {
    gap: 8px;
  }

  .grid .timeline p {
    font-size: 13px;
  }

  .timeline-icon {
    width: 28px;
    height: 28px;
  }

  .bottom-grid,
  .bottom-section {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bottom-section {
    margin-top: 14px;
  }

  .bottom-card {
    width: 100%;
    padding: 16px;
  }

  .bottom-card h3 {
    font-size: 16px;
  }

  .bottom-card canvas {
    width: 100% !important;
    height: 220px !important;
  }

  .bottom-timeline::before {
    left: 14px;
  }

  .bottom-timeline-item {
    margin-bottom: 16px;
  }

  .bottom-dot {
    left: 10px;
  }

  .bottom-bar {
    margin-left: 30px;
    width: calc(100% - 30px);
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 46px;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    gap: 8px;
  }

  .bottom-bar small {
    white-space: nowrap;
  }

  .bottom-activity {
    align-items: flex-start;
  }

  .bottom-activity img {
    width: 34px;
    height: 34px;
    margin-right: 10px;
  }

  .bottom-activity p {
    font-size: 13px;
    line-height: 1.35;
  }

  .bottom-activity span {
    font-size: 12px;
  }

  .bottom-goal {
    padding: 12px;
  }

  .bottom-goal-top {
    gap: 10px;
    font-size: 13px;
  }

  .bottom-badge {
    white-space: nowrap;
  }

  .footer {
    width: 100%;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    top: 72px;
    padding: 12px;
  }

  .container-box {
    padding: 14px;
  }

  .container-box span {
    font-size: 24px;
  }

  .container-charts,
  .grid .card,
  .bottom-card {
    padding: 14px;
  }

  .container-donutChart-breakdown canvas {
    max-width: 210px !important;
    max-height: 210px !important;
  }

  .grid canvas {
    height: 175px !important;
  }

  .grid .donut-wrap {
    height: 175px;
  }

  .grid .center-text b {
    font-size: 20px;
  }

  .grid .day {
    height: 38px;
    font-size: 10px;
  }

  .grid .badge {
    display: none;
  }

  .bottom-card canvas {
    height: 190px !important;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .bottom-goal-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
