/* ===== USER CABINET ===== */

.user-card {
    max-width: 520px;
    padding: 22px;
}

/* header */

.user-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}


.user-meta {
    display: flex;
    flex-direction: column;
}

.card.user-card {
    border: 2px solid #6e839559;
    border-radius: 14px;
}

.user-back-btn {
    display: block;
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;

    background: #f0f0ee;
    border: 1px solid #e5e7eb;
    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;

    transition: background 0.15s ease, border-color 0.15s ease;
}

.user-back-btn:hover {
    background: #e8f1ff;
    border-color: #b6d0ff;
}

.back-to-generator {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
}

.back-to-generator:hover {
    text-decoration: underline;
}

.user-id {
    font-size: 13px;
    color: #6b7280;
}

/* info rows */

.user-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.user-row {
    background: #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border: 1px solid rgb(219, 219, 219);
    border-radius: 5px;
}

.user-row .label {
    font-size: 15px;
    color: #505764;
    white-space: nowrap;
}

.user-row .value {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-align: right;
    max-width: 65%;
}

/* actions */

.user-actions {
    margin-top: 10px;
}

.user-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}