/* === Statix Customer Account === */

/* Auth forms (login/register) */
.statix-auth-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
}

.statix-auth-form h2 {
    margin-bottom: 24px;
    font-size: 22px;
}

.statix-auth-form__inner .statix-form-row {
    margin-bottom: 16px;
}

.statix-auth-form__inner label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
}

.statix-auth-form__inner input[type="text"],
.statix-auth-form__inner input[type="email"],
.statix-auth-form__inner input[type="password"],
.statix-auth-form__inner input[type="tel"],
.statix-auth-form__inner select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.statix-auth-form__inner input:focus {
    outline: none;
    border-color: #0066cc;
}

.statix-auth-link {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

/* Account page */
.statix-account {
    max-width: 1000px;
    margin: 0 auto;
}

.statix-account h2 {
    margin-bottom: 8px;
}

.statix-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.statix-account-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px;
}

.statix-account-card h3 {
    margin-bottom: 20px;
    font-size: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.statix-account-card .statix-form-row {
    margin-bottom: 14px;
}

.statix-account-card label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #555;
}

.statix-account-card input,
.statix-account-card select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.statix-form-row--half {
    display: inline-block;
    width: 48%;
    margin-right: 4%;
}

.statix-form-row--half + .statix-form-row--half {
    margin-right: 0;
}

/* Orders table */
.statix-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.statix-orders-table th,
.statix-orders-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.statix-orders-table th {
    font-weight: 600;
    color: #555;
    font-size: 13px;
}

.statix-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.statix-status--pending {
    background: #fff3cd;
    color: #856404;
}

.statix-status--paid {
    background: #d4edda;
    color: #155724;
}

.statix-status--processing {
    background: #cce5ff;
    color: #004085;
}

.statix-status--completed {
    background: #d4edda;
    color: #155724;
}

.statix-status--cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Form messages */
.statix-form-message {
    margin-top: 12px;
    font-size: 14px;
    min-height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .statix-account-grid {
        grid-template-columns: 1fr;
    }

    .statix-form-row--half {
        width: 100%;
        margin-right: 0;
    }
}
