* {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #dae2f8, #d6a4a4);
    padding: 1rem;
  }

  .form-container {
    background-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    margin: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #333;
  }

  .description {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #555;
    font-size: 0.9rem;
  }

  .box {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
    gap: 0.75rem;
  }

  .box svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #555;
  }

  label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    color: #333;
  }

  .input-group {
    flex: 1;
  }

  input[type="file"],
  input[type="text"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
  }

  .button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .button-group input[type="submit"],
  .button-group input[type="reset"] {
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  input[type="submit"] {
    background-color: #007BFF;
    color: white;
    position: relative;
  }

  input[type="submit"].loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  input[type="submit"]:hover {
    background-color: #0056b3;
  }

  .reset-btn {
    background-color: #dc3545;
    color: white;
  }

  .reset-btn:hover {
    background-color: #a71d2a;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }

  #rgpd-popup {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  #rgpd-popup button {
    align-self: flex-end;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
  }

  @media (max-width: 480px) {
    .form-container {
      border-radius: 0;
      box-shadow: none;
      padding: 1.5rem 1rem;
    }

    .button-group {
      flex-direction: column;
    }

    .button-group input {
      width: 100%;
    }
  }