@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");


.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg, 1rem);
    flex-wrap: wrap;
    gap: var(--space-md, 1rem);
}

.alert-count {
    flex-shrink: 0;
}

.filter-controls-inline {
    display: flex;
    gap: var(--space-md, 1rem);
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.filter-controls-inline .filter-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-sm, 0.5rem);
    margin: 0;
}

.filter-controls-inline .filter-group label {
    margin: 0;
    white-space: nowrap;
    font-size: 0.9rem;
}

.filter-controls-inline .filter-group select {
    min-width: 120px;
}

.filter-controls-inline .search-group {
    display: flex;
    align-items: center;
    margin: 0;
}

.filter-controls-inline .search-group input {
    min-width: 200px;
}
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* CSS VARIABLES - EXTENDED COLOR SCHEME */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

#IdDisplay {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-main);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) var(--space-xl);
    background-color: rgba(240, 211, 22, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--color-main);
    display: block !important;
}

/* Custom select styling - avoiding conflicts with global styles */
.single-custom-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 100% !important;
    padding: var(--space-lg) 40px var(--space-lg) var(--space-lg) !important;
    background-color: var(--bg-light) !important;
    border: 2px solid var(--border) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
    text-align: left !important;
    height: auto !important;
    line-height: normal !important;
    transition: all 0.3s ease !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23f0d316' d='m0,0l2,3l2,-3z'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position: right var(--space-lg) center !important;
    background-size: 12px !important;
}

.single-custom-select:focus {
    border-color: var(--color-main) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.2) !important;
}



:root { --color-main: #f0d316; --color-main-light: #444444; --color-dark: #111111; --color-dark-medium: #333333; --color-dark-light: #999999; --color-light: #ffffff; --color-gray: #8b8b8b; --color-light-gray: #b2bdbd; --color-bg: #202020; --color-success: #5dd693; --color-error: #fc4b0b; --bg-dark: #252525; --bg-medium: #2a2a2a; --bg-light: #333; --text-primary: #fff; --text-secondary: #ccc; --text-muted: #aaa; --text-dark: #333; --accent: #f0d316; --border: #444; --success: #28a745; --danger: #dc3545; --primary: #007bff; --space-xs: 0.25rem; --space-sm: 0.5rem; --space-md: 0.75rem; --space-lg: 1rem; --space-xl: 1.5rem; }


/* Modern button styling using your existing color palette */
.btn-create {
    background: linear-gradient(135deg, var(--color-main), var(--accent));
    border: 1px solid var(--border);
    color: var(--color-dark);
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(240, 211, 22, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
}

.btn-create:hover {
    background: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 211, 22, 0.4);
    border-color: var(--color-main);
}

.btn-create:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(240, 211, 22, 0.3);
}

.btn-create:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.3);
}

/* Alternative success button using your success color */
.btn-create--success {
    background: linear-gradient(135deg, var(--color-success), var(--success));
    border: 1px solid var(--success);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(93, 214, 147, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
}

.btn-create--success:hover {
    background: var(--color-success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 214, 147, 0.4);
}

/* Dark theme button using your existing dark colors */
.btn-create--dark {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
}

.btn-create--dark:hover {
    background: var(--bg-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: var(--color-main-light);
}

/* Outline style using your accent color */
.btn-create--outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: var(--space-md) var(--space-xl);
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
    margin-top: var(--space-xl);
}
.btn-link--outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
}

.btn-create--outline:hover {
    background: var(--accent);
    color: var(--color-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(240, 211, 22, 0.2);
}

/* SMALL BUTTON VARIANTS */

/* Small main button */
.btn-create--small {
    background: linear-gradient(135deg, var(--color-main), var(--accent));
    border: 1px solid var(--border);
    color: var(--color-dark);
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
}

.btn-create--small:hover {
    background: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 211, 22, 0.4);
    border-color: var(--color-main);
}

.btn-create--small:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(240, 211, 22, 0.3);
}

.btn-create--small:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.3);
}

/* Small success button */
.btn-create--small-success {
    background: linear-gradient(135deg, var(--color-success), var(--success));
    border: 1px solid var(--success);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(93, 214, 147, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
}

.btn-create--small-success:hover {
    background: var(--color-success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(93, 214, 147, 0.4);
}

/* Small dark button */
.btn-create--small-dark {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-medium));
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
}

.btn-create--small-dark:hover {
    background: var(--bg-medium);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: var(--color-main-light);
}

/* Small outline button */
.btn-create--small-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: var(--space-sm) var(--space-md);
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
    text-transform: none;
    letter-spacing: 0.5px;
    display: inline-block;
    min-width: 80px;
}

.btn-create--small-outline:hover {
    background: var(--accent);
    color: var(--color-dark);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(240, 211, 22, 0.2);
}
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* GLOBAL STYLES */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

