/* ========== NOTIFICATION SETTINGS PAGE STYLES ========== */
/* Page-specific styles - common styles in app-theme.css */

/* ========== PAGE CONTAINER ========== */
.notification-settings-container {
    padding: 1rem 1.25rem;
    max-width: 1280px;
    margin: 0 auto;
}

.settings-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 188, 212, 0.12);
    border: 1px solid rgba(0, 188, 212, 0.2);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.settings-page-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.settings-page-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
    color: #00bcd4;
    font-size: 1.45rem;
    font-weight: 500;
    letter-spacing: 0;
}

.settings-page-title i {
    color: #00bcd4;
}

.settings-page-subtitle {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.8rem;
}

/* ========== SECTION CARD ========== */
.section-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 188, 212, 0.1);
    border-radius: 8px;
    padding: 0.9rem;
    margin-bottom: 0.85rem;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.7rem;
}

.section-title {
    margin: 0;
    color: #00bcd4;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-description {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.86rem;
    line-height: 1.45;
    max-width: 780px;
}

/* ========== TEMPLATE GRID ========== */
.template-grid {
    display: grid;
    gap: 0.5rem;
}

.template-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 60px;
    padding: 0.65rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 188, 212, 0.1);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.template-item:hover {
    background: rgba(0, 188, 212, 0.05);
    border-color: rgba(0, 188, 212, 0.2);
}

.template-info {
    flex: 1 1 auto;
    min-width: 220px;
}

.template-category {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.template-event {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.92rem;
    font-weight: 500;
}

/* ========== TEMPLATE CONTROLS ========== */
.template-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex: 0 0 auto;
    flex-wrap: wrap;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 88px;
}

.control-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0;
    font-weight: 600;
}

/* ========== MUTE LIST ========== */
.mute-list {
    display: grid;
    gap: 0.75rem;
}

.mute-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 188, 212, 0.1);
    border-radius: 6px;
}

.mute-info {
    flex: 1;
}

.mute-entity {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.mute-duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

/* ========== SAVE INDICATOR ========== */
.save-indicator {
    color: #4caf50;
    font-size: 0.75rem;
    margin-left: 0;
    min-width: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-indicator.visible {
    opacity: 1;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .notification-settings-container {
        padding: 0.75rem;
    }

    .settings-page-header {
        align-items: flex-start;
        padding: 0.85rem;
    }

    .settings-page-title {
        font-size: 1.25rem;
    }

    .template-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .template-controls {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
    }

    .control-group {
        min-width: 92px;
    }

    .template-controls :is(button, .e-btn, .mud-button-root) {
        min-height: 44px;
    }
}
