/* Notifications Page Styles */

.notifications-main {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    min-height: calc(100vh - 140px);
}

.notifications-header {
    margin-bottom: 1.5rem;
}

.notifications-header h2 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.notifications-subtitle {
    color: #666;
    font-size: 0.95rem;
}

/* Filters */
.notifications-filters {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: #8e44ad;
}

/* Notifications List */
.notifications-content {
    margin-bottom: 2rem;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.loading, .empty-message {
    text-align: center;
    padding: 3rem;
    color: #888;
    font-style: italic;
}

/* Notification Item */
.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #27ae60;
    transition: transform 0.2s, box-shadow 0.2s;
}

.notification-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.notification-item.old {
    border-left-color: #95a5a6;
    opacity: 0.85;
}

.notification-info {
    flex: 1;
}

.notification-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.notification-location {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.notification-location svg {
    width: 14px;
    height: 14px;
    stroke: #888;
}

.notification-time {
    color: #888;
    font-size: 0.8rem;
    margin-top: 0.35rem;
}

.notification-values {
    text-align: right;
    min-width: 120px;
}

.notification-gts {
    font-size: 1.4rem;
    font-weight: 700;
    color: #27ae60;
}

.notification-threshold {
    font-size: 0.85rem;
    color: #e67e22;
}

.notification-forecast {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Stats Cards */
.notifications-stats {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
    padding: 1.25rem 2rem;
    border-radius: 10px;
    text-align: center;
    min-width: 120px;
}

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

.stat-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 600px) {
    .notifications-main {
        padding: 1rem;
    }

    .notifications-filters {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        flex: 1;
    }

    .notification-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .notification-values {
        text-align: left;
        width: 100%;
        display: flex;
        gap: 1rem;
        align-items: baseline;
    }

    .stat-card {
        flex: 1;
        min-width: 100px;
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}
