body {
    font-family: 'aptos', sans-serif;
    background: linear-gradient(to right, #f0f4f8, #e6ecf3);
    margin: 0;
    padding: 2rem;
    color: #333;
  }
  @font-face {
    font-family: 'aptos';
    src: url(aptos.ttf);
  }
  h1, h2, h3 {
    text-align: center;
    color: #1f3a60;
  }
  
  form, .lists {
    background: white;
    border-radius: 12px;
    padding: 1rem 2rem;
    margin: 1rem auto;
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  input[type="text"], input[type="number"], select {
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: calc(100% - 1rem);
    font-size: 1rem;
  }
  
  button {
    background: #1f8ceb;
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  button:hover {
    background: #156ab7;
  }
  
  label {
    display: block;
    margin: 0.3rem 0;
  }
  
  .grid-table {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid #ccc;
    margin: 1rem auto;
    max-width: 100%;
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  
  .grid-header {
    background: #1f3a60;
    color: white;
    font-weight: bold;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ccc;
  }
  
  .grid-table div {
    border: 1px solid #ccc;
    padding: 0.5rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
  }
  
  .subject-cell {
    background: linear-gradient(to right, #c2e9fb, #a1c4fd);
    border-radius: 6px;
    color: #123456;
    font-weight: 500;
  }
  
  .blocked {
    background: #ff4c4c;
    color: white;
    font-weight: bold;
  }
  
  #rosters, #teacher-rosters {
    margin-top: 2rem;
  }
  
  ul {
    padding-left: 1.5rem;
  }
  
  ul li {
    margin: 0.3rem 0;
  }
  