* { font-family: Roboto, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; margin: 0; padding: 0; box-sizing: border-box; text-rendering: optimizeLegibility; font-size: inherit; }
html { font-size: 56.25%; }
body { line-height: 1.6; font-weight: 400; font-size: 1.2rem; color: var(--color-light-gray); background-color: var(--color-bg); min-height: 100vh; }
img { width: 100%; }
a { display: inline-block; color: var(--color-main); text-decoration: none; }
label { color: var(--color-light); }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* BATCH OPERATIONS PANEL STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.batch-operations-panel { background-color: #2c2c2c; border-radius: 4px; margin: 10px 0 20px 0; padding: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: all 0.3s ease; }
.batch-operations-content { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; color: #e2f3ff; }
.selected-count { font-weight: bold; color: #e2f3ff; }
.batch-action { display: flex; align-items: center; gap: 10px; }
.batch-action-buttons { margin-left: auto; display: flex; gap: 10px; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* TABLE STYLING - ENHANCED FOR TEMPLATES */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.table-container { overflow-x: auto; margin-bottom: var(--space-lg); border: 1px solid var(--border); border-radius: 4px; }
.alert-table { width: 100%; border-collapse: separate; color: var(--text-primary); }
.alert-table tbody tr { transition: background-color 0.2s ease; }
.alert-header { display: flex; justify-content: space-between; align-items: center; padding: var(--space-lg); background-color: var(--bg-medium); border-radius: 4px; }
.alert-count h2 { margin: 0; color: var(--text-primary); font-size: 1.4rem; }
.alert-table__header { background-color: var(--bg-light); }
.alert-table__header-cell { padding: var(--space-md) var(--space-lg); text-align: left; font-weight: bold; border-bottom: 2px solid var(--border); white-space: nowrap; }
.alert-table__header-cell--sortable { cursor: pointer; }
.alert-table__header-cell--sortable:hover { background-color: #3a3a3a; }
.sort-icon { margin-left: var(--space-xs); font-size: 0.8rem; }

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* TABLE CELL STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

tr { border-bottom: 1px solid var(--border); }
.asset-row:hover { background-color: var(--bg-light); }
.asset-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); vertical-align: middle; }
.asset-actions-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); text-align: center; }
.device-row:hover { background-color: var(--bg-light); }
.device-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); vertical-align: middle; }
.device-select-cell, .select-all-cell { width: 40px; text-align: center; }
.device-actions-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); text-align: center; }
.group-row:hover,.group-row:hover * {
    background-color: #a7a4a4 !important;
}
.asset-row:hover,.asset-row:hover * {
    background-color: #a7a4a4 !important;
}
.group-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); vertical-align: middle; }
.group-actions-cell { padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--border); text-align: center; }

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* SELECTION AND INTERACTION STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.selected-row { background-color: #e2f3ff !important; }

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* ALERT GROUP STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.group-header { background-color: var(--bg-light); border-left: 4px solid var(--primary); }
.group-header-content { display: flex; align-items: center; gap: var(--space-md); }
.group-title { font-weight: 500; }
.group-count { color: var(--text-dark); padding: 0.2rem 0.6rem; border-radius: 12px; font-size: 1.2rem; font-weight: bold; }

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* STATUS STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.status-alerting { color: var(--danger); font-weight: bold; }
.status-clear { color: var(--success); font-weight: bold; }
.status-active { color: var(--success); font-weight: bold; }
.status-inactive { color: var(--text-muted); font-weight: bold; }

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* NOTIFICATION GROUP STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
.asset-placename-cell strong { color: var(--accent); }
.group-name-cell strong { color: var(--accent); }
.count-badge { display: inline-block; background-color: var(--primary); color: white; padding: 0.4rem 0.6rem; border-radius: 8px; font-size: 1rem; font-weight: bold; min-width: 30px; text-align: center; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* FILTER CONTROLS STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.filter-controls { display: flex; gap: var(--space-xl); align-items: center; }
.filter-group { display: flex; align-items: center; gap: var(--space-md); }
.filter-group label { color: var(--text-secondary); font-weight: 500; }
.filter-group select, .search-group input { background-color: var(--bg-light); color: var(--text-primary); border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem 1rem; min-width: 250px; }
.search-group input { width: 300px; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* BUTTON STYLING - ENHANCED */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.btn-icon { background-color: transparent; border: none; color: var(--text-secondary); cursor: pointer; padding: var(--space-sm); border-radius: 3px; }
.btn-icon:hover { color: var(--accent); background-color: rgba(240, 211, 22, 0.1); }
.btn-edit-group:hover { color: var(--accent); background-color: rgba(240, 211, 22, 0.1); }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* NOTIFICATION SYSTEM STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.notification { position: fixed; top: 20px; right: 20px; padding: 15px 20px; border-radius: 5px; box-shadow: 0 3px 10px rgba(0,0,0,0.2); z-index: 1000; transition: opacity 0.5s ease-in-out; }
.notification--success { background-color: #4CAF50; color: white; }
.notification--error { background-color: #F44336; color: white; }
.notification--info { background-color: #2196F3; color: white; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* LOADING OVERLAY STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 2000; }
.loading-spinner { width: 50px; height: 50px; border: 5px solid #f3f3f3; border-top: 5px solid #3498db; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* PAGINATION STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

.pagination-container { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; padding: 1rem; background-color: var(--bg-medium); border-radius: 4px; }
.pagination-controls { display: flex; gap: 0.5rem; align-items: center; }
.pagination-btn { background-color: var(--bg-light); color: var(--text-secondary); border: 1px solid var(--border); padding: 1.2rem 1rem; border-radius: 4px; cursor: pointer; transition: all 0.3s ease; }
.pagination-btn:hover { background-color: var(--accent); color: var(--color-dark); }
.pagination-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.pagination-info { color: var(--text-secondary); display: flex; align-items: center; gap: 1.2rem; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* EXISTING STYLES (PRESERVED) */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Global device info header */

.device-info-display { display: flex; gap: 30px; align-items: center; }
.device-info-item { display: flex; flex-direction: column; }
.device-info-label { font-size: 12px; color: var(--color-gray); text-transform: uppercase; margin-bottom: 2px; }
.device-info-value { font-weight: bold; color: var(--color-light); }
.grafana-link-header { display: flex; align-items: center; gap: 8px; color: var(--color-main); text-decoration: none; font-size: 14px; }
.grafana-link-header:hover { color: var(--color-light); }
.grafana-icon { width: 20px; height: 20px; }

/* Toggle Navigation Styles */
.toggle-nav { display: flex; background: var(--color-dark-medium); border-bottom: 2px solid var(--color-main); margin-bottom: 0; position: relative; z-index: 10; }
.toggle-btn { flex: 1; padding: 15px 20px; background: var(--color-dark-medium); border: none; cursor: pointer; font-size: 16px; font-weight: 500; color: var(--color-light-gray); transition: all 0.3s ease; border-bottom: 3px solid transparent; }
.toggle-btn:hover { background: var(--color-dark-light); color: var(--color-light); }
.toggle-btn.active { background: var(--color-dark); color: var(--color-main); border-bottom-color: var(--color-main); }

/* Content Areas */
.content-area { display: none; padding: 20px; min-height: 400px; animation: fadeIn 0.3s ease-in; position: relative; z-index: 1; background-color: var(--color-bg); }
.content-area.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Map styles */
#map { height: 400px; width: 100%; border: 2px solid var(--color-dark-medium); border-radius: 6px; position: relative; z-index: 1; }
.map-container { margin-top: 20px; background: var(--color-dark); padding: 15px; border-radius: 6px; border: 1px solid var(--color-dark-medium); }
.map-container h4 { margin: 0 0 15px 0; color: var(--color-light); }
.map-coordinates { margin-top: 10px; font-size: 14px; color: var(--color-light-gray); text-align: center; }

/* Form styling */
.room__info table { width: 100%; border-collapse: collapse; background-color: var(--color-dark); border-radius: 0.5rem; overflow: hidden; }
.room__info table td { padding: 10px; border-bottom: 1px solid var(--color-dark-medium); vertical-align: top; color: var(--color-light); }
.room__info table td:first-child { font-weight: bold; background-color: var(--color-dark-medium); color: var(--color-light); }
.custom-select { background-color: var(--color-dark-medium); border: 1px solid var(--color-dark-light); border-radius: 5px; color: var(--color-light); font-weight: 500; min-height: 45px; padding: 0.2rem 1rem; transition: border-color 0.3s ease; width: 100%; appearance: none; position: relative; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; }
.custom-select:focus { border-color: var(--color-main); box-shadow: 0 0 0 1px var(--color-main); outline: none; }
.custom-select option { background-color: var(--color-dark); color: var(--color-light); padding: 10px 12px; }

/* Button styles */
.btn { background-color: transparent; border: none; display: inline-flex; align-items: center; gap: 1rem; cursor: pointer; transition: all 0.3s ease-in-out; padding: 1rem 2.5rem; border-radius: 5px; box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15); font-weight: 500; margin: 1px; }
.btn--main { background-color: var(--color-main); color: var(--color-dark); }
.btn--main:hover { opacity: 0.9; background-color: var(--color-main); }
.btn--link { border-radius: 0; padding: 0; color: var(--color-main); box-shadow: none; }
.btn--link:hover { text-decoration: underline; }
.btn--mod { background-color: var(--color-main-light); border: 2px solid var(--color-main); padding: 10px; }
.btn:hover { opacity: 0.9; }
.btn--dark { background-color: var(--color-dark-light); color: var(--color-light); }
.btn > svg { fill: currentColor; width: 1.6rem; height: 1.6rem; }
.btn--pill { border-radius: 10rem; font-size: 1.4rem; font-weight: 700; padding: 6px 2.5rem; color: var(--color-main); background: transparent; border: 2px solid var(--color-main); }
.action-button { background-color: transparent; border: 1px solid var(--color-main); padding: 1rem; border-radius: 3px; font-weight: 500; color: var(--color-main); width: 25%; flex: 1; }
.action-button.secondary { margin-top: 10px; }

/* History button styling */
.btn-edit { background-color: var(--dark-gray); color: var(--primary-yellow); border: 1px solid var(--primary-yellow); border-radius: 4px; padding: 6px 12px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; display: inline-flex; align-items: center; justify-content: center; }
.btn-edit:hover { background-color: var(--primary-yellow); color: var(--dark-gray); }
.btn-edit:focus { outline: none; box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3); }
.btn-edit i, .btn-edit svg { margin-right: 5px; }

/* Modified input styling */
.modified-input { border-color: var(--color-success) !important; box-shadow: 0 0 0 0.2rem rgba(93, 214, 147, 0.25); }

/* Input styling */
input[type="text"], input[type="file"] { background: var(--color-dark-medium); border: 1px solid var(--color-dark-light); color: var(--color-light); padding: 8px 12px; border-radius: 4px; }
input[type="text"]:focus { border-color: var(--color-main); outline: none; box-shadow: 0 0 0 1px var(--color-main); }
input[type="checkbox"] { accent-color: var(--color-main); }

/* Switch styles */
.switch { position: relative; display: inline-block; width: 180px; height: 40px; margin: 2px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: -4px; right: 0; bottom: 0; background-color: red; transition: .4s; border-radius: 40px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: white; font-weight: bold; }
.slider:before { position: absolute; content: ""; height: 32px; width: 32px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: green; }
input:checked + .slider:before { transform: translateX(150px); }
.toggle-text { position: absolute; width: 100%; text-align: center; font-size: 16px; font-weight: bold; transition: .4s; }

/* Navigation styles */
.no-arrow { -webkit-appearance: none; appearance: none; background: #e9ecef; color: #888; cursor: not-allowed; padding-right: 1rem; }
.no-arrow::ms-expand { display: none; }
.navicon { width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; filter: invert(100%); }
.centered-container { display: flex; justify-content: center; align-items: center; text-align: center; height: 8vh; text-decoration: none; }
.centered-image { margin-top: 10px; width: 100%; max-width: 40px; height: auto; }
.inverted { filter: invert(100%); }
.current { background-color: #f0d316; font-size: larger; font-weight: 800; }

/* Email Input Styles */
.email-input-container { display: flex; flex-wrap: wrap; padding: 5px; flex-direction: column; margin-bottom: 10px; }
.email-tags, .email-input-container { display: flex; flex-wrap: wrap; padding: 5px; border: 1px solid #ccc; border-radius: 5px; }
.email-tags { margin-bottom: 10px; background-color: #3b3737; }
.email-tag { background-color: #555353; border-radius: 5px; padding: 5px 10px; margin: 5px; display: flex; align-items: center; }
.remove-tag { margin-left: 5px; cursor: pointer; color: black; }
input[type="text"] { border: none; outline: none; flex-grow: 1; padding: 5px; }
.email-suggestions { list-style: none; padding: 0; margin: 0; max-height: 100px; overflow-y: auto; border: 1px solid #ccc; background-color: #312e2e; }
.email-suggestion { padding: 5px; cursor: pointer; }
.email-suggestion:hover { background-color: #f0f0f0; }

/* Dropdown styles */
.dropdown-content { display: none; padding: 10px; }
.dropdown-content.show { display: block; }
.select-container { margin: 10px 0; position: relative; display: inline-block; width: 100%; }

/* Box styles */
.box { border: 2px solid #ddd; padding: 15px; border-radius: 8px; margin: 10px 0; }

/* Tab styles */

.tab button {
    background: var(--color-dark-medium);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 20px;
    font-weight: 500;
    color: var(--color-light-gray);
    border-bottom: 3px solid transparent;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* NOTIFICATION GROUP MODIFY - MINIMAL ADDITIONS */
/* Add these to your existing style.css */
/* Most styles are reused from alert-row/alert-cell classes */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* NOTIFICATION GROUP ROW STYLING - Reuses alert-row styles */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.ng-row {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
    height: auto;
    min-height: 3rem;
}

.ng-row:hover {
    background-color: var(--bg-medium);
}

.ng-row.selected {
    background-color: rgba(240, 211, 22, 0.15);
    border-left: 4px solid var(--color-main);
}

.ng-cell {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    font-size: 1.5rem;
    vertical-align: middle;
    line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* EDITABLE FIELD DISPLAYS - Similar to threshold-display */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.threshold-display,
.name-display,
.email-display,
.sms-display {
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: inline-block;
    min-width: 50px;
    color: var(--text-primary);
}

.threshold-display:hover,
.name-display:hover,
.email-display:hover,
.sms-display:hover {
    background-color: rgba(240, 211, 22, 0.1);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* EDIT ICONS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.threshold-edit-icon,
.name-edit-icon,
.email-edit-icon,
.sms-edit-icon {
    margin-left: var(--space-sm);
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.threshold-edit-icon:hover,
.name-edit-icon:hover,
.email-edit-icon:hover,
.sms-edit-icon:hover {
    opacity: 1;
    color: var(--color-main);
    transform: scale(1.1);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* INPUT FIELDS FOR INLINE EDITING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.alert-threshold,
.ng-name {
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--color-main);
    border-radius: 4px;
    font-size: 1.4rem;
    width: 120px;
    background-color: var(--bg-light);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.2);
}

.alert-threshold:focus,
.ng-name:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 4px rgba(240, 211, 22, 0.3);
}

.ng-email,
.ng-sms {
    padding: var(--space-md);
    border: 2px solid var(--color-main);
    border-radius: 4px;
    font-size: 1.3rem;
    width: 100%;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    background-color: var(--bg-light);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.2);
    line-height: 1.5;
}

.ng-email:focus,
.ng-sms:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 4px rgba(240, 211, 22, 0.3);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* CHANGE FEEDBACK ANIMATION */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.threshold-changed,
.field-changed {
    animation: highlightChange 3s ease;
}

@keyframes highlightChange {
    0% {
        background-color: rgba(240, 211, 22, 0.4);
    }
    100% {
        background-color: transparent;
    }
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* STATUS INDICATORS FOR NOTIFICATION GROUPS - Reuses triggered-status styles */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.status--active {
    color: var(--color-success);
    font-weight: bold;
}

.status--inactive {
    color: var(--color-gray);
    font-weight: bold;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* NOTIFICATION GROUP DETAILS TAB - Similar to #AlertDetailsTab */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

#NotificationGroupDetailsTab {
    background-color: var(--bg-medium);
    border-left: 4px solid var(--color-main);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-radius: 4px;
    display: none;
}

#NotificationGroupDetailsTab p {
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin: 0;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* CELL-SPECIFIC WIDTH ADJUSTMENTS FOR NOTIFICATION GROUPS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.ng-cell--email,
.ng-cell--sms {
    text-align: left;
}

.email-display,
.sms-display {
    display: block;
    text-align: left;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN - NOTIFICATION GROUP MODIFICATIONS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .ng-cell {
        padding: var(--space-sm);
        font-size: 1.3rem;
    }
    
    .ng-name {
        width: 100%;
        font-size: 1.2rem;
    }
    
    .ng-email,
    .ng-sms {
        font-size: 1.2rem;
        min-height: 60px;
    }
    
    .name-display,
    .email-display,
    .sms-display {
        font-size: 1.2rem;
    }
}
/* Rounded top corners only */
.tab button:first-child {
    border-top-left-radius: 8px;
}

.tab button:last-child {
    border-top-right-radius: 8px;
}

.tab button:only-child {
    border-radius: 8px 8px 0 0;
}

.tab button:hover:not(.active) {
    background: var(--color-dark-light);
    color: var(--color-light);
}

/* Active state - needs to come after hover */
.tab button.active, 
.tab button[class*="active"] {
    background: var(--color-dark-medium);
    color: #f0d316 !important;
    border-bottom-color: #f0d316;
    font-weight: 600;
    opacity: 1 !important;
}



.tab button:focus-visible {
    outline: 2px solid #f0d316;
    outline-offset: -2px;
}

.tab button:disabled {
    color: var(--color-gray);
    background-color: var(--color-dark-medium);
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none; /* Prevents hover states */
}
.tab { display: flex; justify-content: flex-start;background-color: var(--menu-dark-bg); border-bottom: 2px solid var(--color-main);    border-radius: var(--menu-border-radius);}
.tabcontent { display: none; padding: 30px; border: 3px solid rgba(240, 211, 22, 0.15); border-top: none; border-radius: 0 0 4px 4px; background-color: var(--color-bg); color: #f0f0f0; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; line-height: 1.5; max-width: 100%; overflow: auto;}
.tabcontent.active { display: block; }

/* Room list styles */
.roomList__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.4rem; }
.roomList__header h2 { text-transform: uppercase; font-weight: 500; color: var(--color-light); letter-spacing: 1px; }
.roomList { margin-top: 10px; }
.roomList__header h2 { margin: 0; color: #fff; }
.roomListRoom { margin-bottom: 20px; border: 1px solid #ddd; padding: 10px; border-radius: 5px; background-color: #444; }
.roomListRoom__content a { font-size: 18px; font-weight: bold; color: white; text-decoration: none; }
.roomListRoom__meta { margin-top: 10px; }
.roomListRoom__joined { color: #ccc; text-decoration: none; }
.roomListRoom__topic { font-style: italic; color: #999; }

/* Smart List (Left Navbar) */
.smart-list { list-style-type: none; padding: 0; margin: 0; background-color: #444444; border-radius: 8px; border: 2px solid var(--color-main); }
.smart-list li { padding: 2px; margin: 2px 0; background-color: #444444; border-radius: 1px; transition: background-color 0.3s ease, color 0.3s ease; }
.smart-list li a { text-decoration: none; padding: 15px; color: #ffffff !important; display: flex; align-items: center; }
.smart-list li a:hover { background-color: #555; color: #f0d316; }
.smart-list li a i { margin-right: 4px; }
.icon { font-size: 1.2em; }

/* Container styles */
.container { width: 100%; max-width: 100vw; padding: 0 1rem; margin: 0 auto; box-sizing: border-box; }

/* Avatar styles */
.avatar { position: relative; display: inline-block; border-radius: 50%; border: 2px solid var(--color-main); }
.avatar img { display: block; border-radius: 50%; object-fit: cover; object-position: center; }
.avatar::after { content: ""; display: block; position: absolute; background-color: var(--color-gray); z-index: 111; border-radius: 50%; border: 0.3rem solid var(--color-dark); }
.avatar.active::after { background-color: var(--color-success); }
.avatar.avatar--small img { width: 2.8rem; height: 2.8rem; }
.avatar.avatar--small:after { width: 0.7rem; height: 0.7rem; bottom: 0px; right: -6px; }
.avatar.avatar--medium img { width: 3.6rem; height: 3.6rem; border-radius: 50%; }
.avatar.avatar--medium:after { width: 0.7rem; height: 0.7rem; bottom: 0px; right: -6px; }
.avatar.avatar--large img { width: 8rem; height: 8rem; border-radius: 50%; }
.avatar.avatar--large:after { width: 1rem; height: 1rem; bottom: 2px; right: 3.5px; }

/* Scrollbar styles */
.scroll::-webkit-scrollbar { width: 0.6rem; background-color: rgb(41, 41, 46); }
.scroll::-webkit-scrollbar-thumb { border-radius: 1rem; background-color: var(--color-gray); }

/* Dropdown menu */
.dropdown-menu { z-index: 111; position: absolute; top: 5rem; right: 0.5rem; background: var(--color-dark-light); border-radius: 5px; box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15); overflow: hidden; display: none; }
.dropdown-menu.show { display: block; }
.dropdown-menu a { padding: 1.2rem 4rem; display: block; color: var(--color-light) !important; font-weight: 500; font-size: 1.4rem; }
.dropdown-menu a:hover { background-color: var(--color-dark-medium); }
.dropdown-menu > a:not(:last-child) { border-bottom: 1px solid var(--color-dark-medium); }
.dropdown-menu a svg { fill: var(--color-light); }

/* Mobile menu */
.mobile-menu { margin-bottom: 3rem; }
.mobile-menuItems { display: flex; align-items: center; justify-content: center; gap: 1rem; }

/* Select styles */
select.custom-select { background-color: var(--color-dark-medium); border: 1px solid var(--color-dark-light); border-radius: 5px; color: var(--color-light); font-weight: 500; min-height: 45px; padding: 0.2rem 1rem; transition: border-color 0.3s ease; width: 90%; appearance: none; position: relative; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; }
select.custom-select:focus { border-color: var(--color-light-gray); box-shadow: 0 0 0 1px var(--color-main); outline: none; }
select.custom-select option { background-color: var(--color-dark); color: var(--color-light); padding: 10px 12px; cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease; }
select.custom-select option:hover { background-color: var(--color-dark-light); }
select.custom-select option:checked { background-color: var(--color-main); color: var(--color-dark); }

/* Multi-select styles */
.multi-select { display: flex; box-sizing: border-box; flex-direction: column; position: relative; width: 100%; user-select: none; }
.multi-select .multi-select-header { border: 1px solid var(--color-dark-light); padding: 7px 30px 7px 12px; overflow: hidden; gap: 7px; min-height: 45px; cursor: pointer; position: relative; background-color: var(--color-dark-medium); color: var(--color-light); }
.multi-select .multi-select-header::after { content: ""; display: block; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23949ba3' viewBox='0 0 16 16'%3E%3Cpath d='M8 13.1l-8-8 2.1-2.2 5.9 5.9 5.9-5.9 2.1 2.2z'/%3E%3C/svg%3E"); height: 12px; width: 12px; background-repeat: no-repeat; background-size: contain; pointer-events: none; }
.multi-select .multi-select-header.multi-select-header-active { border-color: #c1c9d0; }
.multi-select .multi-select-header.multi-select-header-active::after { transform: translateY(-50%) rotate(180deg); }
.multi-select .multi-select-header.multi-select-header-active + .multi-select-options { display: flex; }
.multi-select .multi-select-header .multi-select-header-placeholder { color: #65727e; }
.multi-select .multi-select-header .multi-select-header-option { display: inline-flex; align-items: center; background-color: var(--color-dark-medium); font-size: 14px; padding: 3px 8px; border-radius: 5px; }
.multi-select .multi-select-header .multi-select-header-max { font-size: 14px; color: #65727e; }
.multi-select .multi-select-options { display: none; box-sizing: border-box; flex-flow: wrap; position: absolute; top: 100%; left: 0; right: 0; z-index: 999; margin-top: 5px; padding: 5px; background-color: var(--color-dark-medium); border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); max-height: 200px; overflow-y: auto; overflow-x: hidden; }
.multi-select .multi-select-options::-webkit-scrollbar { width: 5px; }
.multi-select .multi-select-options::-webkit-scrollbar-track { background: #f0f1f3; }
.multi-select .multi-select-options::-webkit-scrollbar-thumb { background: var(--color-dark); }
.multi-select .multi-select-options::-webkit-scrollbar-thumb:hover { background: #b2b6b9; }
.multi-select .multi-select-options .multi-select-option, .multi-select .multi-select-options .multi-select-all { padding: 4px 12px; height: 42px; }
.multi-select .multi-select-options .multi-select-option .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all .multi-select-option-radio { margin-right: 14px; height: 16px; width: 16px; border: 1px solid #ced4da; border-radius: 4px; }
.multi-select .multi-select-options .multi-select-option .multi-select-option-text, .multi-select .multi-select-options .multi-select-all .multi-select-option-text { box-sizing: border-box; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; font-size: 16px; line-height: 20px; }
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio { border-color: #40c979; background-color: #40c979; }
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-radio::after, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-radio::after { content: ""; display: block; width: 3px; height: 7px; margin: 0.12em 0 0 0.27em; border: solid #fff; border-width: 0 0.15em 0.15em 0; transform: rotate(45deg); }
.multi-select .multi-select-options .multi-select-option.multi-select-selected .multi-select-option-text, .multi-select .multi-select-options .multi-select-all.multi-select-selected .multi-select-option-text { color: #40c979; }
.multi-select .multi-select-options .multi-select-option:hover, .multi-select .multi-select-options .multi-select-option:active, .multi-select .multi-select-options .multi-select-all:hover, .multi-select .multi-select-options .multi-select-all:active { background-color: #444; }
.multi-select .multi-select-options .multi-select-all { border-bottom: 1px solid #f1f3f5; border-radius: 0; }
.multi-select .multi-select-options .multi-select-search { padding: 7px 10px; border: 1px solid #dee2e6; border-radius: 5px; margin: 10px 10px 5px 10px; width: 100%; outline: none; font-size: 16px; }
.multi-select .multi-select-options .multi-select-search::placeholder { color: #b2b5b9; }
.multi-select .multi-select-header, .multi-select .multi-select-option, .multi-select .multi-select-all { display: flex; flex-wrap: wrap; box-sizing: border-box; align-items: center; border-radius: 5px; cursor: pointer; align-items: center; width: 100%; font-size: 16px; color: var(--color-light); }

/* Header section */
.header { padding: 0.5rem; background-color: var(--color-dark); }
.header > .container { display: flex; gap: 9.5rem; }
.header__logo, .header__user { display: flex; gap: 2rem; align-items: center; }
.header__logo > img { height: 3.2rem; width: 3.2rem; }
.header__logo > h1 { font-weight: 700; font-size: 2rem; color: var(--color-light); }
.header__search > label { background-color: var(--color-dark-medium); padding: 1.3rem 1rem; display: flex; align-items: center; gap: 1rem; border-radius: 4px; }
.header__search svg { fill: var(--color-gray); width: 2rem; height: 2rem; margin-left: 1rem; }
.header__search input { width: 30rem; background: transparent; border: none; outline: none; color: var(--color-light); }
.header__menu { margin-left: auto; position: relative; }
.header__menu a { display: flex; gap: 1.5rem; align-items: center; font-weight: 500; text-decoration: none; color: var(--color-gray); }
.header__menu img { height: 3.6rem; }
.header__menu p { line-height: 1.2; }
.header__menu span { color: var(--color-main); font-weight: 500; font-size: 1.4rem; display: block; }
.header__menu svg { width: 1.6rem; height: 1.6rem; fill: var(--color-dark-light); }
.dropdown-button { background: transparent; border: 0; outline: 0; cursor: pointer; }
.dropdown-button:hover svg { fill: var(--color-main); }

/* Layout styles */
.layout { margin-top: 0.2rem; }
.layout > .container { display: flex; justify-content: space-between; align-items: flex-start; }
.layout--3 > .container > div:first-child { flex-basis: 18%; max-width: 25rem; }
.layout--3 > .container > div:nth-child(2) { flex-basis: 60%; min-width: 42rem; }
.layout--3 > .container > div:last-child { flex-basis: 22%; }
.layout--2 > .container > div:first-child { flex-basis: 12%; }
.layout--2 > .container > div:last-child { flex-basis: 88%; }
.layout__box { width: 70%; max-width: 88rem; min-height: 40rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); background-color: var(--color-dark); border-radius: 1rem; box-shadow: 1px 1px 6px 3px rgba(0, 0, 0, 0.1); overflow: hidden; }
.layout__boxHeader { display: flex; padding: 1.5rem; background-color: var(--color-dark-light); }
.layout__boxTitle { display: flex; gap: 1.5rem; align-items: center; }
.layout__boxTitle h3 { font-weight: 500; color: var(--color-light); }
.layout__boxTitle svg { width: 1.6rem; height: 1.6rem; fill: var(--color-main); }
.layout__body { margin: 3rem; }

/* Form styles */
.form__group { margin-bottom: 2rem; width: 100%; }
.form__split { display: flex; gap: 1.5rem; }
.form__group label { font-size: 1.4rem; margin-bottom: 0.5rem; margin-top: 1.5rem; display: block; font-weight: 500;  }
.form__group div { display: inline-block; }
#addRmaHistoryForm .form__group { display: block !important; margin-right: 0 !important; }
.form input { background: transparent; border: 1px solid var(--color-dark-light); padding: 1rem; border-radius: 3px; color: var(--color-light); font-weight: 500; outline: none; display: block; width: 100%; font-size : 1.2rem; }
.form__group input, .form__group textarea, .form__group select { background: transparent; border: 3px solid var(--color-dark-light); padding: 1rem; border-radius: 3px; color: var(--color-light); font-weight: 500; outline: none; display: block; width: 100%; }
.form__group input:focus, .form__group textarea:focus { border-color: var(--color-main); }
/* Update this existing rule in your CSS file */
.form__group input[type=submit] {
    color: var(--color-main);
    background-color: var(--color-dark-medium);
    margin-top: 1.5rem;
    width: auto; /* Add this line to fix the width issue */
    min-width: fit-content; /* Ensures button is wide enough for text */
    padding: 1rem 2rem; /* Optional: add consistent padding */
}
.form__group input[type=submit]:hover { background-color: var(--color-dark-light); }
.form__group textarea { background: transparent; height: 10rem; resize: none; }
.form__group select { color: var(--color-gray); font-weight: 400; }
.form__group select option { background-color: var(--color-dark-light); color: var(--color-light); padding: 0 10rem; }
.form__group input.modified-input { background-color: gray !important; }
.form__action { display: flex; justify-content: flex-end; gap: 3rem; }
.form__hide { position: absolute; left: -9999px; }
.form__avatar label { text-align: center; font-size: 1.8rem; font-weight: 500; color: var(--color-main); cursor: pointer; }
.form__avatar label:hover { text-decoration: underline; }

/* Topics styles */
.topics__header { margin-bottom: 0.5rem; }
.topics__header h2 { font-weight: 500; color: var(--color-dark-light); }
.topics__list { list-style: none; padding: 0; margin: 0; }
.topics__list li a { display: flex; align-items: center; margin-bottom: 0.2rem; font-weight: 500; color: var(--color-main-light); transition: all 0.3s ease-in-out; }
.topics__list li a.active, .topics__list li a:hover { color: var(--color-main); }
.topics__list li a span { padding: 0.1rem 0.5rem; background-color: var(--color-dark); border-radius: 3px; font-size: 1.3rem; font-weight: 700; letter-spacing: 1px; }
.topics-page a:hover { text-decoration: underline; }
.topics-page .topics__list li:not(:last-child) a { margin: 0.2rem 0; padding-bottom: 0.2rem; text-decoration: none; border-bottom: 1px solid var(--color-dark-medium); }
.topics-page .header__search { display: block; }

/* Room list styles - extended */
.roomListRoom__header { display: flex; justify-content: space-between; align-items: center; }
.roomListRoom__author { font-weight: 500; display: flex; align-items: center; gap: 1rem; }
.roomListRoom__actions { display: flex; align-items: flex-start; gap: 1rem; position: relative; }
.roomListRoom__actions span { font-size: 1.4rem; font-weight: 500; }
.roomListRoom__actions svg { fill: var(--color-main); width: 1.6rem; height: 1.6rem; }
.roomListRoom__content { margin: 1rem 0; }
.roomListRoom__content a { font-size: 2rem; font-weight: 500; margin-bottom: 1.5rem; color: var(--color-light); transition: all 0.3s ease-in-out; }
.roomListRoom__content a:hover { color: var(--color-main); }
.roomListRoom__meta { border-top: 1px solid var(--color-dark-medium); padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.roomListRoom__joined { color: var(--color-light-gray); display: flex; align-items: center; gap: 1rem; font-size: 1.4rem; font-weight: 500; }
.roomListRoom__joined svg { fill: var(--color-main); width: 1.6rem; height: 1.6rem; }
.roomListRoom__topic { padding: 5px 1.5rem; background-color: var(--color-dark-medium); border-radius: 5rem; font-weight: 500; font-size: 1.3rem; }

/* Activities styles */
.activities { background: var(--color-dark); border-radius: 5px; overflow: hidden; }
.activities__header h2 { background-color: var(--color-dark-light); text-transform: uppercase; font-weight: 500; padding: 1rem 1.5rem; color: var(--color-light); letter-spacing: 1px; font-size: 1.4rem; }
.activities__box { margin: 1.5rem; padding: 1.5rem; border: 2px solid var(--color-dark-medium); border-radius: 5px; }
.activities__boxHeader p { font-size: 1.4rem; line-height: 1.3; }
.activities__boxHeader p span { color: var(--color-gray); font-size: 1.2rem; display: block; }
.activities__boxContent { margin-left: 4.2rem; font-size: 1.4rem; }
.activities__boxContent a:hover { text-decoration: underline; }
.activities__boxRoomContent { background: var(--color-bg); padding: 1rem; border-radius: 5px; margin-top: 1rem; margin-left: -4.2rem; }

/* Room styles */
.room, .participants { background: var(--color-dark); max-height: 87.5vh; border-radius: 0.7rem; overflow: hidden; position: relative; }
.room__top, .participants__top { background: var(--color-dark-light); display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; position: relative; }
.room__top svg, .thread__top svg { width: 1.6rem; height: 1.6rem; fill: var(--color-light); cursor: pointer; }
.room__topLeft { display: flex; align-items: flex-end; gap: 1rem; }
.room__topLeft h3, .participants__top { text-transform: uppercase; font-weight: 500; color: var(--color-light); }
.room__topLeft svg { width: 1.6rem; height: 1.6rem; fill: var(--color-light); }
.room__topRight { display: flex; column-gap: 1em; }
.room__topRight svg { fill: var(--color-main-light); }
.room__header { max-height: 30vh; overflow-y: auto; position: absolute; width: 95%; background: var(--color-dark); z-index: 999; top: 4.4rem; padding-top: 2rem; padding-bottom: 1rem; }
.room__box { padding-left: 2rem; padding-right: 2rem; height: 80.5vh; padding-bottom: 0; }
.room__info { display: flex; justify-content: space-between; }
.room__info h3 { font-size: 2.4rem; font-weight: 500; color: var(--color-main); }
.room__hosted p { text-transform: uppercase; color: var(--color-gray); font-size: 1.2rem; font-weight: 700; line-height: 2; }
.room__author { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; transition: all 0.3s ease-in-out; }
.room__author:hover { text-decoration: underline; }
.room__topics { padding: 0.5rem 1.5rem; background: var(--color-dark-light); color: var(--color-light); display: inline-block; font-size: 1.4rem; border-radius: 1.5rem; margin: 1rem 0; }
.room__conversation { margin-top: 1rem; margin-bottom: 4rem; height: 64%; }
.threads h3 { text-transform: uppercase; font-weight: 500; color: var(--color-gray); }
.threads { background: var(--color-bg); border-radius: 0.7rem; overflow-y: auto; height: 100%; margin-top: 28vh; padding: 0 2rem 4rem 2rem; }
.thread { border-left: 2px solid var(--color-dark); padding-left: 1rem; margin: 2rem 0; padding: 2rem; }
.thread__top { display: flex; align-items: center; justify-content: space-between; }
.thread__top svg { fill: var(--color-dark-light); }
.thread__author { display: flex; align-items: center; gap: 1.5rem; font-size: 1.4rem; }
.thread__authorInfo { display: flex; align-items: center; gap: 1rem; }
.thread__details { font-size: 1.4rem; margin-top: 0.5rem; }
.room__message { padding: 2rem; position: absolute; z-index: 111; bottom: 0; left: 0; right: 0; background: transparent; }
.room__message > form > input { resize: none; background-color: var(--color-dark-light); color: var(--color-light); border: none; outline: none; border-radius: 0.7rem; height: 4.5rem; width: 100%; margin-top: -1rem; padding: 1.2rem; font-size: 1.4rem; font-weight: 500; position: relative; }
.room__message > form > input::placeholder { color: var(--color-light-gray); }
.participants__top span { color: var(--color-main); font-size: 1.3rem; text-transform: none; }
.participants__top { justify-content: flex-start; gap: 0.5rem; }
.participants__list { padding: 2rem; height: 82.5vh; overflow-y: scroll; padding-bottom: 0; }
.participant { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; }
.participant p { color: var(--color-light-gray); line-height: 1.2; }
.participant span { display: block; font-weight: 500; color: var(--color-main); font-weight: 1.4rem; }

/* Table styles */
table { width: 100%; background-color: #333; border-radius: 0.5rem; overflow: hidden; }
th, td { padding: 1rem; text-align: left; font-weight: 500; color: var(--color-light); }
th { background-color: --color-dark-medium; border-bottom: 2px solid #f1c40f; }
td { background-color: #444; }
tbody tr:hover { background-color: var(--color-main-light); color: var(--color-dark); }

/* Pagination */
.pagination { margin-top: 2rem; margin-bottom: 2rem; }
.pagination > ul { flex-wrap: wrap; list-style: none; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.pagination .btn { color: var(--color-sub); }
.pagination .btn.btn--sub { color: var(--color-light); }

/* KR Parts */
.layout__box--kr { width: 100%; max-width: 88rem; min-height: 40rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); background-color: var(--color-dark); border-radius: 1rem; box-shadow: 1px 1px 6px 3px rgba(0, 0, 0, 0.1); overflow: hidden; }
.container__kr { width: 100%; display: flex; gap: 10px; margin: auto; padding: 2rem; box-sizing: border-box; flex-direction: row; }
.column { display: flex; flex: 1; flex-direction: column; padding: 12px; }
.column__border { display: flex; flex: 1; flex-direction: column; padding: 12px; border-radius: 1rem; border: 1px solid var(--color-dark-medium); }
.column__panel { width: 100%; max-width: 54rem; min-height: 40rem; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -46%); background-color: var(--color-dark); border-radius: 1rem; box-shadow: 1px 1px 6px 3px rgba(0, 0, 0, 0.1); overflow: hidden; display: flex; flex: 1; flex-direction: column; border: 1px solid var(--color-dark-medium); border-radius: 1rem; box-sizing: border-box; }
.bottom-container { margin-top: auto; text-align: center; }
.form__split--kr { display: flex; gap: 1.5rem; width:100%; }
.status-panel { margin-top: 10px; }
.status-bar { margin-top: auto; text-align: left; border: 1px solid var(--color-dark-medium); border-radius: 3px; padding: 0.5rem; }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE DESIGN */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) { .toggle-btn { font-size: 14px; padding: 12px 15px; } .device-info-display { flex-direction: column; gap: 15px; } #device-configuration .room__info { width: 100%; max-width: 100%; } .filter-controls { flex-direction: column; align-items: flex-start; gap: var(--space-md); } .alert-header { flex-direction: column; align-items: flex-start; gap: var(--space-lg); } }

@media only screen and (min-width: 1200px) { html { font-size: 62.5%; } }

@media only screen and (min-width: 2100px) { html { font-size: 75%; } }

@media screen and (max-width: 900px) { .activities, .topics { display: none; } .layout--3 > .container > div:nth-child(2) { flex-basis: 100%; } .participants { display: none; } .layout--2 > .container > div:first-child { flex-basis: 100%; } table { display: block-inline; overflow-x: auto; white-space: nowrap; } th, td { white-space: nowrap; padding-top: 0.1rem; padding-bottom: 0.1rem; border-spacing: 0.1rem; } }

@media screen and (max-width: 800px) { .header__search input { width: 20rem; } .header > .container { gap: 3rem; } }

@media screen and (max-width: 700px) { .header__logo h1 { display: none; } }

@media screen and (max-width: 500px) { .header__search { display: none; } .mobile-menu .header__search { display: block; margin-bottom: 2.4rem; } .room__header { top: 4.3rem; padding-right: 2rem; } .room__box { padding-left: 2.5rem; padding-right: 2rem; height: 80.5vh; overflow-y: auto; padding-bottom: 0; } }

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* TOOLTIP SYSTEM STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted var(--text-secondary); /* Using theme colors */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--color-dark);
    color: var(--text-primary);
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    
    /* Position the tooltip text */
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    
    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-dark) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* ALERT FORM STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Add Alert Button Styling - matching notification group buttons */
#submit-btn,
input[type="submit"][name="AlertAdd"] {
    background: linear-gradient(135deg, var(--color-main), var(--accent));
    border: 1px solid var(--border);
    color: var(--color-dark);
    padding: var(--space-lg) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(240, 211, 22, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    width: 100%;
    display: block;
    margin-top: var(--space-xl);
}

#submit-btn:hover,
input[type="submit"][name="AlertAdd"]:hover {
    background: var(--color-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 211, 22, 0.4);
    border-color: var(--color-main);
}

#submit-btn:active,
input[type="submit"][name="AlertAdd"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(240, 211, 22, 0.3);
}

#submit-btn:focus,
input[type="submit"][name="AlertAdd"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(240, 211, 22, 0.3);
}

/* Disabled state for the submit button */
#submit-btn:disabled,
input[type="submit"][name="AlertAdd"]:disabled {
    background: var(--bg-medium);
    color: var(--text-muted);
    border-color: var(--border);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
}

#submit-btn:disabled:hover,
input[type="submit"][name="AlertAdd"]:disabled:hover {
    background: var(--bg-medium);
    transform: none;
    box-shadow: none;
}

/* Warning message styling to match the theme */
#notification-warning {
    color: var(--danger) !important;
    font-weight: bold !important;
    margin: var(--space-lg) 0 !important;
    display: none;
    background-color: rgba(220, 53, 69, 0.1);
    padding: var(--space-md);
    border-radius: 6px;
    border-left: 4px solid var(--danger);
}

/* Styling for the alerts container */
#alerts {
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--bg-medium);
    display: none; /* Hidden by default */
}

#alerts.show {
    display: block;
}

#alerts .alert-field {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
}

#alerts label {
    display: inline-block;
    width: 200px;
    font-weight: 600;
    margin-right: var(--space-md);
    color: var(--text-primary);
}

#alerts input[type="text"] {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border);
    border-radius: 4px;
    width: 200px;
    font-size: 14px;
    background-color: var(--bg-light);
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

#alerts input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#alerts input[type="text"]::placeholder {
    color: var(--text-muted);
}
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */
/* ALERT MODIFICATION STYLING */
/* ══════════════════════════════════════════════════════════════════════════════════════════════════════════════ */

/* Alert threshold input styling */
.alert-threshold {
    border: 2px solid var(--color-main);
    padding: var(--space-sm);
    border-radius: 4px;
    background: var(--bg-light);
    color: var(--text-primary);
    text-align: center;
    width: 100px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.alert-threshold:focus {
    border-color: var(--color-main);
    outline: none;
    background-color: rgba(240, 211, 22, 0.1);
    box-shadow: 0 0 0 2px rgba(240, 211, 22, 0.2);
}

.threshold-display {
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 1.2rem;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.threshold-display:hover {
    background-color: rgba(240, 211, 22, 0.1);
    border: 1px dashed var(--color-main);
}

.threshold-edit-icon {
    margin-left: var(--space-md);
    color: var(--text-muted);
    font-size: 1.4rem;
    opacity: 0.7;
    cursor: pointer;
    transition: all 0.2s ease;
}

.threshold-edit-icon:hover {
    color: var(--color-main);
    opacity: 1;
    transform: scale(1.1);
}

.alert-cell--threshold {
    position: relative;
}

.alert-cell--threshold:hover .threshold-edit-icon {
    color: var(--color-main);
    opacity: 1;
}

/* Enhanced visual feedback for edited values */
.threshold-changed {
    background-color: rgba(93, 214, 147, 0.2) !important;
    border: 1px solid var(--color-success) !important;
    transition: all 0.3s ease;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* HEADER SECTIONS STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */




/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* SECTION CONTAINERS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

/* Info section styling - for header information */
.title-section {
    background-color: var(--bg-medium);
    /*border-left: 4px solid var(--color-main);*/
    border: 4px solid #444;
    text-align: center;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}
h2 {
    margin-bottom: var(--space-xl);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-main, #ffd700);
    border-bottom: 2px solid var(--color-main, #ffd700);
    padding-bottom: 0.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    
}


.info-section {

}
/* Actions section styling - within the form */
.actions-section {
    background-color: var(--bg-medium);
    border-left: 4px solid var(--color-main);
    padding: var(--space-xl);
    margin-top: var(--space-xl);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Table section styling */
.table-section {
    background-color: var(--bg-medium);
    border-left: 4px solid var(--color-main);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

.table-section h3 {
    color: var(--color-main);
    margin-top: 0;
    margin-bottom: var(--space-lg);
    font-size: 1.8rem;
    font-weight: 600;
}


h3 {
    color: var(--color-main);
    margin-top: 0;
    margin-bottom: var(--space-lg);
    font-size: 1.8rem;
    font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* EDIT FEEDBACK STYLING */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

/* Edit hint styling */
.edit-hint {
    background-color: rgba(93, 214, 147, 0.1);
    border: 1px solid var(--color-success);
    border-radius: 4px;
    padding: var(--space-md);
    margin: var(--space-md) 0;
    color: var(--color-success);
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* INNER TABLE STYLING (for alert details) */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.inner-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
    background-color: var(--bg-dark);
}

.inner-table__header {
    background-color: var(--bg-light);
}

.inner-table__header-cell {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.alert-row {
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
    height: 3rem;
}

.alert-row:hover {
    background-color: var(--bg-medium);
}

.alert-row.selected {
    background-color: rgba(240, 211, 22, 0.15);
    border-left: 4px solid var(--color-main);
}

.alert-cell {
    padding: var(--space-md) var(--space-lg);
    text-align: center;
    font-size: 1.5rem;
    vertical-align: middle;
    line-height: 1.3;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* STATUS INDICATORS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.triggered-status--active {
    color: var(--color-error);
    font-weight: bold;
}

.triggered-status--inactive {
    color: var(--color-success);
    font-weight: bold;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* ACTION BUTTONS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

.action-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
    align-items: center;
}

.update-btn {
    background-color: var(--color-main);
    color: var(--color-dark);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 1.5rem;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.update-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.delete-btn {
    background-color: var(--danger);
    color: var(--text-primary);
    border: none;
    padding: var(--space-md) var(--space-xl);
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 1.5rem;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.delete-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* ALERT TAB CONTENT */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

#AlertDetailsTab {
    background-color: var(--bg-medium);
    border-left: 4px solid var(--color-main);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border-radius: 4px;
    display: none;
}

#AlertDetailsTab p {
    color: var(--text-secondary);
    font-size: 1.4rem;
    margin: 0;
}

#AlertDetailsTab #displayDataId {
    color: var(--color-main);
    font-weight: bold;
}

/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
/* RESPONSIVE DESIGN - ALERT MODIFICATIONS */
/* ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .update-btn, .delete-btn {
        width: 100%;
        margin-bottom: var(--space-md);
    }
    
    .inner-table__header-cell,
    .alert-cell {
        padding: var(--space-sm);
        font-size: 1.3rem;
    }
    
    .alert-threshold {
        width: 80px;
        font-size: 1.2rem;
    }
    
    .threshold-display {
        font-size: 1.2rem;
    }
    
    .info-section,
    .actions-section,
    .table-section {
        padding: var(--space-lg);
    }


}

