
    /* Layout for form + ad sections */
    .main-section {
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      padding: 20px;
    }

    .ad-section {
      flex: 1;
      max-width: 250px;
      min-height: 300px;
      background: #ffffff;
      border: 2px dashed #ccc;
      border-radius: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #999;
      font-weight: 600;
    }

    .container {
      background: #fff;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
      max-width: 400px;
      width: 100%;
    }

    h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      color: #333;
    }

    label {
      font-weight: 600;
      margin-bottom: 0.3rem;
      display: block;
    }

    input, select {
      width: 100%;
      padding: 0.6rem;
      margin-bottom: 1rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }

    input:focus, select:focus {
      border-color: #007bff;
      outline: none;
    }

    button {
      width: 100%;
      padding: 0.7rem;
      background: #007bff;
      border: none;
      color: white;
      font-weight: 700;
      border-radius: 6px;
      cursor: pointer;
    }

    button:hover {
      background: #0056b3;
    }

    .forgot-link, .toggle-text {
      text-align: center;
      color: #007bff;
      cursor: pointer;
      font-weight: 600;
    }

    .forgot-link {
      font-size: 0.9rem;
      text-align: right;
      margin-bottom: 1rem;
    }

    .forgot-link:hover, .toggle-text:hover {
      text-decoration: underline;
    }

    .error-message, .success-message {
      padding: 0.8rem;
      border-radius: 6px;
      margin-bottom: 1rem;
      display: none;
    }

    .error-message {
      background: #ffdddd;
      color: #d8000c;
    }

    .success-message {
      background: #ddffdd;
      color: #006400;
    }

    .password-wrapper {
      position: relative;
    }

    .password-wrapper input {
      width: 100%;
      padding-right: 40px;
    }

    .toggle-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
      font-size: 18px;
      color: #555;
      user-select: none;
    }

    /* ✅ Responsive Design */
    @media (max-width: 900px) {
      .main-section {
        flex-direction: column;
        gap: 15px;
      }

      .ad-section {
        display: none;
      }
      .container1 {
        max-width: 100%;
      }
    }