:root {
      --primary-color: #3498db;
      --primary-hover: #077dcb;
      --background-color: #f9fafb;
      --text-color: #111827;
      --border-color: #d1d5db;
    }

 /*   body {
      font-family: system-ui, -apple-system, sans-serif;
      background-color: var(--background-color);
      color: var(--text-color);
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      margin: 0;
    } */

    .contact-image {
      width: 100%;
      min-height: 100vh;
      background: url("../assets/backdrop/02.png") center/cover no-repeat;
      padding: 60px 5%;
}

    .form-container {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      /*width: 100%;
      max-width: 400px; */
      margin: 2rem auto;
    }

    h2 { margin-bottom: 1.5rem; font-size: 1.5rem; } 
    .form-group { margin-bottom: 1.25rem; }

    label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      font-size: 0.875rem;
    }

    input, textarea {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid var(--border-color);
      border-radius: 6px;
      box-sizing: border-box;
      font-family: inherit;
    }

    textarea { resize: vertical; }

    input:focus, textarea:focus {
      outline: none;
      border-color: var(--primary-color);
      box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }

    /* Target specific inputs when they are explicitly flagged invalid */
    input.invalid, textarea.invalid {
      border-color: #ef4444;
      box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    }

    /* Custom inline field error text styles */
    .field-error {
      color: #ef4444;
      font-size: 0.75rem;
      margin-top: 0.35rem;
      display: none;
      font-weight: 500;
    }

    button {
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 0.75rem 1.5rem;
      border-radius: 6px;
      font-weight: 600;
      cursor: pointer;
      width: 100%;
      transition: background-color 0.2s;
    }

    button:hover { background-color: var(--primary-hover); }
    button:disabled { opacity: 0.7; cursor: not-allowed; }

    .status-message {
      margin-top: 1rem;
      font-size: 0.875rem;
      text-align: center;
      font-weight: 500;
    }

    .status-message.success { color: #10b981; }
    .status-message.error { color: #ef4444; }

    /* modal */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.5);
      align-items: center;
      justify-content: center;
      z-index: 1000;
      backdrop-filter: blur(4px);
    }

    .modal-content {
      background: white;
      padding: 2rem;
      border-radius: 12px;
      width: 90%;
      max-width: 500px;
    }

    .modal-content h3 {
      margin: 0 0 0.5rem 0;
    }

    .modal-content p {
      font-size: 0.875rem;
      color: #6b7280;
      margin-bottom: 1.5rem;
    }

    .modal-actions {
      display: flex;
      gap: 1rem;
      margin-top: 1.5rem;
    }

    .cancel-button {
      background-color: white;
      color: var(--text-color);
      border: 1px solid var(--border-color);
    }

    .cancel-button:hover { background-color: #f3f4f6; }

    .modal-error {
      color: #ef4444;
      font-size: 0.875rem;
      margin-top: 0.5rem;
      display: none;
    }
