* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
/* Светлый градиентный фон */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef2f7 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
/* Цветовая палитра */
:root {
    --orange: #FF6D00;
    --orange-light: #FF9E00;
    --cyan: #00B4D8;
    --blue-deep: #0077B6;
    --dark-blue: #023E8A;
    --white: #fff;
    --black: #000;
    --gray-bg: #f8f9fa;
}
/* Header */
header {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
    border-bottom: 1px solid #eef2f5;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    flex-direction: row;
}
.logo {
    font-size: 32px;
    font-weight: 800;
    background: var(--dark-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 40px;
    letter-spacing: 1px;
}
.logo-area small {
    font-size: 17px;
    line-height: 15px;
    color: #555;
    display: block;
    width: 100px;
    text-align: center;
}

.big-found {
    font-size: 28px;
    text-align: center;
    font-weight: 800;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    color: var(--orange);
    animation: blinkWarning 0.8s infinite alternate;
}
@keyframes blinkWarning {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}
.social-login {
    display: flex;
    gap: 24px;
    align-items: center;
}
.social-icons a {
    color: var(--blue-deep);
    margin: 0 6px;
    font-size: 20px;
    transition: 0.2s;
}
.social-icons a:hover { color: var(--orange); }
.login-reg a {
    text-decoration: none;
    margin-left: 15px;
    font-weight: 600;
    color: var(--dark-blue);
}
.login-reg .reg-btn {
    background: var(--orange);
    padding: 6px 14px;
    border-radius: 30px;
    color: white;
}
/* Бургер меню */
.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--dark-blue);
    background: none;
    border: none;
    margin-left: 15px;
}

nav {
    padding: 12px 0;
}

.menu-links {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    list-style: none;
    transition: all 0.3s ease;
}
.menu-links li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--dark-blue);
    transition: 0.2s;
}
.menu-links li a:hover { color: var(--orange); }

@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }
    
    nav {
        position: relative;
    }
    
    .menu-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 99;
        border-radius: 0 0 20px 20px;
    }
    
    .menu-links.active {
        max-height: 400px;
        padding: 15px 0;
    }
    
    .menu-links li {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .menu-links li a {
        display: block;
    }
    
    .header-top {
        position: relative;
    }
}
/* бегущая строка */
.ticker {
    background: var(--dark-blue);
    color: white;
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}
.ticker-content {
    display: inline-block;
    animation: tickerMove 22s linear infinite;
    font-weight: 500;
    white-space: nowrap;
}
.ticker-content span {
    margin-right: 40px;
}
@keyframes tickerMove {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
section {
    margin: 60px 0;
    width: 100%;
}
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 6px solid var(--orange);
    padding-left: 20px;
    color: var(--dark-blue);
}
/* Swiper с отступами для первой и последней карточки */
.swiper {
    width: 100%;
    padding: 15px 60px 50px !important;
    overflow: hidden;
}

.swiper-slide {
    height: auto;
    width: 280px;
    flex-shrink: 0;
}

/* Отступы для первой и последней карточки */
.swiper-wrapper {
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1280px) {
    .swiper-wrapper {
        padding-left: calc((100% - 1160px) / 2 + 20px);
        padding-right: calc((100% - 1160px) / 2 + 20px);
    }
}

@media (max-width: 640px) {
    .swiper-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.card {
    background: white;
    border-radius: 28px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
}

.card-img {
    width: 100%;
    height: 280px;
    background-color: #e0e7ef;
    background-size: cover;
    background-position: center;
}

.card-info {
    padding: 18px;
    flex: 1;
}

.card-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark-blue);
}

.card-info p {
    font-size: 13px;
    color: #555;
    margin: 6px 0;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--orange);
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--orange);
    color: white;
}

.swiper-pagination-bullet-active {
    background: var(--orange);
}
.form-box {
    background: white;
    border-radius: 28px;
    padding: 32px;
    margin-top: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.btn {
    background: var(--orange);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
}
.btn:hover {
    background: var(--orange-light);
    transform: scale(1.02);
}
.btn-dark {
    background: var(--dark-blue);
}

.btn-dark:hover {
    background: var(--blue-deep);
}
/* Hero блок - исправлена видимость кнопок */
.hero-orange {
    background: linear-gradient(120deg, #FF9E00, #FF6D00);
    border-radius: 48px;
    padding: 50px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
    color: white;
}
.hero-img-block {
    flex: 1;
    transform: rotate(3deg);
    background: white;
    padding: 12px;
    border-radius: 28px;
    box-shadow: 20px 20px 0 rgba(0, 0, 0, 0.15);
}
.hero-img-block img {
    width: 100%;
    border-radius: 20px;
    display: block;
}
.hero-text {
    flex: 1;
}

.hero-text h2 {
    margin-bottom: 20px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    margin-top: 25px;
}
.info-card {
    background: rgba(255,255,255,0.98);
    padding: 20px 15px;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: 0.2s;
    color: #333;
    cursor: pointer;
}

.info-card i {
    margin-bottom: 12px;
    display: inline-block;
}

.info-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 8px;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}
/* Сводки новостей */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.2s;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.news-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.news-desc {
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
}
.soldier-block,
.child-block {
    background: white;
    border-radius: 40px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 1;
}

.child-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../../../assets/images/deti.webp);
    border-radius: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.soldier-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../../../assets/images/Rectangle50.jpg);
    border-radius: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}



