/* =========================================================
 * FORM PAGES ONLY STYLES
 * Used by:
 * - vehicle/
 * - vendor/
 * - foodtruck/
 * ========================================================= */

/* ==============================
 * FORM LAYOUT
 * ============================== */
.registration-form {
    width: 100%;
}

.registration-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.registration-form .form-group {
    width: 100%;
}

.registration-form .form-group label,
.registration-form label {
    display: block;
    margin-bottom: 8px;
    color: #f7f7f7;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ==============================
 * INPUTS / SELECTS / TEXTAREAS
 * ============================== */
.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="number"],
.registration-form input[type="password"],
.registration-form input[type="tel"],
.registration-form select,
.registration-form textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-radius: 12px;
    padding: 13px 14px;
    font-size: 0.96rem;
    outline: none;
    transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
    color: #a4adba;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    border-color: rgba(255, 123, 0, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 123, 0, 0.10);
    background: rgba(255, 255, 255, 0.06);
}

.registration-form textarea {
    min-height: 130px;
    resize: vertical;
    margin-top: 18px;
}

/* ==============================
 * CHECKBOX / RULES
 * ============================== */
.registration-form .form-check,
.registration-form .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.registration-form .checkbox-group {
    margin-top: 20px;
}

.registration-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.registration-form .checkbox-group span {
    display: inline-block;
    color: var(--text);
}

.registration-form .checkbox-group a {
    font-weight: 700;
}

/* ==============================
 * FORM MESSAGES
 * ============================== */
.error-card ul,
.success-card ul {
    margin: 0;
    padding-left: 20px;
}

.error-card li,
.success-card li {
    margin-bottom: 6px;
}

.error-card li:last-child,
.success-card li:last-child {
    margin-bottom: 0;
}

.closed-card {
    border-color: rgba(220, 53, 69, 0.35);
    background: linear-gradient(
        180deg,
        rgba(220, 53, 69, 0.10),
                                rgba(255, 255, 255, 0.02)
    );
}

/* ==============================
 * FEE / PAYMENT BOXES
 * ============================== */
.fee-box,
.payment-box {
    margin-top: 24px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    border-radius: 18px;
    padding: 18px 20px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.fee-box {
    font-size: 1rem;
    color: #fff;
}

.fee-box strong {
    color: #ffcf9d;
}

.fee-box h3,
.payment-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffb067;
}

.payment-box {
    text-align: center;
}

/* ==============================
 * FORM BUTTONS
 * ============================== */
.registration-form .button-grid,
.registration-form .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.registration-form .form-actions .action-btn,
.registration-form .button-grid .action-btn {
    min-width: 180px;
}

/* ==============================
 * MOBILE
 * ============================== */
@media (max-width: 900px) {
    .registration-form .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .registration-form textarea {
        min-height: 120px;
    }

    .registration-form .form-actions,
    .registration-form .button-grid {
        flex-direction: column;
    }

    .registration-form .form-actions .action-btn,
    .registration-form .button-grid .action-btn {
        width: 100%;
    }
}
