:root { /* Colors */ --primary-color: #162c53; /* Deep blue primary color */ --secondary-color: #ffffff; /* White secondary color */ --text-color: #343a40; /* Dark gray text */ --border-color: #ced4da; /* Light gray border color */ --background-color: #f8f9fa; /* Very light gray background */ --hover-primary-color: #ea193c; /* Bright red for hover */ --hover-secondary-color: #e9ecef; /* Light gray for hover */ --error-color: #ea193c; /* Bright red error color */ --success-color: #00b894; /* Green success color */ --placeholder-color: #6c757d; /* Medium gray placeholder color */ --accent-color: #ea193c; /* Bright red accent color */ --accent-color-dark: #162c53; /* Deep blue accent color */ --action-color: #162c53; /* Deep blue action color */ --hover-action-color: #ea193c; /* Bright red hover color for action */ --sidebar-text-color: #ffffff; /* White sidebar text color */ /* RGB variants */ --primary-color-rgb: 22, 44, 83; --secondary-color-rgb: 255, 255, 255; --text-color-rgb: 52, 58, 64; --border-color-rgb: 206, 212, 218; --background-color-rgb: 248, 249, 250; --hover-primary-color-rgb: 234, 25, 60; --hover-secondary-color-rgb: 233, 236, 239; --error-color-rgb: 234, 25, 60; --success-color-rgb: 0, 184, 148; --placeholder-color-rgb: 108, 117, 125; --accent-color-rgb: 234, 25, 60; --accent-color-dark-rgb: 22, 44, 83; --action-color-rgb: 22, 44, 83; --hover-action-color-rgb: 234, 25, 60; --sidebar-text-color-rgb: 255, 255, 255; /* HSL variants */ --primary-color-hsl: 220, 58%, 23%; --secondary-color-hsl: 0, 0%, 100%; --text-color-hsl: 210, 10%, 20%; --border-color-hsl: 210, 15%, 80%; --background-color-hsl: 210, 20%, 97%; --hover-primary-color-hsl: 350, 83%, 50%; --hover-secondary-color-hsl: 210, 15%, 93%; --error-color-hsl: 350, 83%, 50%; --success-color-hsl: 165, 100%, 36%; --placeholder-color-hsl: 200, 10%, 45%; --accent-color-hsl: 350, 83%, 50%; --accent-color-dark-hsl: 220, 58%, 23%; --action-color-hsl: 220, 58%, 23%; --hover-action-color-hsl: 350, 83%, 50%; --sidebar-text-color-hsl: 0, 0%, 100%; /* Fonts */ --font-regular: "Brown Regular", Arial, sans-serif; --font-title: "Brown Title", Arial, sans-serif; /* Border radius */ --input-border-radius: 5px; --button-border-radius: 5px; --regular-border-radius: 10px; --double-border-radius: 20px; /* Animation */ --smooth-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1); --swift-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); --bounce-ease: cubic-bezier(0.34, 1.56, 0.64, 1); --soft-spring: cubic-bezier(0.5, 0, 0.25, 1.25); --snappy-ease: cubic-bezier(0.07, 0.95, 0, 1); /* Shadows */ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); } body.dark-theme { /* Colors */ --primary-color: #0d1b2a; /* Darker deep blue primary color */ --secondary-color: #1b263b; /* Darker blue secondary color */ --text-color: #e0e1dd; /* Light gray text */ --border-color: #4a4e69; /* Dark gray border color */ --background-color: #16213e; /* Dark blue background */ --hover-primary-color: #ea193c; /* Bright red for hover (same as light theme) */ --hover-secondary-color: #2e3440; /* Dark gray for hover */ --error-color: #ea193c; /* Bright red error color (same as light theme) */ --success-color: #00b894; /* Green success color (same as light theme) */ --placeholder-color: #b0bec5; /* Light gray placeholder color */ --accent-color: #ea193c; /* Bright red accent color (same as light theme) */ --accent-color-dark: #0d1b2a; /* Darker deep blue accent color */ --action-color: #ea193c; /* Bright red action color (same as light theme) */ --hover-action-color: #ea193c; /* Bright red hover color for action (same as light theme) */ --sidebar-text-color: #e0e1dd; /* Light gray sidebar text color */ /* RGB variants */ --primary-color-rgb: 13, 27, 42; --secondary-color-rgb: 27, 38, 59; --text-color-rgb: 224, 225, 221; --border-color-rgb: 74, 78, 105; --background-color-rgb: 22, 33, 62; --hover-primary-color-rgb: 234, 25, 60; --hover-secondary-color-rgb: 46, 52, 64; --error-color-rgb: 234, 25, 60; --success-color-rgb: 0, 184, 148; --placeholder-color-rgb: 176, 190, 197; --accent-color-rgb: 234, 25, 60; --accent-color-dark-rgb: 13, 27, 42; --action-color-rgb: 234, 25, 60; --hover-action-color-rgb: 234, 25, 60; --sidebar-text-color-rgb: 224, 225, 221; /* HSL variants */ --primary-color-hsl: 210, 52%, 15%; --secondary-color-hsl: 210, 38%, 23%; --text-color-hsl: 210, 10%, 88%; --border-color-hsl: 230, 20%, 30%; --background-color-hsl: 210, 50%, 18%; --hover-primary-color-hsl: 350, 83%, 50%; --hover-secondary-color-hsl: 210, 15%, 23%; --error-color-hsl: 350, 83%, 50%; --success-color-hsl: 165, 100%, 36%; --placeholder-color-hsl: 200, 10%, 70%; --accent-color-hsl: 350, 83%, 50%; --accent-color-dark-hsl: 210, 52%, 15%; --action-color-hsl: 350, 83%, 50%; --hover-action-color-hsl: 350, 83%, 50%; --sidebar-text-color-hsl: 210, 10%, 88%; } @font-face { font-family: "Brown Regular"; src: url("/fonts/Brown/brown-regular-webfont.ttf") format("truetype"); } @font-face { font-family: "Brown Title"; src: url("/fonts/Brown/brown-title-webfont.ttf") format("truetype"); } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-regular); background-color: var(--background-color); color: var(--text-color); line-height: 1.6; } ::-webkit-scrollbar { display: none; } /* Sidebar Styles */ .sidebar { width: 250px; height: 100vh; background-color: var(--primary-color); color: var(--secondary-color); position: fixed; left: 0; top: 0; overflow-y: auto; transition: all 0.5s var(--smooth-ease-out); box-shadow: var(--shadow-md); z-index: 1000; } .main-content { margin-left: 250px; /* Match the width of the sidebar */ transition: all 0.3s var(--smooth-ease-out); } .sidebar-header { padding: 1.5rem; text-align: center; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .sidebar-header .logo { font-family: var(--font-title); font-size: 2rem; font-weight: 700; color: var(--sidebar-text-color); text-decoration: none; } .nav-menu { list-style-type: none; padding: 1rem 0; position: relative; } .nav-menu li { margin-bottom: 0.5rem; } .nav-menu a { display: flex; align-items: center; padding: 0.75rem 1.5rem; color: var(--sidebar-text-color); text-decoration: none; transition: background-color 0.3s var(--swift-ease-in-out); position: relative; z-index: 1; } .nav-menu a:hover { background-color: rgba(255, 255, 255, 0.1); } .nav-menu a.active { background-color: transparent; font-weight: 500; } .nav-menu i { margin-right: 1rem; font-size: 1.2rem; width: 20px; text-align: center; } .nav-menu span { font-size: 0.9rem; } .nav-menu .active-indicator { position: absolute; left: 0; width: 100%; height: 47.05px; background-color: var(--hover-primary-color); transition: top 0.3s var(--swift-ease-in-out); z-index: 0; } .sidebar-footer { position: absolute; bottom: 0; width: 100%; padding: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; } .sidebar-footer p { font-size: 0.9rem; color: var(--sidebar-text-color); } .sidebar-footer strong { color: var(--hover-primary-color); font-weight: 500; font-size: 1rem; } .sidebar-footer .btn-outline { background-color: transparent; color: var(--sidebar-text-color); border: 2px solid var(--hover-primary-color); padding: 0.75rem 1.5rem; border-radius: var(--button-border-radius); font-weight: 500; cursor: pointer; transition: all 0.3s var(--smooth-ease-out); margin-top: 1rem; width: 100%; } .sidebar-footer .btn-outline:hover { background-color: var(--hover-primary-color); color: var(--secondary-color); } /* Sidebar toggle for responsive design */ .sidebar-toggle { display: none; background: none; border: none; color: var(--text-color); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; position: fixed; top: 1rem; left: 1rem; z-index: 1001; } /* Responsive adjustments */ @media (max-width: 768px) { .sidebar { transform: translateX(-100%); } .sidebar.active { transform: translateX(0); } .main-content { margin-left: 0; } .main-content.sidebar-active { margin-left: 250px; } .sidebar-toggle { display: block; } } /* Scrollbar styles for the sidebar */ .sidebar::-webkit-scrollbar { width: 6px; display: block; } .sidebar::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.1); } .sidebar::-webkit-scrollbar-thumb { background-color: rgba(255, 255, 255, 0.3); border-radius: 3px; } .sidebar::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, 0.5); } .app-container { display: flex; min-height: 100vh; } .main-content { flex-grow: 1; padding: 2rem; overflow-y: auto; } .top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; } #page-title { font-size: 1.5rem; font-weight: 500; font-family: var(--font-title); } .user-actions { display: flex; align-items: center; } .theme-toggle { background: none; border: none; color: var(--placeholder-color); font-size: 1.25rem; cursor: pointer; margin-right: 1rem; display: flex; align-items: center; } #current-user { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 0.5rem 1rem; border: 1px solid var(--border-color); color: var(--text-color); font-weight: 500; display: flex; align-items: center; } .metric-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .metric-card { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .metric-card h3 { font-size: 1rem; font-weight: 500; color: var(--placeholder-color); margin-bottom: 1rem; } .chart-container { height: 200px; } .metric-card#os-info .card-content { display: flex; flex-direction: column; align-items: center; } .metric-card#os-info .card-content div.os-icon { font-size: 4rem; color: var(--action-color); margin-bottom: 1rem; } .metric-card#os-info .card-content div.os-info { flex-grow: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 100%; } .metric-card#os-info .card-content div.os-info p { margin-bottom: 0.5rem; } .metric-card#os-info .card-content div.os-info p strong { color: var(--action-color); } .data-table { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .data-table h3 { font-size: 1rem; font-weight: 500; color: var(--placeholder-color); margin-bottom: 1rem; } .table-container { overflow-x: auto; max-height: 50vh; } table { width: 100%; border-collapse: collapse; } thead { position: sticky; top: 0; background-color: var(--secondary-color); z-index: 1; } th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--border-color); } tr { transition: background-color 0.3s var(--smooth-ease-out); } tr:hover { background-color: var(--hover-secondary-color); } thead tr:hover { background-color: var(--secondary-color); } th { font-weight: 500; color: var(--placeholder-color); } .tab-content { display: none; } .tab-content.active { display: block; } @media (max-width: 768px) { .app-container { flex-direction: column; } .sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-color); height:100%; } } span.asterisk { color: var(--error-color); } p.footnote { font-size: 0.75rem; color: var(--placeholder-color); margin-top: 1rem; } .config-section { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .config-section h3 { font-size: 1.25rem; font-weight: 500; color: var(--action-color); margin-bottom: 1.5rem; } .config-group { margin-bottom: 2rem; } .config-group h4 { font-size: 1rem; font-weight: 500; color: var(--placeholder-color); margin-bottom: 1rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; } .config-item { display: flex; align-items: center; margin-bottom: 1rem; } .config-item label { flex: 0 0 200px; font-weight: 500; color: var(--text-color); } .config-item input { flex: 1; padding: 0.5rem; border: 1px solid var(--border-color); border-radius: var(--input-border-radius); background-color: var(--background-color); color: var(--text-color); transition: all 0.3s var(--smooth-ease-out); } .config-item input:focus { outline: none; border-color: var(--action-color); box-shadow: 0 0 0 2px rgba(var(--action-color-rgb), 0.1); } .btn { padding: 0.75rem 1.5rem; border: none; border-radius: var(--button-border-radius); font-weight: 500; cursor: pointer; transition: all 0.3s var(--smooth-ease-out); } .btn-primary { background-color: var(--action-color); color: var(--secondary-color); } .btn-primary:hover { background-color: var(--hover-action-color); } .logs-section { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .logs-section h3 { font-size: 1.25rem; font-weight: 500; color: var(--action-color); margin-bottom: 1rem; } .log-info { margin-bottom: 1rem; font-size: 0.9rem; color: var(--placeholder-color); } .log-content { background-color: var(--background-color); border: 1px solid var(--border-color); border-radius: var(--input-border-radius); padding: 1rem; max-height: 500px; overflow-y: auto; } .log-content pre { font-family: monospace; white-space: pre-wrap; word-wrap: break-word; } .user-directory { background-color: var(--secondary-color); border-radius: var(--regular-border-radius); padding: 1.5rem; border: 1px solid var(--border-color); } .user-directory h3 { font-size: 1.5rem; font-weight: 600; color: var(--text-color); margin-bottom: 1.5rem; } .search-container { margin-bottom: 1.5rem; } /* Search Input */ #user-search { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: 8px; background-color: var(--secondary-color); color: var(--text-color); font-size: 1rem; transition: all 0.3s var(--smooth-ease-out); } #user-search:focus { outline: none; border-color: var(--action-color); box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1); } /* User List */ .user-list { list-style: none; padding: 0; margin: 0; max-height: 70vh; overflow-y: auto; } /* User Item */ .user-item { background-color: var(--secondary-color); border-radius: 8px; margin-bottom: 1rem; transition: all 0.3s var(--soft-spring); border: 1px solid var(--border-color); } .user-item-header { display: flex; align-items: center; padding: 1rem; cursor: pointer; } .user-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 1rem; } .user-item-info { flex-grow: 1; } .user-item-name { font-weight: 600; font-size: 1.1rem; color: var(--text-color); display: block; } .user-item-role { font-size: 0.9rem; color: var(--placeholder-color); } /* Expand Button */ .expand-button { background: none; border: none; cursor: pointer; padding: 0.5rem; transition: transform 0.3s var(--soft-spring); } .expand-button svg { stroke: var(--text-color); } .expand-button.expanded { transform: rotate(180deg); } /* User Item Details */ .user-item-details { max-height: 0; overflow: hidden; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; transition: max-height 0.3s var(--soft-spring), padding 0.3s var(--soft-spring), background-color 0.3s var(--soft-spring); } .user-item.expanded .user-item-details { max-height: 1000px; padding: 1rem; background-color: var(--background-color); } /* User Details Grid */ .user-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; } /* User Detail Card */ .user-detail-card { background-color: var(--secondary-color); border-radius: 8px; border: 1px solid var(--border-color); padding: 1rem; display: flex; align-items: center; gap: 1rem; transition: all 0.3s var(--soft-spring); cursor: pointer; } .user-detail-card svg { width: 24px; height: 24px; min-width: 24px; margin-right: 0.75rem; stroke: var(--text-color); flex-shrink: 0; transition: transform 0.3s var(--soft-spring); } .user-detail-card:hover { transform: translateY(-2px); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .user-detail-card:hover svg { transform: scale(1.1); } .user-detail-card span { font-size: 0.95rem; color: var(--text-color); word-break: break-word; line-height: 1.4; } /* User Details Extra */ .user-details-extra { display: flex; flex-direction: column; gap: 1rem; } /* User Detail Section */ .user-detail-section { background-color: var(--secondary-color); border-radius: 8px; border: 1px solid var(--border-color); padding: 1rem; } .user-detail-section h4 { color: var(--text-color); margin-bottom: 1rem; font-size: 1.1rem; display: flex; align-items: center; } .user-detail-section h4 svg { margin-right: 0.5rem; stroke: var(--text-color); flex-shrink: 0; } /* Detail Item */ .detail-item { display: flex; align-items: center; margin-bottom: 0.75rem; } .detail-item svg { margin-right: 0.5rem; stroke: var(--text-color); min-width: 18px; width: 18px; height: 18px; flex-shrink: 0; } .detail-item span { font-size: 0.95rem; color: var(--text-color); line-height: 1.4; } .detail-item strong { font-weight: 600; color: var(--text-color); } /* Toast Container */ .toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; } /* Toast Container */ .toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; } /* Toast Notification */ .toast { background-color: var(--secondary-color); color: var(--text-color); border-radius: var(--regular-border-radius); padding: 0.75rem 1rem; margin-bottom: 0.75rem; box-shadow: var(--shadow-md); display: flex; align-items: center; width: 300px; opacity: 0; transform: translateX(100%); transition: all 0.3s var(--smooth-ease-out); overflow: hidden; position: relative; } .toast.show { opacity: 1; transform: translateX(0); } .toast-icon { margin-right: 0.75rem; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; } .toast-content { flex-grow: 1; } .toast-message { font-size: 0.9rem; line-height: 1.4; } .toast-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background-color: rgba(255, 255, 255, 0.3); } .toast-progress-bar { height: 100%; width: 100%; transition: width linear; } /* Toast Types */ .toast-success { background-color: var(--success-color); color: white; } .toast-error { background-color: var(--error-color); color: white; } .toast-warning { background-color: #ffa500; color: white; } .toast-info { background-color: #3498db; color: white; } .toast-success .toast-progress-bar { background-color: #2ecc71; } .toast-error .toast-progress-bar { background-color: #e74c3c; } .toast-warning .toast-progress-bar { background-color: #f39c12; } .toast-info .toast-progress-bar { background-color: #2980b9; }