
    :root {
      --primary-color: #4285f4;
      --primary-dark: #3367d6;
      --error-color: #d93025;
      --text-primary: #202124;
      --text-secondary: #5f6368;
      --border-color: #dadce0;
      --bg-color: #f8f9fa;
      --white: #ffffff;
      --light-gray: #f1f3f4;
      /* Subtle abstract accent colors (grayish / light brown) */
      --accent-a: #e8e1d9; /* light warm gray-brown */
      --accent-b: #d9d3cc; /* light taupe */
      --accent-c: #e9e6e2; /* near-white warm gray */
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: 'Roboto', Arial, sans-serif;
    }

    body {
      background-color: var(--bg-color);
      color: var(--text-primary);
      line-height: 1.5;
      /* Subtle abstract background pattern */
      background-image: radial-gradient(40% 35% at 15% 10%, var(--accent-a) 0%, transparent 60%),
        radial-gradient(50% 40% at 90% 5%, var(--accent-b) 0%, transparent 65%),
        radial-gradient(45% 35% at 85% 90%, var(--accent-c) 0%, transparent 70%);
      background-attachment: fixed;
    }

    .container {
      max-width: 920px;
      margin: 0 auto;
      padding: 20px;
    }

    .logo-container {
      text-align: center;
      margin-bottom: 20px;
      position: relative;
    }

    .logo-placeholder {
      display: inline-block;
      width: 200px;
      height: 80px;
      background-color: var(--primary-color);
      color: white;
      line-height: 80px;
      font-weight: 700;
      border-radius: 10px;
      margin-bottom: 16px;
      letter-spacing: 1px;
    }

    .header-art {
      /* Small abstract shapes row under the logo */
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-bottom: 12px;
      opacity: 0.6;
    }
    .header-art svg { height: 14px; width: auto; }

    .form-header {
      background-color: var(--white);
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 16px;
      box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.15);
      position: relative;
      overflow: hidden;
    }

    .form-header::before {
      content: '';
      position: absolute;
      inset: 0 auto 0 0;
      width: 6px;
      background: linear-gradient(180deg, var(--primary-color), #34a853, #fbbc05, var(--error-color));
    }

    .form-title {
      font-size: 28px;
      font-weight: 600;
      margin: 0 0 8px;
      color: var(--text-primary);
      text-align: center;
    }

    .form-description {
      color: var(--text-secondary);
      font-size: 14px;
      text-align: center;
    }

    .form-notice {
      background-color: #fff8e1;
      padding: 16px;
      border-left: 4px solid #ffc107;
      margin: 16px 0;
      font-size: 14px;
      border-radius: 0 8px 8px 0;
    }

    /* Question card */
    .question-container {
      background-color: var(--white);
      border-radius: 12px;
      padding: 22px;
      margin-bottom: 16px;
      box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.15);
      transition: transform 0.2s, box-shadow 0.2s;
      position: relative;
      overflow: hidden;
    }

    .question-container:hover {
      transform: translateY(-2px);
      box-shadow: 0 2px 6px rgba(60, 64, 67, 0.12), 0 6px 14px rgba(60, 64, 67, 0.16);
    }

    .question-title {
      font-size: 16px;
      font-weight: 600;
      margin: 0 0 14px;
      position: relative;
      padding-left: 12px;
    }

    .question-title::before {
      content: '';
      position: absolute;
      left: 0;
      top: 4px;
      height: 16px;
      width: 4px;
      background-color: var(--primary-color);
      border-radius: 2px;
    }

    .required:after { content: ' *'; color: var(--error-color); }

    /* Inputs */
    .input-group { margin-bottom: 14px; position: relative; }

    .input-field,
    textarea.input-field {
      width: 100%;
      padding: 13px 14px;
      font-size: 16px;
      border: 1px solid var(--border-color);
      border-radius: 8px;
      outline: none;
      transition: all 0.2s;
      background-color: var(--white);
    }

    .input-field:focus,
    textarea.input-field:focus {
      border: 2px solid var(--primary-color);
      padding: 12px 13px;
      box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.18);
    }

    .input-label {
      position: absolute;
      left: 14px;
      top: 13px;
      color: var(--text-secondary);
      background: var(--white);
      padding: 0 6px;
      font-size: 16px;
      transition: all 0.2s;
      pointer-events: none;
    }

    .input-field:focus + .input-label,
    .input-field:not(:placeholder-shown) + .input-label { top: -10px; font-size: 12px; color: var(--primary-color); }

    .option-group { margin-bottom: 8px; display: flex; align-items: center; }

    .radio-label, .checkbox-label { display: flex; align-items: center; cursor: pointer; gap: 10px; user-select: none; }

    .radio-input, .checkbox-input { width: 20px; height: 20px; accent-color: var(--primary-color); }

    .conditional-block { display: none; margin-left: 32px; animation: fadeIn 0.25s ease-out; }

    /* Signature */
    .signature-container { margin-top: 10px; }
    .signature-pad {
      border: 1px dashed var(--border-color);
      border-radius: 8px;
      width: 100%;
      height: 160px;
      margin-top: 8px;
      background-color: var(--white);
      cursor: crosshair;
    }
    .clear-signature { margin-top: 8px; color: var(--primary-color); text-decoration: underline; cursor: pointer; font-size: 14px; display: inline-block; }

    /* Buttons */
    .buttons-container { display: flex; gap: 12px; margin-top: 18px; }
    .btn { padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
    .btn svg { width: 18px; height: 18px; }
    .btn-submit { background-color: var(--primary-color); color: var(--white); }
    .btn-submit:hover { background-color: var(--primary-dark); box-shadow: 0 2px 6px rgba(60, 64, 67, 0.2); }
    .btn-reset { background-color: transparent; color: var(--primary-color); border: 1px solid var(--border-color); }
    .btn-reset:hover { background-color: rgba(66, 133, 244, 0.05); border-color: var(--primary-color); }

    /* Footer */
    .form-footer { font-size: 12px; color: var(--text-secondary); text-align: center; margin-top: 24px; padding: 16px; background-color: var(--white); border-radius: 12px; box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.15); }

    .qr-code { text-align: center; margin: 14px 0; }
    .qr-placeholder { display: inline-block; width: 150px; height: 150px; background-color: #efefef; border: 1px dashed #ccc; line-height: 150px; color: #666; border-radius: 8px; }

    @media (max-width: 600px) {
      .container { padding: 10px; }
      .form-title { font-size: 24px; }
      .buttons-container { flex-direction: column; }
    }

    /* Validation */
    .error { color: var(--error-color); font-size: 12px; margin-top: 4px; display: none; animation: shake 0.5s; }
    .input-field.invalid { border-color: var(--error-color); }
    .input-field.invalid + .input-label { color: var(--error-color); }

    /* Animations */
    @keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

    /* Progress */
    .progress-container { margin: 16px 0 20px; background-color: var(--white); border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1), 0 1px 3px rgba(60, 64, 67, 0.15); }
    .progress-text { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
    .progress-bar { height: 8px; background-color: var(--light-gray); border-radius: 999px; overflow: hidden; }
    .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary-color), #34a853); border-radius: 999px; transition: width 0.25s ease; }
    
    
    input::placeholder,
    textarea::placeholder {
      color: #666!important; /* visible */
    }

