/* Tri Duc Registration Form */
.triduc-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.triduc-form-header {
    background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
    padding: 28px 32px 24px;
    color: #fff;
}
.triduc-form-header h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
}
.triduc-form-header p {
    margin: 0;
    font-size: 14px;
    color: #bfdbfe;
}

#triduc-registration-form {
    padding: 28px 32px 32px;
}

.triduc-field {
    margin-bottom: 18px;
}
.triduc-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}
.triduc-field .required {
    color: #dc2626;
}
.triduc-field input,
.triduc-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    background: #f9fafb;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}
.triduc-field input:focus,
.triduc-field select:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,0.12);
}
.triduc-field input.error,
.triduc-field select.error {
    border-color: #dc2626;
    background: #fef2f2;
}
.triduc-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    min-height: 16px;
}

/* Honeypot */
.triduc-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* Submit button */
.triduc-submit-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #1a56db, #1e40af);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
    margin-top: 6px;
}
.triduc-submit-btn:hover { opacity: 0.92; }
.triduc-submit-btn:active { transform: scale(0.99); }
.triduc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success */
.triduc-success {
    text-align: center;
    padding: 40px 32px;
}
.triduc-success .success-icon { font-size: 48px; margin-bottom: 12px; }
.triduc-success h4 { margin: 0 0 8px; font-size: 20px; color: #16a34a; }
.triduc-success p { margin: 0; color: #374151; font-size: 15px; line-height: 1.6; }

/* Error message */
.triduc-error-msg {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 0 32px 24px;
    color: #dc2626;
    font-size: 14px;
}

/* Coupon field */
.triduc-coupon-row {
    display: flex;
    gap: 8px;
}
.triduc-coupon-row input {
    flex: 1;
}
.triduc-coupon-btn {
    padding: 11px 16px;
    background: #f3f4f6;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.triduc-coupon-btn:hover { background: #e5e7eb; }
.triduc-coupon-btn:disabled { opacity: 0.6; }
.triduc-coupon-ok {
    margin-top: 6px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #166534;
    font-weight: 600;
}
.optional { color: #9ca3af; font-weight: 400; font-size: 12px; }
