/* Основные цвета и навигация */
.bg-dark-green {
    background-color: #1a4d3e;
}

.navbar-brand i, .navbar-brand {
    color: white;
}

.nav-link {
    color: rgba(255,255,255,0.85);
}

.nav-link:hover, .nav-link.active {
    color: white;
}

/* Карточки */
.card {
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.card-header {
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
    padding: 12px 16px;
    font-weight: 500;
}

/* Карта */
#map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

/* Кнопки */
.btn-primary {
    background-color: #1a4d3e;
    border-color: #1a4d3e;
}

.btn-primary:hover {
    background-color: #0e352a;
    border-color: #0e352a;
}

.btn-outline-primary {
    border-color: #1a4d3e;
    color: #1a4d3e;
}

.btn-outline-primary:hover {
    background-color: #1a4d3e;
    border-color: #1a4d3e;
}

/* Уведомления (toast) */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast-message {
    margin-bottom: 10px;
    min-width: 250px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    background: white;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

.toast-message.info {
    border-left-color: #0d6efd;
    background: #e7f1ff;
    color: #0a58ca;
}

.toast-message.success {
    border-left-color: #198754;
    background: #e6f4ea;
    color: #0f5c3a;
}

.toast-message.warning {
    border-left-color: #ffc107;
    background: #fff3cd;
    color: #856404;
}

.toast-message.danger {
    border-left-color: #dc3545;
    background: #f8d7da;
    color: #a71d2a;
}

.toast-message button {
    float: right;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
}

.toast-message button:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Параметры ловли */
.params-section {
    display: none;
}

.params-section.active {
    display: block;
}

/* Дополнительные параметры */
.advanced-params {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

/* Переключатель типа ловли */
.fishing-type-btn.active {
    background-color: #1a4d3e;
    color: white;
    border-color: #1a4d3e;
}

/* Дневник */
.diary-entry {
    font-size: 0.9rem;
}

/* Карточки уловов */
.catch-card {
    margin-bottom: 20px;
    transition: transform 0.2s;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.catch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.catch-photo {
    height: 200px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.fish-weight {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a4d3e;
}

/* Футер */
.footer {
    margin-top: 50px;
    padding: 20px 0;
    background: #f5f5f5;
    text-align: center;
}

/* Результат прогноза */
.prediction-text {
    white-space: pre-wrap;
    line-height: 1.6;
}

/* Плавные переходы */
.btn, .card {
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
}

.card:hover {
    /* transform: translateY(-5px); */
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Чипсы уровней прогноза */
.forecast-chips-row {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.forecast-chip {
    flex: 1;
    text-align: center;
    padding: 6px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid #dee2e6;
    background: #fff;
    color: #555;
    transition: all 0.15s ease;
    user-select: none;
}

.forecast-chip.active {
    border-color: #1a4d3e;
    background: #e8f5ee;
    color: #1a4d3e;
}

.forecast-chip.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.forecast-chip:hover:not(.disabled):not(.active) {
    border-color: #1a4d3e;
    background: #f0faf5;
}

/* Текст лимитов */
.forecast-limits {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    text-align: center;
}

.forecast-limits .limit-exhausted {
    color: #dc3545;
    font-weight: 600;
}

/* Анимация для модальных окон */
.modal-content {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}