/*============================================================
  Wholesale Account Application — Premium Form Styles
  ============================================================*/

.waa-form-wrap {
    max-width: 840px;
    margin: 32px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1e293b;
}

.waa-form-wrap__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.waa-form-wrap__intro {
    color: #64748b;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.6;
}

/* Alert */
.waa-alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
}
.waa-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}
.waa-alert--error strong { display: block; margin-bottom: 6px; }
.waa-alert ul { margin: 4px 0 0 18px; padding: 0; }
.waa-alert ul li { margin-bottom: 2px; }

/* Sections */
.waa-section {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.waa-section__legend {
    font-weight: 700;
    font-size: 17px;
    padding: 0 12px;
    color: #0f172a;
    margin-left: -12px;
}

.waa-section__note {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 20px;
}

/* Grid */
.waa-row { display: flex; gap: 16px; }
.waa-row--2 > .waa-field { flex: 1; }
.waa-row--3 > .waa-field { flex: 1; }
@media (max-width: 600px) { .waa-row { flex-direction: column; } }

/* Fields */
.waa-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.waa-field label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 5px;
    color: #334155;
    letter-spacing: -0.2px;
}
.waa-field input[type="text"],
.waa-field input[type="email"],
.waa-field input[type="tel"],
.waa-field input[type="url"],
.waa-field select,
.waa-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.waa-field input:focus,
.waa-field select:focus,
.waa-field textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.waa-field input::placeholder { color: #94a3b8; }
.waa-field textarea { resize: vertical; min-height: 90px; }

/* Required */
.waa-required { color: #ef4444; margin-left: 2px; font-weight: 700; }

/* Uploads */
.waa-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}

.waa-upload-field {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 22px 16px;
    text-align: center;
    transition: all 0.2s;
    background: #fafbfc;
}
.waa-upload-field:hover {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.waa-upload-field label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #475569;
}
.waa-upload-icon { font-size: 28px; }
.waa-upload-field input[type="file"] {
    margin-top: 10px;
    font-size: 12px;
    width: 100%;
    color: #64748b;
}

/* Agreement */
.waa-section--agreement {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.waa-checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}
.waa-checkbox-field input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0ea5e9;
}
.waa-checkbox-field label {
    font-size: 13.5px;
    line-height: 1.5;
    color: #475569;
}
.waa-checkbox-field label a {
    color: #0ea5e9;
    font-weight: 600;
    text-decoration: none;
}
.waa-checkbox-field label a:hover { text-decoration: underline; }

/* Submit */
.waa-submit-btn {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
    box-shadow: 0 2px 8px rgba(14,165,233,0.3);
}
.waa-submit-btn:hover {
    box-shadow: 0 4px 16px rgba(14,165,233,0.4);
    transform: translateY(-1px);
}

/* Thank-you */
.waa-thankyou {
    text-align: center;
    padding: 48px 32px;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    border-radius: 16px;
    max-width: 560px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
}
.waa-thankyou__icon {
    font-size: 48px;
    color: #22c55e;
    margin-bottom: 16px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.waa-thankyou h2 {
    color: #166534;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.4px;
}
.waa-thankyou p {
    color: #475569;
    line-height: 1.7;
    font-size: 14.5px;
    margin: 0 0 8px;
}
