/* Weather Page Specific Styles */

/* Theme Colors Customization for Weather Page */
.weather-theme {
    --hero-bg-color: var(--theme-weather);
    --hero-accent-color: #0288D1;
    --hero-text-color: white;
    background: linear-gradient(135deg, var(--theme-weather) 0%, var(--hero-accent-color) 100%);
    overflow: hidden;
    position: relative;
}

.weather-theme::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23FFFFFF"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23FFFFFF"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23FFFFFF"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: 2;
}

@keyframes weatherFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(5deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Current Weather */
.current-weather {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
}

.current-weather::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23FFFFFF"></path><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23FFFFFF"></path><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23F5F7FA"></path></svg>');
    background-size: cover;
    background-position: center;
    transform: rotate(180deg);
    z-index: 1;
}

.weather-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.main-weather {
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.main-weather:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.weather-card {
    position: relative;
}
    padding: 3rem;
}

.weather-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.weather-icon i {
    font-size: 5rem;
    color: #f39c12;
    margin-bottom: 1rem;
    display: block;
}

.weather-condition {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.temperature {
    text-align: center;
    margin-bottom: 3rem;
}

.current-temp {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 1rem;
}

.temp-range {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.1rem;
    color: #666;
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail i {
    color: #3498db;
    width: 20px;
}

.detail span:first-of-type {
    color: #666;
    font-size: 0.9rem;
}

.detail span:last-child {
    font-weight: 600;
    color: #2c3e50;
    margin-left: auto;
}

/* Weather Sidebar */
.weather-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.agricultural-index,
.weather-alerts {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.agricultural-index h3,
.weather-alerts h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.3rem;
}

.index-item {
    margin-bottom: 1.5rem;
}

.index-item:last-child {
    margin-bottom: 0;
}

.index-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.index-value {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.index-item.excellent .index-value {
    color: #27ae60;
}

.index-item.good .index-value {
    color: #2ecc71;
}

.index-item.moderate .index-value {
    color: #f39c12;
}

.index-item.poor .index-value {
    color: #e74c3c;
}

.index-bar {
    width: 100%;
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.index-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.index-item.excellent .index-fill {
    background: linear-gradient(90deg, #27ae60, #2ecc71);
}

.index-item.good .index-fill {
    background: linear-gradient(90deg, #2ecc71, #58d68d);
}

.index-item.moderate .index-fill {
    background: linear-gradient(90deg, #f39c12, #f7dc6f);
}

.index-item.poor .index-fill {
    background: linear-gradient(90deg, #e74c3c, #ec7063);
}

/* Weather Alerts */
.weather-alerts {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('../images/weather-alert-bg.jpg') center/cover no-repeat;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 15px 30px rgba(3, 169, 244, 0.15);
    overflow: hidden;
    position: relative;
    margin-top: 3rem;
    border-left: 5px solid var(--theme-weather);
    transition: all 0.3s ease;
}

.weather-alerts:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(3, 169, 244, 0.25);
}

.weather-alerts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230288D1" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,234.7C672,235,768,213,864,218.7C960,224,1056,256,1152,261.3C1248,267,1344,245,1392,234.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.weather-alerts h3 {
    background: var(--theme-weather);
    color: white;
    margin: 0;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weather-alerts h3::before {
    content: '🌦️';
    font-size: 1.8rem;
}

.alerts-container {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.alert-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.alert-item:last-child {
    margin-bottom: 0;
}

.alert-item.high {
    background: rgba(244, 67, 54, 0.03);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.alert-item.high::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #F44336;
    border-radius: 3px 0 0 3px;
}

.alert-item.medium {
    background: rgba(255, 152, 0, 0.03);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.alert-item.medium::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: #FF9800;
    border-radius: 3px 0 0 3px;
}

.alert-item i {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.alert-item.high i {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    box-shadow: 0 5px 12px rgba(244, 67, 54, 0.3);
    animation: pulse-alert 2s infinite;
}

@keyframes pulse-alert {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

.alert-item.medium i {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    box-shadow: 0 5px 12px rgba(255, 152, 0, 0.3);
}

.alert-content {
    flex: 1;
}

.alert-content h4 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    padding-right: 80px;
    position: relative;
}

.alert-item.high .alert-content h4 {
    color: #D32F2F;
}

.alert-item.medium .alert-content h4 {
    color: #F57C00;
}

.alert-content p {
    margin: 0 0 0.75rem;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.alert-time {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.85rem;
    color: #777;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.alerts-action {
    margin-top: 1.5rem;
    text-align: center;
}

.alerts-action .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(3, 169, 244, 0.2);
}

.alerts-action .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 169, 244, 0.3);
}

/* Hourly Forecast */
.hourly-forecast {
    padding: 80px 0;
    background: white;
}

.hourly-forecast h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.hourly-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

.hourly-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem 1rem;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hourly-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hour {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    display: block;
}

.hourly-item .weather-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.hourly-item .fas.fa-sun {
    color: #f39c12;
}

.hourly-item .fas.fa-cloud-sun {
    color: #3498db;
}

.hourly-item .fas.fa-cloud {
    color: #95a5a6;
}

.hourly-item .fas.fa-moon {
    color: #34495e;
}

.hour-temp {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    display: block;
}

.hour-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rain-chance,
.wind-speed {
    font-size: 0.8rem;
    color: #666;
}

/* Extended Forecast */
.extended-forecast {
    padding: 80px 0;
    background: #f8f9fa;
}

.extended-forecast h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.forecast-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.forecast-day {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 2fr;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.forecast-day:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.day-header {
    display: flex;
    flex-direction: column;
}

.day-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

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

.day-weather {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.day-weather i {
    font-size: 1.5rem;
    color: #3498db;
}

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

.day-temps {
    display: flex;
    gap: 0.5rem;
}

.day-temps .high {
    font-weight: 600;
    color: #2c3e50;
}

.day-temps .low {
    color: #666;
}

.day-rain {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #3498db;
}

.farming-advice {
    text-align: right;
}

.advice {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.advice.excellent {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.advice.good {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.advice.moderate {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.forecast-toggle {
    text-align: center;
}

/* Agricultural Recommendations */
.agricultural-recommendations {
    padding: 80px 0;
    background: white;
}

.agricultural-recommendations h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.recommendation-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 5px solid;
}

.recommendation-card.priority-high {
    border-left-color: #e74c3c;
}

.recommendation-card.priority-medium {
    border-left-color: #f39c12;
}

.recommendation-card.priority-low {
    border-left-color: #27ae60;
}

.recommendation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.recommendation-header i {
    font-size: 1.2rem;
}

.priority-high .recommendation-header i {
    color: #e74c3c;
}

.priority-medium .recommendation-header i {
    color: #f39c12;
}

.priority-low .recommendation-header i {
    color: #27ae60;
}

.priority {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priority-high .priority {
    color: #e74c3c;
}

.priority-medium .priority {
    color: #f39c12;
}

.priority-low .priority {
    color: #27ae60;
}

.recommendation-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.recommendation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.recommendation-details {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.detail-item span:first-child {
    color: #666;
    font-size: 0.9rem;
}

.detail-item span:last-child {
    font-weight: 600;
    color: #2c3e50;
}

.btn-outline {
    background: transparent;
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.btn-outline:hover {
    background: #4CAF50;
    color: white;
}

/* Weather Maps */
.weather-maps {
    padding: 80px 0;
    background: #f8f9fa;
}

.weather-maps h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.maps-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.map-tab {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
}

.map-tab.active,
.map-tab:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.map-content {
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.map-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.map-content p {
    color: #666;
    margin-bottom: 2rem;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 200px;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-item span {
    font-size: 0.9rem;
    color: #666;
}

/* Weather Sources */
.weather-sources {
    padding: 80px 0;
    background: white;
}

.weather-sources h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.source-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.source-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.source-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.source-icon i {
    font-size: 2rem;
    color: white;
}

.source-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.source-card p {
    color: #666;
    line-height: 1.6;
}

/* Active nav item */
.nav-menu .active {
    color: #3498db !important;
    font-weight: 600;
}

/* Weather Emergency Section */
.weather-emergency {
    padding: 5rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('../images/storm-bg.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.weather-emergency::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%230288D1" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,234.7C672,235,768,213,864,218.7C960,224,1056,256,1152,261.3C1248,267,1344,245,1392,234.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: 0;
}

.emergency-weather-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(3, 169, 244, 0.15);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    border-left: 5px solid var(--theme-weather);
    transition: all 0.3s ease;
}

.emergency-weather-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(3, 169, 244, 0.25);
}

.emergency-weather-icon {
    background: linear-gradient(135deg, var(--theme-weather), #0288D1);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.emergency-weather-icon::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -20px;
    right: -20px;
}

.emergency-weather-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    bottom: -10px;
    left: -10px;
}

.emergency-weather-icon i {
    position: relative;
    animation: weather-pulse 1.5s infinite;
}

@keyframes weather-pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.7), 0 0 30px rgba(3, 169, 244, 0.5);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }
}

.emergency-weather-content {
    padding: 3rem;
    flex: 1;
    position: relative;
}

.emergency-weather-content h3 {
    color: var(--theme-weather);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.emergency-weather-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--theme-weather);
}

.emergency-weather-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 90%;
}

.weather-status-display {
    background: rgba(3, 169, 244, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px dashed rgba(3, 169, 244, 0.3);
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-marker {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.status-marker.safe {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.status-marker.warning {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
}

.status-marker.danger {
    background: rgba(244, 67, 54, 0.15);
    color: #F44336;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
    }
}

.status-info {
    flex: 1;
}

.status-info h4 {
    font-size: 1.2rem;
    margin: 0 0 0.5rem;
    color: #333;
}

.status-info h4 span {
    color: #4CAF50;
    font-weight: 700;
}

.status-info h4 span.warning {
    color: #FF9800;
}

.status-info h4 span.danger {
    color: #F44336;
}

.status-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
}

.emergency-weather-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.emergency-weather-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.emergency-weather-actions .btn-primary {
    background: linear-gradient(135deg, var(--theme-weather), #0288D1);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(3, 169, 244, 0.3);
}

.emergency-weather-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(3, 169, 244, 0.4);
}

.emergency-weather-actions .btn-secondary {
    background: transparent;
    color: var(--theme-weather);
    border: 2px solid var(--theme-weather);
}

.emergency-weather-actions .btn-secondary:hover {
    background: rgba(3, 169, 244, 0.1);
    transform: translateY(-3px);
}

/* Status indicator */
.emergency-weather-content .status-indicator {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 12px;
    height: 12px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(46, 204, 113, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Responsive CSS */
@media (max-width: 992px) {
    .emergency-weather-card {
        flex-direction: column;
        max-width: 700px;
        border-left: none;
        border-top: 5px solid var(--theme-weather);
    }
    
    .emergency-weather-icon {
        width: 100%;
        padding: 2rem;
    }
    
    .emergency-weather-content {
        padding: 2rem;
    }
}
