/* public/style.css */
body {
    background-color: #313338; 
    color: #dbdee1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}

/* Distribución del Dashboard principal */
.dashboard-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

/* Barra Lateral (Sidebar) */
.sidebar {
    width: 260px;
    background-color: #2b2d31;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1f2023;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid #1e1f22;
}

.sidebar-header h3 {
    margin: 0;
    color: #f2f3f5;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.nav-item {
    padding: 14px 20px;
    margin: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: #949ba4;
    transition: all 0.2s ease;
}

.nav-item:hover {
    background-color: #35373c;
    color: #dbdee1;
}

.nav-item.active {
    background-color: #5865f2;
    color: white;
}

/* Área Central de Contenido */
.content-area {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
    background-color: #313338;
}

/* Gestión de Vistas Intercambiables */
.view-panel {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.view-panel.active {
    display: block;
}

h2 {
    margin-top: 0;
    color: #f2f3f5;
    border-bottom: 1px solid #3f4147;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* Formularios y Campos */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    color: #b5bac1;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #1e1f22;
    color: #dbdee1;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
}

input:focus, textarea:focus {
    outline: 2px solid #5865f2;
}

textarea {
    resize: vertical;
    height: 120px;
}

button {
    width: 100%;
    padding: 14px;
    background-color: #5865f2;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

button:hover {
    background-color: #4752c4;
}

/* Tablas de Datos (Warns) */
.table-container {
    background-color: #2b2d31;
    border-radius: 6px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th, .data-table td {
    padding: 14px 20px;
}

.data-table th {
    background-color: #1e1f22;
    color: #f2f3f5;
    font-size: 14px;
    text-transform: uppercase;
}

.data-table tbody tr {
    border-bottom: 1px solid #3f4147;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.btn-danger {
    background-color: #da373c;
    padding: 6px 12px;
    font-size: 13px;
    width: auto;
    margin: 0;
}

.btn-danger:hover {
    background-color: #a92b2f;
}

/* Tarjeta de Música */
.music-card {
    background-color: #2b2d31;
    padding: 24px;
    border-radius: 8px;
    border-left: 5px solid #5865f2;
}

.music-status {
    font-size: 13px;
    color: #b5bac1;
    margin-bottom: 15px;
}

.status-online {
    color: #2ecc71;
    font-weight: bold;
}

.current-track h4 {
    margin: 0 0 6px 0;
    color: #f2f3f5;
    font-size: 18px;
}

.current-track p {
    margin: 0;
    color: #949ba4;
}

.queue-section {
    margin-top: 25px;
    border-top: 1px solid #3f4147;
    padding-top: 15px;
}

.queue-section h3 {
    font-size: 15px;
    color: #f2f3f5;
}

.queue-section ol {
    padding-left: 20px;
    color: #b5bac1;
}

.queue-section li {
    margin-bottom: 8px;
}