/* Manage User Account Dialog Stylesheet */
/* Overlay, dialog container, header, footer, and db-btn styles
   are provided by dialog-base.css. */

/* *******************************************************
 * Top row: avatar + stats
 * ******************************************************* */

.mua-top-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.mua-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.mua-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s ease, transform 0.15s ease;
}

.mua-avatar:hover {
    border-color: #2dd4bf;
    transform: scale(1.05);
}

.mua-avatar svg {
    width: 100%;
    height: 100%;
}

.mua-avatar-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 5px;
    text-align: center;
}

.mua-info-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding-top: 6px;
}

.mua-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mua-stat-label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    min-width: 90px;
}

.mua-stat-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
}

/* *******************************************************
 * Section labels
 * ******************************************************* */

.mua-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #2dd4bf;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 16px 0 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* *******************************************************
 * Form fields
 * ******************************************************* */

.mua-field-group {
    margin-bottom: 12px;
}

.mua-field-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    margin-bottom: 5px;
}

.mua-field-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: border-color 0.25s ease;
    font-family: inherit;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.9);
}

.mua-field-group input:focus {
    outline: none;
    border-color: rgba(45,212,191,0.5);
}

.mua-field-group input::placeholder {
    color: rgba(255,255,255,0.28);
}

.mua-readonly {
    background: rgba(255,255,255,0.04) !important;
    color: rgba(255,255,255,0.35) !important;
    cursor: not-allowed;
}

/* *******************************************************
 * Button rows
 * ******************************************************* */

/* Left-align single-button security rows */
.db-btn-container.mua-security-row {
    justify-content: flex-start;
    margin-bottom: 6px;
}

/* Save button — fixed width, centered */
.mua-action-row .db-btn {
    min-width: 120px;
}

/* *******************************************************
 * Responsive
 * ******************************************************* */

@media (max-width: 600px) {
    .mua-top-row {
        flex-direction: column;
        align-items: center;
    }

    .mua-info-stats {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .mua-stat-item {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        min-width: 80px;
    }
}
