:root {
    --bg: #f5f7fa;
    --sidebar-bg: #fff8e7;
    --sidebar-active: #eedc82;
    --sidebar-hover: #fcf8ee;
    --accent: #ffd300;
    --text-primary: #1a202c;
    --text-secondary: #718096;
    --border: #e2e8f0;
    --shadow: rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    min-height: 100vh;
}

.dashboard-container { display: flex; }

/* Sidebar */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    position: fixed;
    height: 100vh;
    box-shadow: 2px 0 12px var(--shadow);
    z-index: 100;
}

.sidebar-header { padding: 24px; text-align: center; }
.sidebar-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: block;
    border: 3px solid white;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.nav-item.active {
    background: var(--sidebar-active);
    color: var(--text-primary);
    font-weight: bold;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 32px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* Tab Management */
.tab-content { display: none; height: calc(100vh - 180px); }
.tab-content.active { display: block; animation: fadeIn 0.4s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.iframe-container { width: 100%; height: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px var(--shadow); }
.page-iframe { width: 100%; height: 100%; border: none; }

/* CARRUSEL DISEÑO */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-window {
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: white;
    box-shadow: 0 8px 20px var(--shadow);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
}

.carousel-slide img {
    width: 100%;
    display: block;
}

.carousel-btn {
    background: var(--accent);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    z-index: 10;
    transition: transform 0.2s;
}

.carousel-btn:hover { transform: scale(1.1); }
.prev { left: -25px; }
.next { right: -25px; }

.header-date {
    background: white;
    padding: 8px 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
}