@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f8f8;
  color: #1a1a1a;
  line-height: 1.5;
}

.form-container { max-width: 820px; margin: 0 auto; padding: 40px 24px 60px; }
.form-header { text-align: center; margin-bottom: 32px; }
.form-header .logo { width: 48px; height: 48px; margin-bottom: 8px; }
.form-header .brand-name { font-size: 16px; font-weight: 500; color: #333; margin-bottom: 20px; }
.form-header h1 { font-size: 26px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.form-header .emoji-icon { font-size: 32px; margin-bottom: 16px; }
.form-banner { background-color: #fce4ec; border-radius: 10px; padding: 24px 32px; text-align: center; margin-bottom: 36px; }
.form-banner p { font-size: 13px; font-weight: 500; color: #3a3a3a; line-height: 1.7; }
.form-banner .cta { font-size: 14px; font-weight: 600; margin-top: 8px; }
.status-msg { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.status-msg.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-msg.error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }
.status-msg span { font-size: 18px; }
.form-body { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row.full { grid-template-columns: 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; }
.field-label { font-size: 13px; font-weight: 500; color: #1a1a1a; margin-bottom: 4px; }
.field-label .req { color: #e53935; margin-left: 1px; }
.field-desc { font-size: 11.5px; font-weight: 400; color: #777; margin-bottom: 8px; line-height: 1.55; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  font-family: 'Poppins', sans-serif; font-size: 13px; color: #1a1a1a; background: #fff;
  border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; width: 100%; outline: none; transition: border-color 0.2s;
}
input::placeholder, textarea::placeholder { color: #bbb; font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: #7b68ee; box-shadow: 0 0 0 3px rgba(123,104,238,0.08); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.phone-group { display: flex; gap: 8px; }
.phone-group .country-select { width: 100px; flex-shrink: 0; font-size: 13px; }
.phone-group input { flex: 1; }
.drop-area { border: 1.5px dashed #ccc; border-radius: 8px; padding: 28px 16px; text-align: center; font-size: 13px; color: #999; background: #fafafa; cursor: pointer; transition: border-color 0.2s, background 0.2s; position: relative; overflow: hidden; }
.drop-area:hover { border-color: #aaa; background: #f5f5f5; }
.drop-area .upload-link { color: #7b68ee; text-decoration: underline; cursor: pointer; font-weight: 500; }
.drop-area input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop-area .file-name { display: block; margin-top: 6px; font-size: 12px; color: #7b68ee; font-weight: 500; }
.field-error { display: none; align-items: center; gap: 4px; font-size: 11.5px; color: #e53935; margin-top: 4px; }
.field-error svg { width: 14px; height: 14px; flex-shrink: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e53935; }
.field.has-error .field-error { display: flex; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; }
.checkbox-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: #7b68ee; cursor: pointer; flex-shrink: 0; }
.checkbox-row .checkbox-label { font-size: 13px; font-weight: 500; color: #1a1a1a; }
.checkbox-row .checkbox-label .req { color: #e53935; }
.checkbox-row .checkbox-desc { font-size: 11.5px; color: #777; margin-top: 2px; line-height: 1.5; }
.submit-btn { display: block; width: 100%; padding: 16px; margin-top: 12px; background: linear-gradient(135deg, #7b68ee 0%, #9b8afb 100%); color: #fff; border: none; border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; letter-spacing: 0.3px; transition: opacity 0.2s, transform 0.1s; }
.submit-btn:hover { opacity: 0.92; }
.submit-btn:active { transform: scale(0.995); }
.form-footer { text-align: center; margin-top: 32px; font-size: 12px; color: #aaa; }
.form-footer a { color: #7b68ee; text-decoration: none; }
