/* 
 * RF Visualization Common Styles
 * Common CSS for RF visualization pages
 */

/* Base styles */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000011;
    color: white;
}

/* Container layouts */
.full-page-container {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.flex-container {
    display: flex;
    height: 100vh;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Sidebar styling */
.sidebar {
    width: 300px;
    min-width: 300px;
    background-color: rgba(20, 20, 50, 0.8);
    padding: 15px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    z-index: 10;
}

/* Status indicators */
.status-panel {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(20, 20, 50, 0.8);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 12px;
    color: white;
    z-index: 20;
    border: 1px solid rgba(0, 170, 255, 0.5);
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-active {
    background-color: #4CAF50;
    box-shadow: 0 0 5px #4CAF50;
}

.status-inactive {
    background-color: #888;
}

.status-error {
    background-color: #ff3b30;
    box-shadow: 0 0 5px #ff3b30;
}

.status-warning {
    background-color: #ff9500;
    box-shadow: 0 0 5px #ff9500;
}

/* Toolbars */
.toolbar {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    background: rgba(42, 42, 42, 0.8);
    padding: 10px;
    border-radius: 5px;
    color: white;
    max-width: 300px;
}

/* Headings */
h1, h2, h3 {
    color: #00aaff;
    margin-top: 0;
}

/* Buttons */
button {
    background-color: #2196F3;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;
    font-weight: bold;
}

button:hover {
    background-color: #0b7dda;
}

button.primary {
    background-color: #4CAF50;
}

button.primary:hover {
    background-color: #367c39;
}

button.warning {
    background-color: #FF9800;
}

button.warning:hover {
    background-color: #e68a00;
}

button.danger {
    background-color: #c93840;
}

button.danger:hover {
    background-color: #a52d34;
}

/* Info panels */
.info-panel {
    background-color: rgba(20, 20, 50, 0.7);
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #00aaff;
}

/* Control elements */
.controls {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

input[type="range"] {
    width: 100%;
}

/* Visualization containers */
.visualization-container {
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
    font-size: 24px;
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Back button */
.back-button {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}
