 body {
      margin: 0;
      font-family: Arial, sans-serif;
      display: flex;
      height: 100vh;
    }
    /* Sidebar */
    .sidebar {
      width: 250px;
      background: #f4f4f4;
      padding: 15px;
      border-right: 1px solid #ccc;
      overflow-y: auto;
    }
    .sidebar h3 {
      margin: 0 0 15px 0;
      font-size: 18px;
      color: #333;
      text-align: center;
    }
    .sidebar a {
      display: block;
      padding: 10px;
      margin: 5px 0;
      text-decoration: none;
      color: #333;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
      line-height: 1.4em;
    }
    .sidebar a.active, .sidebar a:hover {
      background: #28a745;
      color: white;
    }

    /* Main...... */
    .main {
      flex: 1;
      padding: 16px;
      overflow-y: auto;
    }
    .question {
      font-size: 20px;
      margin-bottom: 15px;
    }
    .question img {
      max-width: 140px;
      margin-top: 10px;
      display: block;
    }
    .options label {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      background: #e9e9e9;
      margin-bottom: 8px;
      border-radius: 5px;
      cursor: pointer;
    }
    .options input {
      margin-right: 10px;
    }
    .options img {
      max-width: 100px;
      max-height: 60px;
      border-radius: 4px;
      border: 1px solid #ccc;
    }
    .btn-container {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
    }
    .btn {
      padding: 10px 20px;
      border: none;
      background: #28a745;
      color: white;
      border-radius: 5px;
      cursor: pointer;
    }
    .btn:hover {
      background: #218838;
    }
       /* Status......... */
    .status-panel {
      width: 180px;
      border-left: 1px solid #ccc;
      padding: 15px;
      background: #fafafa;
      overflow-y: auto;
    }
    .status-panel h3 {
      text-align: center;
      font-size: 16px;
      margin-bottom: 10px;
    }
    .status-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
    }
    .status-item {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      font-size: 14px;
      cursor: pointer;
      font-weight: bold;
    }
    .status-item.active {
      border: 2px solid #000;
    }
    .status-item.unanswered {
      background:rgb(198, 0, 0); 
      color: #000;
    }
    .status-item.answered {
      background:green; 
      color: #000;
    }
    
@media (max-width: 768px) {
  body {
    flex-direction: column; 
    height: auto;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
    order: 1;
  }

  .main {
    width: 100%;
    order: 2;
  }
.status-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid #ccc;
    order: 3;
  }

.sidebar a {
    font-size: 13px;
    padding: 8px;
  }

 .status-item {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .question {
    font-size: 18px;
  }
}