:root {
    --bg: #1e1e1e;
    --card-bg: white;
    --green: #22c55e;
    --field-bg: white;
    --field-border: #cfcfcf;
    --text-dark: #5a2515;
    --text-muted: #4d4d4d;
    --placeholder: #8a8a8a;
  }

  * { box-sizing: border-box; }

  body {
    margin: 0;
    padding: 40px 16px;
    background-image: url('bg.avif');
	background-size: cover;       /* Scales proportionally to fill */
	background-position: center center;  /* Centers the image */
	background-repeat: no-repeat; /* Prevents tiling */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	min-height: 100%; 
	
  background-attachment: fixed;
  
  }
.checkbox-wrapper {
  display: flex;       /* Aligns checkbox and text side-by-side */
  align-items: center; /* Centers them vertically so they match perfectly */
  gap: 8px;            /* Adds a clean space between box and text */
}
  h1.page-title {
    text-align: center;
    color: var(--green);
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 32px;
  }

  .card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 36px 32px;
  }

  .card h2 {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 50px;
  }

  .card .subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 28px;
  }

  form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }

  .field {
    display: flex;
    flex-direction: column;
  }

  .field.full {
    grid-column: 1 / -1;
  }

  .field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
  }

  .field input,
  .field textarea {
    background: var(--field-bg);
    border: 1px solid var(--field-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--text-dark);
    outline: none;
  }

  .field input::placeholder,
  .field textarea::placeholder {
    color: var(--placeholder);
  }

  .field input:focus,
  .field textarea:focus {
    border-color: var(--green);
  }

  .field textarea {
    resize: vertical;
    min-height: 110px;
  }

  .field .file-input {
    background: var(--field-bg);
    border: 1px dashed var(--field-border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: var(--placeholder);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
  }

  .field .file-input:hover,
  .field .file-input:focus-within {
    border-color: var(--green);
  }

  .field .file-input span.filename {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;


  }

  .field .file-input .browse-btn {
    flex-shrink: 0;
    background: #c6c6c6;
    color: var(--text-dark);
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
  }

  .field .file-input input[type="file"] {
    display: none;
  }

  .field .error-msg {
    display: none;
    color: #dc2626;
    font-size: 0.78rem;
    margin-top: 5px;
  }

  .field.invalid input,
  .field.invalid textarea,
  .field.invalid .file-input {
    border-color: #dc2626;
  }

  .field.invalid .error-msg {
    display: block;
  }

  .field .hint {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 5px;
  }


  .submit-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 8px;
  }

  button.submitBtn {
    background: #55200c;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 40px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
  }

  button.submitBtn:disabled
 {
  background: #ccc;
}



  button.submitBtn:hover {
    filter: brightness(1.05);
  }

  @media (max-width: 480px) {
   
  }