/* aum-profile — frontend account styles */

.aum-account-profiles {
    max-width: 860px;
}

.aum-account-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.aum-account-header h2 {
    margin: 0;
}

/* ── Form card ────────────────────────────────────── */
.aum-form-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
}

.aum-form-card h3,
.aum-form-card h4 {
    margin-top: 0;
}

.aum-form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 14px;
}

.aum-form-row label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.aum-form-row input,
.aum-form-row select {
    max-width: 380px;
}

.aum-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

/* ── Profile card ─────────────────────────────────── */
.aum-profile-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 16px;
    overflow: hidden;
}

.aum-profile-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 18px;
    background: #fff;
    gap: 12px;
}

.aum-profile-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aum-profile-card__info strong {
    font-size: 15px;
}

.aum-profile-card__info span {
    font-size: 13px;
    color: #666;
}

.aum-profile-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── Documents section ────────────────────────────── */
.aum-profile-card__docs {
    padding: 12px 18px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.aum-profile-card__docs h4 {
    margin: 0 0 10px;
    font-size: 13px;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aum-doc-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.aum-doc-row:last-of-type {
    border-bottom: none;
}

.aum-doc-type {
    font-weight: 600;
    min-width: 130px;
}

.aum-doc-number {
    color: #555;
    flex: 1;
}

.aum-doc-img-count {
    color: #888;
    font-size: 12px;
}

.aum-add-doc-btn {
    margin-top: 10px;
}

/* ── Feedback messages ────────────────────────────── */
.aum-msg {
    font-size: 13px;
    margin-top: 8px;
}

.aum-msg--success { color: #0a3622; }
.aum-msg--error   { color: #58151c; }

/* ── Status badges (used in order page + quotes list) */
.aum-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aum-status--approved { background: #d1e7dd; color: #0a3622; }
.aum-status--rejected { background: #f8d7da; color: #58151c; }

/* ── Order review notices ─────────────────────────── */
.aum-notice {
    margin: 20px 0;
    padding: 14px 18px;
    border-radius: 6px;
    border-left: 4px solid;
}

.aum-notice--approved {
    background: #d1e7dd;
    border-color: #0a3622;
    color: #0a3622;
}

.aum-notice--rejected {
    background: #f8d7da;
    border-color: #58151c;
    color: #58151c;
}

.aum-notice p {
    margin: 0 0 6px;
}

.aum-notice p:last-child {
    margin-bottom: 0;
}

.aum-notice__note {
    font-size: 13px;
    opacity: .85;
}

/* ── YITH My Quotes: profile info cell ───────────── */
.aum-quote-profile-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 600px) {
    .aum-profile-card__header {
        flex-direction: column;
    }

    .aum-profile-card__actions {
        flex-wrap: wrap;
    }
}