.double-btn {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.footer {
    background: var(--dark-blue);
    color: #cbd5e1;
    padding: 40px 0 20px;
    margin-top: 60px;
    width: 100%;
}
.map-container {
    height: 480px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
}
.filter-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #eef2f8;
    border: none;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    color: var(--dark-blue);
    transition: 0.2s;
}

.filter-btn.active {
    background: var(--orange);
    color: white;
    box-shadow: 0 4px 10px rgba(255,109,0,0.3);
}

.filter-btn:hover {
    background: var(--orange-light);
    color: white;
}

/* Блок гордости России - 4 карточки */
.pride-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.pride-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: 0.2s;
    padding: 25px 20px;
}

.pride-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.pride-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 4px solid var(--orange);
    padding: 3px;
}

.pride-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.pride-role {
    font-size: 13px;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 12px;
}

.pride-desc {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}
@media (max-width: 800px) {
    .hero-orange {
        padding: 30px 20px;
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .container {
        padding: 0 15px;
    }
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .pride-grid {
        grid-template-columns: 1fr;
    }
}



.login-reg {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.profile-link {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-link:hover {
    color: var(--orange);
}

.logout-link {
    color: #e74c3c;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.logout-link:hover {
    color: #c0392b;
}

.login-link {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-link:hover {
    color: var(--orange);
}

.reg-btn {
    background: var(--orange);
    padding: 8px 18px;
    border-radius: 30px;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.reg-btn:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
}

/* Модальное окно ajaxLogin */
.al-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.al-modal.active {
    display: flex;
}

.al-container {
    background: white;
    border-radius: 20px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.al-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    z-index: 10;
}

.al-close:hover {
    color: #333;
}

/* Стили для форм ajaxLogin */
#ajaxLoginForm,
#ajaxRegisterForm {
    padding: 30px;
}

#ajaxLoginForm h3,
#ajaxRegisterForm h3 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.al-form-group {
    margin-bottom: 18px;
}

.al-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.al-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.al-form-group input:focus {
    outline: none;
    border-color: var(--orange);
}

.al-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.al-checkbox input {
    width: auto;
}

.al-btn {
    background: var(--orange);
    color: white;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.al-btn:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
}

.al-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.al-success {
    color: #27ae60;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.al-links {
    text-align: center;
    margin-top: 15px;
}

.al-links a {
    color: var(--blue-deep);
    text-decoration: none;
    font-size: 14px;
}

.al-tabs {
    display: flex;
    border-bottom: 2px solid #eef2f5;
}

.al-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: 0.2s;
}

.al-tab.active {
    color: var(--orange);
    border-bottom: 2px solid var(--orange);
    margin-bottom: -2px;
}




/* ========== ЛИЧНЫЙ КАБИНЕТ ========== */

.lk-container {
    max-width: 1400px;
    margin: 30px auto;
}

.lk-header {
    background: white;
    border-radius: 28px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.lk-user {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lk-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF6D00, #FF9E00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lk-avatar i {
    font-size: 50px;
    color: white;
}

.lk-user-info h2 {
    color: #023E8A;
    margin-bottom: 5px;
    font-size: 24px;
}

.lk-user-info p {
    color: #555;
    margin: 5px 0;
    font-size: 14px;
}

.lk-user-info p i {
    width: 20px;
    color: #FF6D00;
}

.lk-stats {
    display: flex;
    gap: 30px;
}

.lk-stat {
    text-align: center;
}

.lk-stat .number {
    font-size: 28px;
    font-weight: bold;
    color: #FF6D00;
}

.lk-stat .label {
    font-size: 14px;
    color: #666;
}

/* Навигация личного кабинета */
.lk-nav {
    background: white;
    border-radius: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.lk-nav-items {
    display: flex;
    list-style: none;
    padding: 0 10px;
    margin: 0;
}

.lk-nav-item {
    display: inline-block;
}

.lk-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.lk-nav-link:hover {
    color: #FF6D00;
}

.lk-nav-link.active {
    color: #FF6D00;
    border-bottom-color: #FF6D00;
}

/* Вкладки */
.lk-tab {
    display: none;
    animation: fadeIn 0.3s ease;
}

.lk-tab.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Карточки форм */
.lk-card {
    background: white;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

.lk-card h3 {
    color: #023E8A;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}

/* Формы */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF6D00;
}

.form-group input:disabled {
    background: #f5f5f5;
    color: #999;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

/* Сообщения форм */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Пустое состояние */
.empty-state {
    text-align: center;
    padding: 60px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #ddd;
}

/* Список заявок */
.reports-list {
    min-height: 150px;
    margin-bottom: 20px;
}

/* Админ панель */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.admin-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
    border: 1px solid #eef2f5;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: #FF6D00;
}

.admin-card i {
    font-size: 48px;
    color: #FF6D00;
    margin-bottom: 15px;
}

.admin-card h4 {
    color: #023E8A;
    margin-bottom: 10px;
}

.admin-card p {
    color: #666;
    font-size: 14px;
}

/* Адаптив для личного кабинета */
@media (max-width: 768px) {
    .lk-header {
        flex-direction: column;
        text-align: center;
    }
    
    .lk-user {
        flex-direction: column;
    }
    
    .lk-nav-link {
        padding: 15px 20px;
    }
    
    .lk-nav-link span {
        display: none;
    }
    
    .lk-nav-link i {
        font-size: 20px;
    }
    
    .lk-card {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .lk-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .lk-stat .number {
        font-size: 22px;
    }
    
    .lk-stat .label {
        font-size: 12px;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
    }
}


/* Стили для списка заявок пользователя */
.reports-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-card {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    transition: 0.2s;
    border: 1px solid #eef2f5;
}

.report-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #FF6D00;
}

.report-photo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.report-photo.no-photo {
    background: linear-gradient(135deg, #e0e7ef, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.report-photo.no-photo i {
    font-size: 50px;
    color: #94a3b8;
}

.report-info {
    flex: 1;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.report-header h4 {
    font-size: 18px;
    color: #023E8A;
    margin: 0;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-new { background: #FF6D00; color: white; }
.status-searching { background: #0077B6; color: white; }
.status-found { background: #27ae60; color: white; }
.status-closed { background: #95a5a6; color: white; }

.report-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.report-details span {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.category i, .date i {
    width: 16px;
    color: #FF6D00;
}

.category-svo { color: #e74c3c; }
.category-children { color: #27ae60; }
.category-civilian { color: #3498db; }

.report-actions {
    display: flex;
    gap: 15px;
}

.btn-view, .btn-edit {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-view {
    color: #023E8A;
    background: #eef2f8;
}

.btn-view:hover {
    background: #023E8A;
    color: white;
}

.btn-edit {
    color: #FF6D00;
    background: #fff3e8;
}

.btn-edit:hover {
    background: #FF6D00;
    color: white;
}

@media (max-width: 640px) {
    .report-card {
        flex-direction: column;
        text-align: center;
    }
    .report-photo {
        margin: 0 auto;
    }
    .report-header {
        flex-direction: column;
    }
    .report-details {
        justify-content: center;
    }
    .report-actions {
        justify-content: center;
    }
}




/* Модальное окно смены статуса */
.status-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.status-modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
}

.status-modal-content h3 {
    margin-bottom: 20px;
    color: #023E8A;
}

.status-modal-content select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 20px;
}

.status-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.status-moderation { background: #f39c12; color: white; }
.status-searching { background: #0077B6; color: white; }
.status-found { background: #27ae60; color: white; }
.status-closed { background: #95a5a6; color: white; }

/* Кнопка смены статуса */
.btn-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: white;
}

.btn-status:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46a0 100%);
}

.btn-status:active {
    transform: translateY(0);
}

.user-limit {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.user-limit label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}
.limit-input {
    width: 70px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}
.btn-save-limit {
    background: #FF6D00;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    cursor: pointer;
}
.btn-save-limit:hover {
    background: #FF9E00;
}
.admin-badge-small {
    background: #FF6D00;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    margin-left: 10px;
}
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    flex-wrap: wrap;
}
.pagination-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 14px;
    font-weight: 500;
}
.pagination-btn:hover {
    background: #FF6D00;
    color: white;
    border-color: #FF6D00;
}
.pagination-btn.active {
    background: #FF6D00;
    color: white;
    border-color: #FF6D00;
}
.pagination-dots {
    padding: 8px 4px;
    color: #666;
}


/* ========== КАРТОЧКИ ПОЛЬЗОВАТЕЛЕЙ ДЛЯ АДМИНКИ ========== */
.users-list-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 15px;
    transition: 0.2s;
    border: 1px solid #eef2f5;
}

.user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: #FF6D00;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6D00, #FF9E00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.user-details h4 {
    margin: 0 0 5px 0;
    color: #023E8A;
    font-size: 16px;
}

.user-details p {
    margin: 3px 0;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-details p i {
    width: 16px;
    color: #FF6D00;
}

.user-limit {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.user-limit label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.limit-input {
    width: 70px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.btn-save-limit {
    background: #FF6D00;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-save-limit:hover {
    background: #FF9E00;
    transform: translateY(-2px);
}

.user-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.user-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.user-status.active {
    background: #27ae60;
    color: white;
}

.user-status.blocked {
    background: #e74c3c;
    color: white;
}

.btn-edit {
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e74c3c;
    background: #fef2f0;
}

.btn-edit:hover {
    background: #e74c3c;
    color: white;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .user-card {
        flex-direction: column;
        text-align: center;
    }
    .user-info {
        flex-direction: column;
        text-align: center;
    }
    .user-actions {
        align-items: center;
    }
    .user-details p {
        justify-content: center;
    }
    .user-limit {
        justify-content: center;
    }
}


.btn-delete {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-delete:hover {
    background: #c0392b;
    transform: translateY(-2px);
}


/* Кнопки смены статуса для пользователей */
.btn-status-user {
    padding: 6px 14px;
    border: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-found {
    background: #27ae60;
    color: white;
}

.btn-found:hover {
    background: #219a52;
    transform: translateY(-2px);
}

.btn-unfound {
    background: #f39c12;
    color: white;
}

.btn-unfound:hover {
    background: #d68910;
    transform: translateY(-2px);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: 0.2s;
}

.card-link:hover .card {
    transform: translateY(-1px);
    box-shadow: 0 25px 40px -12px rgba(0, 0, 0, 0.25);
}


/* Плашка категории на карточке */
.category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

.category-svo {
    background: #e74c3c;
}

.category-children {
    background: #27ae60;
}

.category-civilian {
    background: #3498db;
}

.category-unknown {
    background: #95a5a6;
}



/* ========== СТРАНИЦА КАРТОЧКИ ПРОПАВШЕГО ========== */

/* Контейнер страницы */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Карточка */
.card-detail {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
}

/* Шапка карточки */
.card-detail-header {
    padding: 30px;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.card-detail-header h1 {
    font-size: 28px;
    margin: 0;
}

/* Бейджи категорий */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.category-badge i {
    font-size: 16px;
}

.category-svo {
    background: #e74c3c;
}

.category-children {
    background: #27ae60;
}

.category-civilian {
    background: #3498db;
}

/* Бейджи статусов */
.status-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.status-moderation {
    background: #f39c12;
}

.status-searching {
    background: #e74c3c;
    animation: pulse 1.5s infinite;
}

.status-found {
    background: #27ae60;
}

.status-closed {
    background: #95a5a6;
}

/* Анимация пульсации для статуса "В поиске" */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Тело карточки */
.card-detail-body {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Фото */
.card-detail-photo {
    position: relative;
}

.card-detail-photo img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    min-height: 300px;
    background: #e0e7ef;
}

/* Информационная часть */
.card-detail-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Группы информации */
.info-group {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 20px;
}

.info-group h3 {
    color: #023E8A;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-group h3 i {
    color: #FF6D00;
}

/* Элементы информации */
.info-item {
    display: flex;
    padding: 6px 0;
    border-bottom: 1px solid #eef2f5;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #555;
    min-width: 200px;
    flex-shrink: 0;
}

.info-value {
    color: #333;
    word-break: break-word;
}

/* Кнопка "На главную" */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    transition: 0.2s;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Описание */
.info-group p {
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* ========== АДАПТИВ ========== */

@media (max-width: 992px) {
    .card-detail-body {
        grid-template-columns: 1fr;
    }
    
    .card-detail-photo img {
        max-height: 400px;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 20px 15px;
    }
    
    .card-detail-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .card-detail-header h1 {
        font-size: 22px;
    }
    
    .card-detail-body {
        padding: 20px;
        gap: 20px;
    }
    
    .info-item {
        flex-direction: column;
        gap: 2px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-group {
        padding: 15px;
    }
    
    .card-detail-photo img {
        min-height: 200px;
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .card-detail-header {
        padding: 15px;
    }
    
    .card-detail-header h1 {
        font-size: 18px;
    }
    
    .card-detail-body {
        padding: 15px;
    }
    
    .category-badge,
    .status-badge {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    .info-group h3 {
        font-size: 14px;
    }
    
    .info-item {
        font-size: 13px;
    }
}