*  {
   box-sizing: border-box;
    margin: 0;
  padding: 0;
}

body {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
   color: #c9d1d9;
    background-color: #0d1117;
  padding: 24px;
}

.tracker-app {
  max-width: 1450px;
    background-color: #161b22;
   border: 1px solid #30363d;
   border-radius: 12px;
  padding: 24px;
}

.app-header h1 {
    font-size: 22px;
    color: #58a6ff;
  margin-bottom: 20px;
}


.tracker-main {
   display: flex;
   gap: 16px;
   align-items: flex-start;
  overflow-x: auto;
}


.column-header {
   height: 64px;
  border-bottom: 1px solid #30363d;
   margin-bottom: 12px;
   padding-bottom: 8px;
  display: flex;
   flex-direction: column;
  justify-content: space-between;
}

   .column-header h2 {
   font-size: 15px;
  color: #f0f6fc;
}

      .column-header h3 {
   font-size: 15px;
   color: #84b610;
  text-align: center;
}

.header-subrow {
   font-size: 11px;
  color: #8b949e;
   font-weight: 600;
    height: 16px;
  line-height: 16px;
}

.days-header {
  display: grid;
   grid-template-columns: repeat(7, 1fr);
  text-align: center;
    font-size: 11px;
   color: #8b949e;
    font-weight: bold;
   height: 16px;
  line-height: 16px;
}


.habits-column {
  flex: 0 0 260px;
   background-color: #0d1117;
    padding: 16px;
  border-radius: 8px;
  border: 1px solid #30363d;
}

.habits-list {
   display: flex;
   flex-direction: column;
  gap: 8px;
}

.habit-input {
         border: 1px solid #30363d;
           background-color: #161b22;
           color: #f0f6fc;
     padding: 0 12px;
   border-radius: 6px;
    font-size: 13px;
  height: 36px; 
  width: 100%;
}

       .habit-input:focus {
    outline: none;
  border-color: #58a6ff;
}


       .weeks-wrapper { 
  display: flex;
  gap: 12px;
  flex: 1;
}

.week-card {
       flex: 1;
  min-width: 200px;
   background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
  padding: 16px;
}

.checkbox-matrix {
   display: flex;
   flex-direction: column;
  gap: 8px; 
}

.habit-row {
  display: grid;
   grid-template-columns: repeat(7, 1fr);
   height: 36px; 
            align-items: center;
  justify-items: center;
   border-bottom: 1px solid rgba(48, 54, 61, 0.4); 
}

.habit-row input[type="checkbox"] {
  width: 16px;
   height: 16px;
   cursor: pointer;
  accent-color: #238636;
}


 .analytics-section  {
    border-top: 1px solid  #131517;
    margin-top: 22px;
     padding: 20px;

 }

 .analytics-section h2 {
    color: #58a6ff;
      margin-bottom: 14px;
        font-size: 16px;
      
 }

  .chart-container {
           display: flex;
       gap: 16px;
      flex-wrap: wrap;

  }
   
  .chart-card {
     border-radius: 10px;
      min-width: 310px;
       background-color:  #101721;
        border: 1px solid #30363d;
         padding: 16px;
          flex: 1;

  }

   .chart-card h3 {
        font-size: 14px;
      margin-bottom: 12px;
       color: #c9d1d9;
        text-align: center;
        
   }
