/**
 * Weather Notification Styles
 * Extracted from index.php lines 36264-36433
 * Contains weather toast notification styles
 */

/* Weather Toast Notification Styles */
.weather-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    pointer-events: none;
}

.weather-toast {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a5298 100%);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: toastSlideIn 0.4s ease-out;
    pointer-events: auto;
    border-left: 4px solid #00f0ff;
    position: relative;
    overflow: hidden;
}

.weather-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f0ff, #00a8ff, #0066ff);
    animation: toastProgress 8s linear forwards;
}

@keyframes toastSlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.weather-toast.rain {
    border-left-color: #3b82f6;
}
.weather-toast.rain::before {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
}

.weather-toast.storm {
    border-left-color: #f59e0b;
}
.weather-toast.storm::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.weather-toast.typhoon {
    border-left-color: #ef4444;
}
.weather-toast.typhoon::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.weather-toast.clear {
    border-left-color: #10b981;
}
.weather-toast.clear::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.weather-toast .toast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.weather-toast .toast-icon {
    font-size: 1.5rem;
}

.weather-toast .toast-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin: 0;
}

.weather-toast .toast-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.weather-toast .toast-close:hover {
    color: #fff;
}

.weather-toast .toast-body {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    line-height: 1.5;
}

.weather-toast .toast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.weather-toast .toast-location {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
}

.weather-toast .toast-time {
    color: #00f0ff;
    font-size: 0.75rem;
    font-weight: 600;
}

.weather-toast .toast-action {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background: rgba(0, 240, 255, 0.2);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 6px;
    color: #00f0ff;
    font-size: 0.8rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.weather-toast .toast-action:hover {
    background: rgba(0, 240, 255, 0.3);
}

/* ========================================
   FORCE HIDE ALL WEATHER NOTIFICATIONS
   All alerts now display in bottom CNN-style ticker bar only
   ======================================== */
.weather-toast-container,
.weather-notification,
#weatherToastContainer {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
