<style>
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

  #nyu-dental-stats-container {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: #333;
    max-width: 1200px;
    margin: auto;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 1rem;
  }

  .header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #4a0e6c;
  }

  #clock-container {
    text-align: right;
  }

  #clock-container p {
      margin: 0;
      font-size: 0.9rem;
      color: #666;
  }

  #real-time-clock {
    font-size: 1.5rem;
    font-weight: 500;
    color: #4a0e6c;
  }

  .main-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #4a0e6c;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.75rem;
  }

  .acceptance-rate-card .chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .chart-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(#8e44ad 0% 12.2%, #e0e0e0 12.2% 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  .chart-circle::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: 50%;
  }

  .chart-circle span {
      z-index: 1;
  }

  .chart-circle .rate {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a0e6c;
  }

  .chart-circle .label {
      font-size: 0.9rem;
      color: #666;
  }

  .acceptance-details {
      display: flex;
      justify-content: space-around;
      text-align: center;
  }

  .detail-title {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 0.25rem;
  }

    .detail-value {
        font-size: 1.2rem;
        font-weight: 500;
        margin-top: 0;
    }

  .stats-card .stat-item {
      margin-bottom: 1.5rem;
  }

    .stats-card .stat-item p {
        margin: 0 0 0.5rem 0;
        font-size: 1rem;
    }

  .progress-bar-container {
      background-color: #e0e0e0;
      border-radius: 20px;
      height: 25px;
      width: 100%;
  }

  .progress-bar {
      background-color: #8e44ad;
      height: 100%;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      color: white;
      font-weight: 500;
      padding-right: 10px;
      box-sizing: border-box;
      transition: width 0.8s ease-in-out;
  }

  .dat-score { width: 70%; } /* 21/30 */
  .gpa-score { width: 90.5%; } /* 3.62/4.0 */
  .science-gpa-score { width: 88%; } /* 3.52/4.0 */

  .comparison-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 0.5rem;
      text-align: center;
      font-size: 0.9rem;
  }

    .comparison-grid div {
        padding: 0.5rem;
        border-radius: 5px;
    }

    .grid-header {
        font-weight: 700;
        background-color: #f9f9f9;
    }

    .comparison-grid > div:nth-child(3n+1) {
        text-align: left;
        font-weight: 500;
    }

  .geo-card .chart-container {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 1rem;
  }

  .donut-chart {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: conic-gradient(
          #2ecc71 0% 31.3%,
          #3498db 31.3% 86.8%,
          #f1c40f 86.8% 100%
      );
  }

  .legend {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      font-size: 0.9rem;
  }

  .legend div {
      display: flex;
      align-items: center;
  }

    .legend .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        margin-right: 0.5rem;
    }

    .in-state { background-color: #2ecc71; }
    .out-of-state { background-color: #3498db; }
    .international { background-color: #f1c40f; }

  .map-card .disclaimer {
      font-size: 0.8rem;
      color: #777;
      font-style: italic;
  }

  #us-map-placeholder {
      background-color: #f9f9f9;
      border: 1px dashed #ccc;
      padding: 2rem;
      text-align: center;
      border-radius: 8px;
      color: #888;
  }

  .financial-item, .income-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid #f0f0f0;
  }

    .financial-item:last-child, .income-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .financial-value, .income-value {
        font-size: 1.3rem;
        font-weight: 500;
        color: #4a0e6c;
    }

    .citation {
        font-size: 0.7rem;
        color: #999;
        text-align: right;
        margin-top: 1rem;
    }

  @media (max-width: 768px) {
    #nyu-dental-stats-container {
        padding: 1rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    #clock-container {
        width: 100%;
        text-align: left;
        margin-top: 1rem;
    }
  }
</style>