 body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #f9f9f9;
    }

    header {
      background-color: #703d92;
      color: white;
      display: flex;
      align-items: center;
      padding: 1rem;
      justify-content:center;
    }

    header .title {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    main {
      max-width: 500px;
      margin: 2rem auto;
      background: white;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    h1 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      text-align: center;
    }

    textarea {
      width: 90%;
      height: 160px;
      padding: 1rem;
      border-radius: 8px;
      border: 1px solid #ccc;
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .error-message {
      color: red;
      font-size: 0.9rem;
      margin-bottom: 1rem;
      text-align: center;
      display: none;
    }

    button {
      width: 100%;
      padding: 1rem;
      font-size: 1rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      margin-bottom: 1rem;
    }

    .pass-btn {
      background-color: white;
      color: #703d92;
      border: 2px solid #703d92;
    }

    .face-btn {
      background-color: #703d92;
      color: white;
    }

    .info {
      font-size: 0.9rem;
      color: #333;
      margin-top: 1rem;
    }

    .info a {
      color: #703d92;
      text-decoration: none;
    }

    .modal {
  display: none; 
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 90%;
}

.modal-content p {
  margin-bottom: 1rem;
  color: red;
  font-size: 1rem;
}

.close-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  background-color: #703d92;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}



    #loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
  display: none;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #703d92;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 1rem;
  color: #703d92;
  font-weight: bold;
}


    @media (max-width: 600px) {
      main {
        margin: 1rem;
        padding: 1.5rem;
      }

      header {
        flex-direction: column;
        gap: 0.5rem;
      }

        .spinner {
    width: 40px;
    height: 40px;
    border-width: 6px;
  }

  .loading-text {
    font-size: 0.95rem;
    text-align: center;
    padding: 0 1rem;
  }
}
    