:root {
    --bg-black: #05080a;
    --card-bg: #0d1216;
    --accent-green: #00ffc8;
    --accent-blue: #00f2ff;
    --accent-gold: #ffcc00;
    --accent-dim: #5a7b75;
    --text-gray: #8ea1a1;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* === MILITARY GRADIENT EXTENSION === */

html, body {
    min-height: 100%;
    background: radial-gradient( 1400px 700px at 50% -250px, rgba(0, 255, 200, 0.28), rgba(0, 255, 180, 0.12) 30%, rgba(10, 40, 30, 0.85) 55%, #05080a 100% ), linear-gradient( 180deg, #1a6a52 0%, #0e3a2b 35%, #05080a 100% );
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
}


.military-gradient {
    background: radial-gradient( 900px 450px at 50% 0, rgba(0, 255, 200, 0.20), rgba(0, 255, 200, 0.08) 40%, rgba(6, 14, 12, 0.96) 75% ), linear-gradient( 160deg, rgba(30, 90, 70, 0.96), rgba(5, 8, 10, 0.99) );
}


.gradient-panel {
    background: linear-gradient( 135deg, rgba(45, 140, 110, 0.45), rgba(8, 16, 14, 0.92) );
    border: 1px solid rgba(0, 255, 200, 0.25);
    box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 255, 200, 0.12);
}


/* Общая обертка отчета */
.report-wrapper {
    max-width: 1400px;
    margin: 20px auto;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
}

/* ШАПКА */
.report-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.brand-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-subtitle-wrapper {
    display: flex;
    flex-direction: column;
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-icon {
    color: var(--accent-green);
}

.header-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

    .header-logo:hover {
        height: 160px;
        filter: drop-shadow(0 0 15px rgba(0, 255, 170, 0.6));
        transform: scale(1.05);
    }

.logo-glow {
    filter: drop-shadow(0 0 8px rgba(0, 255, 170, 0.3));
}

.title-text {
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #fff;
}

.header-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-date-range {
    text-align: right;
    font-size: 11px;
    color: var(--accent-green);
    line-height: 1.2;
}

/* HERO СЕКЦИЯ (ЦИФРЫ) */
.hero-section-wide {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 0;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    position: relative;
}

    .hero-section-wide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( 700px 260px at 50% 0, rgba(0, 255, 220, 0.28), rgba(0, 255, 200, 0.12) 35%, transparent 70% );
        pointer-events: none;
    }

.stats-container-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.stat-block {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-value {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: #fff;
}

.stat-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--accent-green);
    font-weight: 800;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
}

/* ЦВЕТОВЫЕ КЛАССЫ */
.destroyed-color {
    color: var(--accent-green) !important;
}

.detected-color {
    color: var(--accent-blue) !important;
}

.humanitarian-color {
    color: var(--accent-gold) !important;
}

/* ТАБЛИЦЫ */
.tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

    .stats-table thead th {
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(0, 255, 200, 0.2);
        padding-bottom: 8px;
        text-align: center;
    }

.table-header-left {
    text-align: left !important;
}

.stats-table td {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ВЫРАВНИВАНИЕ ИКОНОК И ТЕКСТА (РЕФАКТОРИНГ) */
.row-label-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.icon-container svg {
    height: 24px;
    width: auto;
    fill: none;
    display: block;
}

.label-text-styled {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-gray);
    font-family: 'UAFSans-Medium', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.row-val {
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    width: 60px;
    text-align: center;
}

/* СЕЛЕКТ ПЕРИОДА */
.period-select {
    background: #0d1216;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
}

/* ФУТЕР */
.footer-icons {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    opacity: 0.4;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-target-icon {
    font-size: 10px;
    color: var(--accent-dim);
}

/* АДАПТИВ */
@media (max-width: 1100px) {
    .tables-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- СТИЛИ АДМИН-ПАНЕЛИ --- */

.admin-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 15px;
}

/* Кастомные стили для карточек и таблиц в админке */
.admin-card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--accent-green) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.table-admin {
    border-color: var(--border-color) !important;
}

    .table-admin th {
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 1px;
        border-bottom: 2px solid var(--border-color) !important;
    }

/* Модальное окно */
.modal-custom {
    display: block;
    z-index: 1050;
}

.modal-backdrop-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1040;
}

