
/* ===== FINAL PAGE-BY-PAGE LUXURY POLISH ===== */

/* ============================================
   КАРТОЧКИ КОТИКОВ
============================================ */
body.page-cats .card {
    position: relative;
    overflow: hidden;
    border-radius: 32px !important;
}

body.page-cats .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.20) 100%);
    pointer-events: none;
}

body.page-cats .card-body {
    padding: 1.25rem 1.2rem 1.35rem;
}

body.page-cats .card-title {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.55rem;
}

body.page-cats .card .badge {
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

body.page-cats .card-text {
    color: #6f5864;
}

body.page-cats .card .btn {
    min-height: 44px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* ============================================
   ПОДРОБНЕЕ О КОТИКЕ
============================================ */
body.page-cat-details .container {
    position: relative;
}

body.page-cat-details .card {
    border-radius: 32px !important;
}

body.page-cat-details .card-header {
    padding: 1rem 1.25rem !important;
}

body.page-cat-details .card-header h5 {
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

body.page-cat-details .card-body {
    padding: 1.35rem 1.35rem 1.45rem;
}

body.page-cat-details .card-body p {
    font-size: 1rem;
    line-height: 1.6;
}

body.page-cat-details .card-img-top {
    height: 430px !important;
    object-fit: cover !important;
}

body.page-cat-details .alert {
    font-weight: 700;
}

body.page-cat-details .btn {
    min-height: 48px;
}

/* ============================================
   СТРАНИЦА ЗАЯВОК
============================================ */
body.page-requests .card {
    border-radius: 30px !important;
}

body.page-requests .card-body {
    padding: 1.2rem 1.25rem;
}

body.page-requests form {
    align-items: center;
}

body.page-requests select[name="status"] {
    min-width: 240px !important;
    font-weight: 700;
}

body.page-requests .btn {
    min-height: 46px;
    min-width: 150px;
}

body.page-requests hr {
    margin: 1rem 0 1.15rem;
}

body.page-requests .badge {
    font-size: 0.86rem !important;
}

/* ============================================
   СТРАНИЦА ПОЛЬЗОВАТЕЛЕЙ
============================================ */
body.page-users table {
    border-radius: 26px !important;
    overflow: hidden;
}

body.page-users thead th {
    font-size: 0.96rem;
    letter-spacing: 0.02em;
}

body.page-users tbody td {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

body.page-users form:has(select[name="role"]) {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

body.page-users select[name="role"] {
    min-width: 220px !important;
    font-weight: 700;
}

body.page-users .btn {
    min-height: 46px;
}

body.page-users .btn-danger {
    min-width: 170px;
}

/* ============================================
   ДОБАВЛЕНИЕ / РЕДАКТИРОВАНИЕ КОТИКА
============================================ */
body.page-cat-form .card {
    border-radius: 34px !important;
}

body.page-cat-form .card-header {
    padding: 1rem 1.4rem !important;
}

body.page-cat-form .card-header h4 {
    font-size: 1.2rem;
    font-weight: 900;
}

body.page-cat-form .card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

body.page-cat-form .form-label {
    font-weight: 800;
    color: #7b5a69;
    margin-bottom: 0.45rem;
}

body.page-cat-form .form-control,
body.page-cat-form .form-select {
    min-height: 50px;
}

body.page-cat-form textarea.form-control {
    min-height: 120px;
    padding-top: 0.9rem;
}

body.page-cat-form .btn {
    min-height: 48px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* ============================================
   ОБЩИЕ ПРИЯТНЫЕ ДЕТАЛИ
============================================ */
.card .btn + .btn {
    margin-top: 0.35rem;
}

.card-header {
    position: relative;
}

.card-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 55%);
    pointer-events: none;
}

.table-responsive {
    border-radius: 28px !important;
}

/* Чуть мягче пустые состояния */
.empty-state,
.no-data,
.text-center.py-5 {
    box-shadow: 0 10px 20px rgba(226, 126, 174, 0.06);
}

/* Мобильная версия */
@media (max-width: 768px) {
    body.page-cats .card-title {
        font-size: 1.25rem;
    }

    body.page-cat-details .card-img-top {
        height: 290px !important;
    }

    body.page-users select[name="role"],
    body.page-requests select[name="status"] {
        min-width: 100% !important;
    }

    body.page-users .btn,
    body.page-requests .btn {
        width: 100%;
    }

    body.page-cat-form .card-body,
    body.page-cat-details .card-body,
    body.page-requests .card-body {
        padding: 1rem;
    }
}
\n\n
/* ===== DASHBOARD CONTRAST BOOST ===== */
body.page-dashboard .card,
body.page-dashboard .card-body,
body.page-dashboard .dashboard-card,
body.page-dashboard .stats-card,
body.page-dashboard .metric-card {
    background: #ffffff !important;
}

body.page-dashboard .card {
    border: 1px solid rgba(218, 110, 159, 0.18) !important;
    box-shadow: 0 10px 24px rgba(221, 115, 165, 0.10) !important;
}

body.page-dashboard .card-header,
body.page-dashboard .bg-pink {
    background: linear-gradient(135deg, #ea7eb3 0%, #f2a6c6 100%) !important;
    color: #ffffff !important;
}

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

body.page-dashboard .card-body,
body.page-dashboard .card-body p,
body.page-dashboard .card-body span,
body.page-dashboard .card-body div,
body.page-dashboard .card-body li {
    color: #4b3642 !important;
}

body.page-dashboard .text-muted {
    color: #7f6773 !important;
}

body.page-dashboard h1,
body.page-dashboard h2,
body.page-dashboard h3,
body.page-dashboard h4,
body.page-dashboard h5 {
    color: #c4588d !important;
}

body.page-dashboard .badge {
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}
\n\n
/* ===== BEAUTIFUL ADOPTION REQUESTS PAGE ===== */

body.page-requests .card {
    border-radius: 30px !important;
    border: 1px solid rgba(233, 126, 179, 0.14) !important;
    box-shadow: 0 12px 28px rgba(223, 118, 168, 0.10) !important;
    background: linear-gradient(180deg, #ffffff 0%, #fff8fb 100%) !important;
    overflow: hidden;
}

body.page-requests .card-header {
    padding: 1rem 1.25rem !important;
}

body.page-requests .card-body {
    padding: 1.25rem 1.3rem !important;
}

body.page-requests h1,
body.page-requests h2,
body.page-requests h3 {
    letter-spacing: -0.03em;
}

/* Текст внутри карточек */
body.page-requests .card-body p,
body.page-requests .card-body div,
body.page-requests .card-body span {
    color: #4b3742 !important;
}

body.page-requests .text-muted,
body.page-requests small {
    color: #8b7380 !important;
}

/* Бейджи статусов */
body.page-requests .badge {
    border-radius: 999px !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 0.9rem !important;
    font-weight: 800 !important;
}

/* Блок смены статуса */
body.page-requests form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0.7rem;
}

body.page-requests select[name="status"] {
    min-width: 240px !important;
    min-height: 48px !important;
    border-radius: 16px !important;
    font-weight: 700;
    background: #fff !important;
    border: 1.5px solid rgba(233, 126, 179, 0.16) !important;
}

body.page-requests .btn {
    min-height: 48px;
    border-radius: 999px !important;
    font-weight: 800;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Линии между блоками мягче */
body.page-requests hr {
    border-color: #efd8e5 !important;
    margin: 1rem 0 1.1rem;
}

/* Ссылка на котика красивее */
body.page-requests a {
    font-weight: 700;
}

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

    body.page-requests form {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-requests select[name="status"],
    body.page-requests .btn {
        width: 100%;
        max-width: 100%;
    }
}
\n\n
/* ===== BEAUTIFUL MOBILE REQUESTS ===== */

body.page-requests .container,
body.page-requests .container-fluid {
    max-width: 920px;
}

body.page-requests h1,
body.page-requests h2 {
    letter-spacing: -0.04em;
    line-height: 1.05;
}

/* Карточка заявки */
body.page-requests .card {
    border-radius: 32px !important;
    border: 1px solid rgba(233, 126, 179, 0.14) !important;
    box-shadow: 0 16px 34px rgba(225, 118, 168, 0.10) !important;
    overflow: hidden;
}

body.page-requests .card-body {
    padding: 1.35rem 1.35rem 1.45rem !important;
}

/* Текст в карточке */
body.page-requests .card-body p,
body.page-requests .card-body div,
body.page-requests .card-body span {
    line-height: 1.65;
}

/* Плашка текущего статуса */
body.page-requests .badge,
body.page-requests .status-badge {
    border-radius: 999px !important;
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* Кнопка "Котик" / Назад */
body.page-requests a.btn,
body.page-requests .btn-outline-secondary,
body.page-requests .btn-outline-dark {
    min-height: 48px;
    border-radius: 999px !important;
    font-weight: 800 !important;
}

/* Форма смены статуса */
body.page-requests form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    margin-top: 1rem;
}

body.page-requests select[name="status"] {
    min-height: 54px !important;
    border-radius: 20px !important;
    font-size: 1rem !important;
    font-weight: 700;
    padding-left: 1rem;
}

body.page-requests .btn-pink,
body.page-requests .btn-primary,
body.page-requests button[type="submit"] {
    min-height: 54px;
    border-radius: 999px !important;
    font-size: 1.02rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(233, 126, 179, 0.18);
}

/* Линия-разделитель */
body.page-requests hr {
    border-color: #efd9e5 !important;
    margin: 1.1rem 0;
}

/* Мобильная версия */
@media (max-width: 768px) {
    body.page-requests h1,
    body.page-requests h2 {
        font-size: 2rem !important;
    }

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

    body.page-requests .card {
        border-radius: 26px !important;
    }

    body.page-requests select[name="status"],
    body.page-requests button[type="submit"],
    body.page-requests .btn {
        width: 100%;
        max-width: 100%;
    }
}
