/* ===== TOMORROW STYLES CSS ===== */
/* Стили для страницы прогноза магнитных бурь на завтра */

/* Основные стили для завтрашнего прогноза */
.tomorrow-storm-main {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #2196f3;
}

.storm-main-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.storm-status-large {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.storm-status-large i {
    font-size: 3rem;
    min-width: 60px;
}

.storm-details h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.storm-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 600px;
}

.storm-indicators {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.indicator-label {
    font-weight: 500;
    color: #666;
}

.indicator-value {
    font-weight: 700;
    font-size: 1.1rem;
}

/* Временная шкала магнитных бурь */
.tomorrow-hourly-magnetic {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.hourly-magnetic-timeline {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 20px 0;
    align-items: flex-end;
    min-height: 150px;
}

.hourly-magnetic-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
    gap: 5px;
}

.hour-time {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
}

.kp-bar {
    width: 30px;
    min-height: 10px;
    border-radius: 4px 4px 0 0;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
}

.kp-value {
    font-size: 0.9rem;
    font-weight: 600;
}

.kp-status-mini {
    font-size: 0.7rem;
    color: #666;
    text-align: center;
    max-width: 60px;
    line-height: 1.2;
}

.magnetic-timeline-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Погодная секция */
.tomorrow-weather-main {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
}

.weather-main-info {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 25px;
}

.weather-icon-large {
    width: 80px;
    height: 80px;
}

.weather-details h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.temperature-range {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.temp-max {
    font-size: 2rem;
    font-weight: 700;
    color: #ff5722;
}

.temp-min {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2196f3;
}

.temp-separator {
    font-size: 1.5rem;
    color: #999;
    margin: 0 5px;
}

.weather-description {
    color: #666;
    line-height: 1.6;
}

.weather-parameters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.param-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.param-item i {
    color: #ff9800;
    font-size: 1.2rem;
    min-width: 20px;
}

.param-label {
    font-weight: 500;
    color: #666;
    margin-right: auto;
}

.param-value {
    font-weight: 600;
    color: #333;
}

.uv-low { color: #4caf50; }
.uv-moderate { color: #ff9800; }
.uv-high { color: #f44336; }

/* Временные периоды */
.tomorrow-time-periods {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.time-periods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.time-period-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.period-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.period-header i {
    font-size: 1.5rem;
    color: #ff9800;
}

.period-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.period-temp {
    font-size: 2rem;
    font-weight: 700;
    color: #2196f3;
    margin-bottom: 10px;
}

.period-condition {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.period-recommendations {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
}

/* Анализ здоровья */
.tomorrow-health-analysis {
    background: linear-gradient(135deg, #f3e5f5 0%, #e8eaf6 100%);
    border-left: 4px solid #9c27b0;
}

.health-risk-overview {
    margin-bottom: 30px;
}

.risk-indicator-main {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.risk-icon {
    font-size: 3rem;
    min-width: 70px;
    text-align: center;
}

.risk-details h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.risk-score {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.risk-description {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Цвета для уровней риска */
.risk-низкий .risk-icon { color: #4caf50; }
.risk-умеренный .risk-icon { color: #ff9800; }
.risk-высокий .risk-icon { color: #f44336; }
.risk-очень\.высокий .risk-icon { color: #9c27b0; }

/* Факторы риска */
.tomorrow-risk-factors {
    margin-bottom: 30px;
}

.risk-factors-list {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.risk-factor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    color: #856404;
}

.risk-factor-item i {
    color: #f39c12;
    min-width: 16px;
}

/* Рекомендации */
.tomorrow-recommendations h4 {
    margin-bottom: 20px;
}

.main-recommendation {
    margin-bottom: 25px;
}

.recommendation-positive {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
}

.recommendation-moderate {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    color: #0c5460;
}

.recommendation-warning {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

.rec-content h5 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.rec-content p {
    margin: 0;
    line-height: 1.5;
}

.specific-recommendations {
    margin-top: 20px;
}

.specific-recommendations h5 {
    margin-bottom: 15px;
    color: #333;
}

.recommendations-grid {
    display: grid;
    gap: 10px;
}

.recommendation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.recommendation-item i {
    color: #4caf50;
    min-width: 16px;
}

/* Стили для прогноза погоды */
.weather-forecast-card {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 4px solid #ff9800;
    margin-bottom: 30px;
}

.weather-forecast-days {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.forecast-day-weather {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.forecast-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.day-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.day-date {
    color: #666;
    font-size: 0.9rem;
}

.forecast-day-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.forecast-icon {
    width: 60px;
    height: 60px;
}

.forecast-temps {
    display: flex;
    align-items: center;
    gap: 8px;
}

.max-temp {
    font-size: 2rem;
    font-weight: 700;
    color: #ff5722;
}

.min-temp {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2196f3;
}

.temp-warning {
    color: #ff9800;
    font-size: 1.2rem;
}

.forecast-day-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.detail-item i {
    color: #ff9800;
}

.forecast-condition {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.day-meteosensitive-risks {
    margin-top: 15px;
}

.day-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.day-status.favorable {
    background: #d4edda;
    color: #155724;
}

.day-status.caution {
    background: #fff3cd;
    color: #856404;
}

.day-risks {
    margin-top: 8px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.risk-tag {
    background: #f8d7da;
    color: #721c24;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* Стили для улучшенного ГМО прогноза */
.gmo-extended-forecast {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #2196f3;
}

.gmo-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.gmo-extended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.gmo-day-detailed {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gmo-day-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.gmo-day-header h4 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 5px;
}

.gmo-date {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.gmo-main-indicators {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.gmo-indicator {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #ddd;
}

.gmo-indicator.primary {
    border-left-color: #2196f3;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
}

.gmo-indicator.secondary {
    border-left-color: #ff9800;
    background: linear-gradient(135deg, #fff3e0 0%, #f8f9fa 100%);
}

.indicator-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.indicator-header i {
    color: #2196f3;
    font-size: 1.2rem;
}

.indicator-name {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.indicator-help {
    margin-left: auto;
    color: #999;
    cursor: help;
}

.indicator-value-large {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.indicator-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
}

.indicator-unit {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.indicator-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.indicator-explanation {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

.indicator-explanation strong {
    color: #333;
}

/* Почасовой график */
.gmo-hourly-chart {
    margin-bottom: 25px;
}

.gmo-hourly-chart h5 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hourly-chart-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.hourly-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.hourly-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 40px;
    gap: 5px;
}

.hour-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.kp-bar-container {
    display: flex;
    align-items: flex-end;
    position: relative;
}

.kp-bar {
    width: 20px;
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
    min-height: 3px;
}

.kp-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.1);
}

.kp-value {
    font-size: 0.75rem;
    color: #555;
    font-weight: 600;
}

.chart-legend {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #666;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Вероятности */
.gmo-probabilities {
    margin-bottom: 25px;
}

.gmo-probabilities h5 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.probability-grid {
    display: grid;
    gap: 10px;
}

.prob-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    border-left: 3px solid #ddd;
}

.prob-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.prob-label {
    font-weight: 600;
    color: #333;
}

.prob-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.prob-description {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.prob-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.prob-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.5s ease;
}

/* Итоговые рекомендации */
.gmo-final-recommendation {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.gmo-final-recommendation h5 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendation-content .recommendation {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    align-items: flex-start;
}

.recommendation.good {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.recommendation.moderate {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    color: #0c5460;
}

.recommendation.caution {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.recommendation.warning {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.recommendation i {
    font-size: 1.5rem;
    margin-top: 2px;
}

/* Стили для прогноза магнитных бурь */
.gmo-forecast-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    border-left: 4px solid #2196f3;
}

.forecast-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.forecast-day-horizontal {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.forecast-day-horizontal:hover {
    transform: translateY(-2px);
}

.forecast-day-horizontal .forecast-day-header h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 5px;
}

.forecast-day-horizontal .forecast-day-header p {
    color: #666;
    margin: 0;
}

.day-kp-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.kp-label {
    font-weight: 500;
    color: #555;
}

.kp-value-large {
    font-size: 2rem;
    font-weight: 700;
}

.day-status-simple {
    margin-bottom: 20px;
}

.forecast-details-table {
    width: 100%;
    margin-bottom: 20px;
}

.forecast-details-table td {
    padding: 5px 0;
    border: none;
}

.forecast-details-table td:first-child {
    color: #666;
    width: 40%;
}

.forecast-hourly-simple {
    margin-bottom: 20px;
}

.hourly-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.hourly-values {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hourly-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.hour-label {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 3px;
}

.hour-kp {
    font-weight: 600;
    font-size: 0.9rem;
}

.forecast-probabilities-simple {
    margin-bottom: 20px;
}

.prob-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.prob-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.prob-item {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
}

.forecast-day-impact {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.forecast-day-impact h5 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1rem;
}

.impact-description {
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.no-weather-data,
.no-gmo-data,
.no-forecast-data {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Темная тема */
.dark-mode .tomorrow-storm-main {
    background: linear-gradient(135deg, #2c2c2c 0%, #1e3a5f 100%);
    border-left-color: #64b5f6;
}

.dark-mode .tomorrow-weather-main {
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 100%);
    border-left-color: #ffb74d;
}

.dark-mode .tomorrow-health-analysis {
    background: linear-gradient(135deg, #4a148c 0%, #311b92 100%);
    border-left-color: #ba68c8;
}

.dark-mode .weather-forecast-card {
    background: linear-gradient(135deg, #3e2723 0%, #5d4037 100%);
    border-left-color: #ffb74d;
}

.dark-mode .gmo-extended-forecast,
.dark-mode .gmo-forecast-card {
    background: linear-gradient(135deg, #2c2c2c 0%, #1e3a5f 100%);
    border-left-color: #64b5f6;
}

.dark-mode .indicator,
.dark-mode .param-item,
.dark-mode .time-period-item,
.dark-mode .risk-indicator-main,
.dark-mode .recommendation-item,
.dark-mode .forecast-day-weather,
.dark-mode .forecast-day-horizontal,
.dark-mode .gmo-day-detailed {
    background: #424242;
    color: #e0e0e0;
}

.dark-mode .storm-details h4,
.dark-mode .weather-details h4,
.dark-mode .risk-details h4,
.dark-mode .period-name,
.dark-mode .day-name,
.dark-mode .gmo-day-header h4,
.dark-mode .indicator-name {
    color: #e0e0e0;
}

.dark-mode .storm-description,
.dark-mode .weather-description,
.dark-mode .risk-description,
.dark-mode .period-condition,
.dark-mode .forecast-condition,
.dark-mode .impact-description,
.dark-mode .gmo-date {
    color: #bdbdbd;
}

.dark-mode .indicator-label,
.dark-mode .param-label {
    color: #9e9e9e;
}

.dark-mode .period-recommendations {
    background: #353535;
    color: #bdbdbd;
}

.dark-mode .risk-factor-item {
    background: #5d4037;
    border-color: #8d6e63;
    color: #ffcc80;
}
.dark-mode .recommendation-positive {
background: #2e7d32;
border-color: #4caf50;
color: #c8e6c9;
}
.dark-mode .recommendation-moderate {
background: #1565c0;
border-color: #2196f3;
color: #bbdefb;
}
.dark-mode .recommendation-warning {
background: #c62828;
border-color: #f44336;
color: #ffcdd2;
}
.dark-mode .day-status.favorable {
background: #2e7d32;
color: #c8e6c9;
}
.dark-mode .day-status.caution {
background: #f57c00;
color: #ffe0b2;
}
.dark-mode .risk-tag {
background: #5d4037;
color: #ffcc80;
}
.dark-mode .gmo-indicator {
background: #353535;
}
.dark-mode .gmo-indicator.primary {
background: linear-gradient(135deg, #1e3a5f 0%, #353535 100%);
}
.dark-mode .gmo-indicator.secondary {
background: linear-gradient(135deg, #3e2723 0%, #353535 100%);
}
.dark-mode .indicator-value,
.dark-mode .indicator-value-large {
color: #e0e0e0;
}
.dark-mode .indicator-explanation {
color: #bdbdbd;
}
.dark-mode .indicator-explanation strong {
color: #e0e0e0;
}
.dark-mode .hourly-chart-container {
background: #353535;
}
.dark-mode .prob-item {
background: #353535;
}
.dark-mode .prob-label {
color: #e0e0e0;
}
.dark-mode .prob-description {
color: #bdbdbd;
}
.dark-mode .prob-bar {
background: #555;
}
.dark-mode .recommendation.good {
background: #2e7d32;
color: #c8e6c9;
}
.dark-mode .recommendation.moderate {
background: #1565c0;
color: #bbdefb;
}
.dark-mode .recommendation.caution {
background: #f57c00;
color: #ffe0b2;
}
.dark-mode .recommendation.warning {
background: #c62828;
color: #ffcdd2;
}
.dark-mode .no-weather-data,
.dark-mode .no-gmo-data,
.dark-mode .no-forecast-data {
background: #353535;
color: #bdbdbd;
}
/* Мобильная адаптация */
@media (max-width: 768px) {
.storm-main-info {
flex-direction: column;
gap: 20px;
}

.storm-status-large {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.weather-main-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.weather-parameters {
    grid-template-columns: 1fr;
}

.time-periods-grid {
    grid-template-columns: 1fr;
}

.hourly-magnetic-timeline {
    gap: 5px;
}

.hourly-magnetic-item {
    min-width: 50px;
}

.magnetic-timeline-legend {
    gap: 10px;
}

.risk-indicator-main {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.gmo-extended-grid {
    grid-template-columns: 1fr;
}

.gmo-day-detailed {
    padding: 20px;
}

.forecast-horizontal {
    grid-template-columns: 1fr;
}

.weather-forecast-days {
    grid-template-columns: 1fr;
}

.forecast-day-main {
    flex-direction: column;
    align-items: flex-start;
}

.forecast-temps {
    align-self: flex-start;
}

.forecast-day-details {
    justify-content: space-between;
}

.hourly-values {
    justify-content: space-between;
}

.prob-list {
    justify-content: space-between;
}

.hourly-bars {
    gap: 5px;
}

.hourly-bar-item {
    min-width: 30px;
}

.chart-legend {
    gap: 10px;
}

.probability-grid {
    gap: 8px;
}

.recommendation {
    flex-direction: column;
    gap: 10px;
}

}
@media (max-width: 480px) {
.temperature-range {
justify-content: center;
}

.temp-max {
    font-size: 1.8rem;
}

.temp-min {
    font-size: 1.3rem;
}

.period-temp {
    font-size: 1.5rem;
}

.storm-details h4 {
    font-size: 1.3rem;
}

.risk-details h4 {
    font-size: 1.3rem;
}

.indicator-value-large {
    font-size: 2.5rem;
}

.indicator-value {
    font-size: 1.8rem;
}

.kp-value-large {
    font-size: 1.6rem;
}

.forecast-day-weather,
.forecast-day-horizontal {
    padding: 15px;
}

.gmo-day-detailed {
    padding: 15px;
}

.max-temp {
    font-size: 1.6rem;
}

.min-temp {
    font-size: 1.1rem;
}

}
.dark-mode .recommendation-positive {
background: #2e7d32;
border-color: #4caf50;
color: #c8e6c9;
}
.dark-mode .recommendation-moderate {
background: #1565c0;
border-color: #2196f3;
color: #bbdefb;
}
.dark-mode .recommendation-warning {
background: #c62828;
border-color: #f44336;
color: #ffcdd2;
}
.dark-mode .day-status.favorable {
background: #2e7d32;
color: #c8e6c9;
}
.dark-mode .day-status.caution {
background: #f57c00;
color: #ffe0b2;
}
.dark-mode .risk-tag {
background: #5d4037;
color: #ffcc80;
}
.dark-mode .gmo-indicator {
background: #353535;
}
.dark-mode .gmo-indicator.primary {
background: linear-gradient(135deg, #1e3a5f 0%, #353535 100%);
}
.dark-mode .gmo-indicator.secondary {
background: linear-gradient(135deg, #3e2723 0%, #353535 100%);
}
.dark-mode .indicator-value,
.dark-mode .indicator-value-large {
color: #e0e0e0;
}
.dark-mode .indicator-explanation {
color: #bdbdbd;
}
.dark-mode .indicator-explanation strong {
color: #e0e0e0;
}
.dark-mode .hourly-chart-container {
background: #353535;
}
.dark-mode .prob-item {
background: #353535;
}
.dark-mode .prob-label {
color: #e0e0e0;
}
.dark-mode .prob-description {
color: #bdbdbd;
}
.dark-mode .prob-bar {
background: #555;
}
.dark-mode .recommendation.good {
background: #2e7d32;
color: #c8e6c9;
}
.dark-mode .recommendation.moderate {
background: #1565c0;
color: #bbdefb;
}
.dark-mode .recommendation.caution {
background: #f57c00;
color: #ffe0b2;
}
.dark-mode .recommendation.warning {
background: #c62828;
color: #ffcdd2;
}
.dark-mode .no-weather-data,
.dark-mode .no-gmo-data,
.dark-mode .no-forecast-data {
background: #353535;
color: #bdbdbd;
}
/* Мобильная адаптация */
@media (max-width: 768px) {
.storm-main-info {
flex-direction: column;
gap: 20px;
}
.storm-status-large {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.weather-main-info {
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

.weather-parameters {
    grid-template-columns: 1fr;
}

.time-periods-grid {
    grid-template-columns: 1fr;
}

.hourly-magnetic-timeline {
    gap: 5px;
}

.hourly-magnetic-item {
    min-width: 50px;
}

.magnetic-timeline-legend {
    gap: 10px;
}

.risk-indicator-main {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.gmo-extended-grid {
    grid-template-columns: 1fr;
}

.gmo-day-detailed {
    padding: 20px;
}

.forecast-horizontal {
    grid-template-columns: 1fr;
}

.weather-forecast-days {
    grid-template-columns: 1fr;
}

.forecast-day-main {
    flex-direction: column;
    align-items: flex-start;
}

.forecast-temps {
    align-self: flex-start;
}

.forecast-day-details {
    justify-content: space-between;
}

.hourly-values {
    justify-content: space-between;
}

.prob-list {
    justify-content: space-between;
}

.hourly-bars {
    gap: 5px;
}

.hourly-bar-item {
    min-width: 30px;
}

.chart-legend {
    gap: 10px;
}

.probability-grid {
    gap: 8px;
}

.recommendation {
    flex-direction: column;
    gap: 10px;
}
}
@media (max-width: 480px) {
.temperature-range {
justify-content: center;
}
.temp-max {
    font-size: 1.8rem;
}

.temp-min {
    font-size: 1.3rem;
}

.period-temp {
    font-size: 1.5rem;
}

.storm-details h4 {
    font-size: 1.3rem;
}

.risk-details h4 {
    font-size: 1.3rem;
}

.indicator-value-large {
    font-size: 2.5rem;
}

.indicator-value {
    font-size: 1.8rem;
}

.kp-value-large {
    font-size: 1.6rem;
}

.forecast-day-weather,
.forecast-day-horizontal {
    padding: 15px;
}

.gmo-day-detailed {
    padding: 15px;
}

.max-temp {
    font-size: 1.6rem;
}

.min-temp {
    font-size: 1.1rem;
}
}
/* Анимации */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulseGlow {
0%, 100% {
box-shadow: 0 0 5px rgba(156, 39, 176, 0.3);
}
50% {
box-shadow: 0 0 20px rgba(156, 39, 176, 0.6);
}
}
.fade-in {
animation: fadeInUp 0.6s ease-out;
}
.forecast-day-weather,
.forecast-day-horizontal {
animation: slideInUp 0.6s ease-out;
}
.risk-indicator-main.risk-высокий,
.risk-indicator-main.risk-очень.высокий {
animation: pulseGlow 2s infinite;
}
/* Дополнительные утилитарные классы */
.text-success { color: #28a745; }
.text-warning { color: #ffc107; }
.text-danger { color: #dc3545; }
.impact-good { color: #4caf50; font-weight: 500; }
.impact-moderate { color: #ff9800; font-weight: 500; }
.impact-warning { color: #ff5722; font-weight: 500; }
.impact-danger { color: #f44336; font-weight: 500; }
/* Статусы для значков */
.status-calm { color: #4caf50; }
.status-unstable { color: #ff9800; }
.status-storm-mild { color: #ff5722; }
.status-storm-moderate { color: #e91e63; }
.status-storm-severe { color: #9c27b0; }
.status-unknown { color: #757575; }
/* Стили для статусных значков */
.status-badge {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
}
.status-badge-hero {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 8px 16px;
border-radius: 25px;
font-size: 1rem;
font-weight: 600;
background: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.status-badge.status-calm,
.status-badge-hero.status-calm {
background: #d4edda;
color: #155724;
}
.status-badge.status-unstable,
.status-badge-hero.status-unstable {
background: #fff3cd;
color: #856404;
}
.status-badge.status-storm-mild,
.status-badge-hero.status-storm-mild {
background: #f8d7da;
color: #721c24;
}
.status-badge.status-storm-moderate,
.status-badge-hero.status-storm-moderate {
background: #f5c2c7;
color: #842029;
}
.status-badge.status-storm-severe,
.status-badge-hero.status-storm-severe {
background: #e7c3ff;
color: #6f2c91;
}
/* Дополнительные стили для SEO секции */
.seo-text-section {
background: #f8f9fa;
padding: 40px 0;
margin-top: 40px;
}
.seo-text-content {
max-width: 800px;
margin: 0 auto;
}
.seo-text-title {
font-size: 1.5rem;
color: #333;
margin-bottom: 20px;
text-align: center;
}
.seo-text-body {
font-size: 1rem;
line-height: 1.6;
color: #555;
text-align: justify;
}
.dark-mode .seo-text-section {
background: #2c2c2c;
}
.dark-mode .seo-text-title {
color: #e0e0e0;
}
.dark-mode .seo-text-body {
color: #bdbdbd;
}
/* Стили для loading состояний */
.loading-skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
.dark-mode .loading-skeleton {
background: linear-gradient(90deg, #424242 25%, #525252 50%, #424242 75%);
background-size: 200% 100%;
}
/* Улучшенные переходы */

{
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Скрытие скроллбара для горизонтальных списков */
.hourly-magnetic-timeline::-webkit-scrollbar,
.hourly-bars::-webkit-scrollbar {
height: 4px;
}
.hourly-magnetic-timeline::-webkit-scrollbar-track,
.hourly-bars::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 2px;
}
.hourly-magnetic-timeline::-webkit-scrollbar-thumb,
.hourly-bars::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 2px;
}
.hourly-magnetic-timeline::-webkit-scrollbar-thumb:hover,
.hourly-bars::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
.dark-mode .hourly-magnetic-timeline::-webkit-scrollbar-track,
.dark-mode .hourly-bars::-webkit-scrollbar-track {
background: #424242;
}
.dark-mode .hourly-magnetic-timeline::-webkit-scrollbar-thumb,
.dark-mode .hourly-bars::-webkit-scrollbar-thumb {
background: #757575;
}
.dark-mode .hourly-magnetic-timeline::-webkit-scrollbar-thumb:hover,
.dark-mode .hourly-bars::-webkit-scrollbar-thumb:hover {
background: #9e9e9e;
}
/* Улучшенные тени для темной темы */
.dark-mode .card {
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.dark-mode .forecast-day-weather,
.dark-mode .forecast-day-horizontal,
.dark-mode .gmo-day-detailed {
box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
/* Стили для печати */
@media print {
.tomorrow-storm-main,
.tomorrow-weather-main,
.tomorrow-health-analysis,
.weather-forecast-card,
.gmo-extended-forecast,
.gmo-forecast-card {
background: white !important;
box-shadow: none !important;
border: 1px solid #ddd !important;
}

.fade-in {
    opacity: 1 !important;
}

.kp-bar {
    opacity: 1 !important;
    transform: scaleY(1) !important;
}

}
/* Исправление для очень маленьких экранов */
@media (max-width: 320px) {
.gmo-extended-grid {
grid-template-columns: 1fr;
gap: 15px;
}

.forecast-horizontal {
    grid-template-columns: 1fr;
    gap: 15px;
}

.weather-forecast-days {
    grid-template-columns: 1fr;
    gap: 15px;
}

.time-periods-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

.storm-main-info,
.weather-main-info {
    gap: 15px;
}

.risk-indicator-main {
    padding: 15px;
    gap: 10px;
}

.temp-max {
    font-size: 1.5rem;
}

.temp-min {
    font-size: 1.1rem;
}

.period-temp {
    font-size: 1.3rem;
}

.indicator-value-large {
    font-size: 2rem;
}

.kp-value-large {
    font-size: 1.4rem;
}
}