body {
    font-family: 'Times New Roman', serif;
    background-color: #f8f9fa;
}

h1.display-4 {
    font-size: 3rem;
    font-weight: 300;
}

footer.footer {
    background-color: #f8f9fa;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 5px;
}

.btn-lg {
    padding: 1rem 2rem;
}

.alert-info {
    font-size: 1.2rem;
}

.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Стили из player/country.php */
.card-header-custom {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.card-title-custom {
    font-weight: bold;
    color: #007bff;
}

.custom-checkbox {
    display: none;
}

.custom-checkbox-label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    user-select: none;
    color: #343a40;
}

.custom-checkbox-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    border-radius: 4px;
    background-color: white;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-checkbox:checked + .custom-checkbox-label:before {
    background-color: #007bff;
    border-color: #007bff;
}

.custom-checkbox:checked + .custom-checkbox-label:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 5px;
    border: solid white;
    border-width: 0 0 2px 2px;
    border-radius: 2px;
}

.custom-checkbox-label:hover:before {
    border-color: #0056b3;
}

.notifications-card {
    max-height: 300px;
    overflow-y: auto;
}

.info-header {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 10px;
}

/* Сетки */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.city-card, .country-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover, .country-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated.fadeIn {
    animation-name: fadeIn;
}

.animated.bounce {
    animation-name: bounce;
}

/* Иконки */
.material-icons {
    vertical-align: middle;
    margin-left: 5px;
}

/* Новые цвета для карточек */
.bg-primary {
    background-color: #007bff !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-secondary {
    background-color: #6c757d !important;
}

.text-white {
    color: #ffffff !important;
}

/* Смягченные цвета для мертвых городов */
.bg-secondary {
    background-color: #6c757d !important;
}
