/* AutrixWeb — base.css: Reset, body, sidebar y shell principal.
 * Rango contiguo 1-125 del antiguo styles.css: el orden relativo
 * se conserva para no alterar la cascada. */
* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background: #f5f6fa;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #273c75;
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    background: #1e2a4a;
    border-bottom: 1px solid #34495e;
}

.sidebar-header h1 {
    margin: 0;
    font-size: 18px;
    color: #ecf0f1;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #34495e;
}

.sidebar-nav a {
    display: block;
    padding: 15px 20px;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: #34495e;
    color: #ecf0f1;
    border-left: 4px solid #2c5aa0;
}

.sidebar-nav a i {
    margin-right: 10px;
    width: 20px;
    display: inline-block;
    text-align: center;
}

/* Main content */
.main-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
    overflow-y: auto;
}

.header {
    background: #fff;
    padding: 20px;
    border-radius: 7px;
    box-shadow: 0 1px 4px #ccc;
    margin-bottom: 20px;
}

.power-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    flex-shrink: 0;
}

.power-buttons button {
    margin-top: 0;
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.power-buttons button:hover {
    transform: scale(1.05);
}
