
/* ===== PROFILE UPGRADE ===== */

body.page-profile .container,
body.page-profile .container-fluid {
    max-width: 900px;
}

body.page-profile .card {
    border-radius: 34px !important;
    overflow: hidden;
    box-shadow: 0 16px 38px rgba(225, 118, 168, 0.12) !important;
    border: 1px solid rgba(233, 126, 179, 0.14) !important;
}

/* Шапка профиля */
body.page-profile .card-header,
body.page-profile .bg-pink {
    background: linear-gradient(135deg, #ea7eb3 0%, #f4b3cd 100%) !important;
    color: #fff !important;
    text-align: center;
    padding: 2rem 1.5rem !important;
}

body.page-profile .card-header *,
body.page-profile .bg-pink * {
    color: #fff !important;
}

body.page-profile .rounded-circle {
    border: 4px solid rgba(255,255,255,0.92);
    box-shadow: 0 8px 22px rgba(255,255,255,0.18);
}

/* Текст шапки */
body.page-profile h1,
body.page-profile h2,
body.page-profile h3 {
    letter-spacing: -0.03em;
}

/* Блоки с информацией */
body.page-profile .card-body > div {
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(233, 126, 179, 0.10);
    border-radius: 22px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 18px rgba(226, 118, 168, 0.06);
}

/* Если есть внутренние серые блоки — сделаем их приятнее */
body.page-profile .card-body .bg-light,
body.page-profile .card-body .border,
body.page-profile .card-body .rounded,
body.page-profile .card-body .rounded-4 {
    background: #fff !important;
    border-color: rgba(233, 126, 179, 0.12) !important;
    box-shadow: 0 8px 18px rgba(226, 118, 168, 0.05);
}

/* Подписи и значения */
body.page-profile .card-body small,
body.page-profile .card-body .text-muted {
    color: #8d7280 !important;
    font-weight: 600;
}

body.page-profile .card-body strong,
body.page-profile .card-body b {
    color: #4b3541 !important;
}

/* Роль — более красиво */
body.page-profile .role-badge,
body.page-profile .badge {
    border-radius: 999px !important;
    font-weight: 800 !important;
}

/* Кнопки */
body.page-profile .btn {
    min-height: 50px;
    border-radius: 999px !important;
    font-weight: 800;
}

body.page-profile .btn-pink {
    box-shadow: 0 10px 22px rgba(233, 126, 179, 0.18);
}

/* Ссылки типа "изменить пароль" и "вернуться" */
body.page-profile a {
    font-weight: 700;
}

body.page-profile .card-body a:not(.btn) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #c75a91 !important;
}

/* Воздух */
body.page-profile .card-body {
    padding: 1.35rem 1.35rem 1.5rem !important;
}

/* Мобильная версия */
@media (max-width: 768px) {
    body.page-profile .card-header,
    body.page-profile .bg-pink {
        padding: 1.5rem 1rem !important;
    }

    body.page-profile .card-body {
        padding: 1rem !important;
    }

    body.page-profile .card-body > div {
        padding: 0.9rem 1rem;
        margin-bottom: 0.85rem;
    }
}
