    /* Container matches video size and anchors the absolute overlay */
    .video-container {
      margin: auto;
      position: relative;
      max-width: 1280px;
      height: 720px;
      margin-bottom: 20px;
    }

    /* The interactive overlay, hidden by default */
    #question-overlay {
      display: none; 
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85); /* Dark background to hide video */
      color: #fff;
      z-index: 10; /* Ensure it sits on top of the player */
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-family: sans-serif;
    }

    .question-box {
      background: #2b2b2b;
      padding: 24px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid #444;
      max-width: 80%;
    }

     #question-overlay2 {
      display: none; 
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      color: #fff;
      z-index: 10;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-family: sans-serif;
    }

    .question-box2 {
      background: #2b2b2b;
      padding: 24px;
      border-radius: 8px;
      text-align: center;
      border: 1px solid #444;
      width: 80%;
      max-width: 500px;
    }

    .options {
      margin-top: 15px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

/* New styles for the text area */
    textarea {
      width: 100%;
      box-sizing: border-box; /* Ensures padding doesn't break width */
      padding: 10px;
      margin-top: 15px;
      margin-bottom: 15px;
      border-radius: 4px;
      border: 1px solid #666;
      background: #1e1e1e;
      color: #fff;
      font-family: inherit;
      resize: vertical; /* Allows vertical stretching, but not horizontal */
    }

    button {
      padding: 10px 15px;
      background: #444;
      color: white;
      border: none;
      cursor: pointer;
      border-radius: 4px;
      transition: background 0.2s;
      font-size: 16px;
    }

    button:hover {
      background: #666;
    }

    #feedback {
      display: none;
      margin-top: 15px;
      color: #ff6b6b;
      font-weight: bold;
    }