.img-grid-thumbnail {
    height: 150px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.2s;
}

    .img-grid-thumbnail:hover {
        transform: scale(1.02);
    }

/* Полноэкранный просмотр */
.fullscreen-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

    .fullscreen-preview img {
        max-width: 95%;
        max-height: 95%;
        box-shadow: 0 0 30px rgba(0,255,200,0.2);
        border: 1px solid rgba(255,255,255,0.1);
    }

.border-dashed {
    border-style: dashed !important;
}

.btn-delete-img {
    padding: 0 5px;
    line-height: 1.2;
}

.upload-zone {
    background: rgba(255,255,255,0.03);
    transition: background 0.3s;
}

    .upload-zone:hover {
        background: rgba(0,255,200,0.05);
    }

.social-links-footer {
    text-align: center;
    padding: 40px 20px;
    background: transparent; /* Или очень темный фон */
}

/* Верхний текст */
.social-text-main {
    font-size: 14px; /* Увеличили */
    line-height: 1.6;
    letter-spacing: 1.5px;
    color: #ffffff; /* Белый для максимальной яркости */
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
}

    .social-text-main span {
        color: rgb(34, 197, 104); /* Акцент на призыве */
        font-size: 12px;
        opacity: 0.9;
    }

/* Блок с кнопкой анкеты */
.footer-action-block {
    margin-bottom: 30px;
}

.recruit-button {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid rgb(34, 197, 104);
    color: rgb(34, 197, 104);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

    .recruit-button:hover {
        background: rgb(34, 197, 104);
        color: #000;
        box-shadow: 0 0 15px rgba(34, 197, 104, 0.4);
    }

/* Иконки */
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.social-link {
    color: rgb(34, 197, 104);
    transition: all 0.2s ease-in-out;
}

    .social-link:hover {
        transform: scale(1.2);
        filter: drop-shadow(0 0 8px rgba(34, 197, 104, 0.6));
    }

/* Телефон */
.footer-phone {
    font-size: 13px;
    color: #888;
    letter-spacing: 1px;
    margin-top: 10px;
}

    .footer-phone a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        margin-left: 5px;
        transition: color 0.2s;
    }

        .footer-phone a:hover {
            color: rgb(34, 197, 104);
        }

/* Центрируем форму на странице */
.registration-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
}

.military-form-container {
    width: 100%;
    max-width: 450px;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(34, 197, 104, 0.3);
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-header {
    color: #fff;
    text-align: center;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

/* Стили полей ввода */
.military-input-group {
    margin-bottom: 20px;
}

    .military-input-group label {
        display: block;
        color: #888;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

.military-input {
    width: 100%;
    background: #151515 !important;
    border: 1px solid #333 !important;
    padding: 12px 15px;
    color: #fff !important;
    border-radius: 0; /* Строгие углы */
    transition: all 0.3s ease;
}

    .military-input:focus {
        outline: none;
        border-color: rgb(34, 197, 104) !important;
        box-shadow: 0 0 10px rgba(34, 197, 104, 0.2);
    }

/* Кнопка */
.military-btn-submit {
    width: 100%;
    background: transparent;
    border: 1px solid rgb(34, 197, 104);
    color: rgb(34, 197, 104);
    padding: 15px;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
}

    .military-btn-submit:hover {
        background: rgb(34, 197, 104);
        color: #000;
        box-shadow: 0 0 20px rgba(34, 197, 104, 0.4);
    }

/* Сообщения об ошибках */
.text-danger {
    font-size: 11px;
    margin-top: 5px;
    color: #ff4444 !important;
    letter-spacing: 0.5px;
}
