/* Estilos principales para generacionliminal.htm */
.sheet-table-frame {
    padding: 16px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    margin-top: 32px;
}
.sheet-table-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 400px;
    margin-top: 8px;
}
.sheet-table {
    min-width: 600px;
    width: 100%;
    border-collapse: collapse;
    background: #23272f;
    color: #e0e6ed;
    table-layout: fixed;
}
.sheet-table th {
    border: 1px solid #313543;
    padding: 6px 10px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: bold;
    height: 40px;
    white-space: normal;
    vertical-align: top;
}
.sheet-table td {
    border: 1px solid #313543;
    padding: 6px 10px;
    text-align: left;
    font-size: 0.85rem;
    height: 40px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: top;
}
.sheet-table td:hover {
    white-space: normal;
    height: auto;
    background: #2a2f3a;
}
.sheet-table th {
    background: #313543;
    color: #6cb6f7;
}
.sheet-table tr:nth-child(even) td {
    background: #20232a;
}
body {
    background-color: #181a20;
    color: #e0e6ed;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.sidebar {
    width: 100%;
    background: #23272f;
    border-bottom: 1px solid #22262c;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(27,31,35,0.10);
}
.sidebar h2 {
    color: #6cb6f7;
    font-size: 1.1rem;
    margin: 0 0 16px 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.timeline-container {
    margin: 40px 0;
    overflow: auto;
}

.timeline-svg {
    width: 100%;
    max-width: 800px;
    height: 400px;
    display: block;
    margin: 0 auto;
}

.year-markers text {
    font-family: Arial, sans-serif;
}

.film-events circle {
    cursor: pointer;
    transition: r 0.2s;
}

.film-events circle:hover {
    r: 10;
}

.timeline-legend {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.timeline-svg-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(135deg, #1a1d23 0%, #23272f 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow-x: auto;
    overflow-y: hidden;
}

.timeline-svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.timeline-svg text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    user-select: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .timeline-svg-wrapper {
        margin: 20px 10px;
        padding: 15px;
    }

    .timeline-svg {
        width: 1200px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .timeline-svg-wrapper {
        margin: 20px 5px;
        padding: 10px;
    }

    .timeline-svg {
        width: 1200px;
        height: 300px;
    }
}

.content h2 {
    color: #6cb6f7;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content li {
    color: #e0e6ed;
    margin-bottom: 8px;
    line-height: 1.5;
}

.case-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #23272f 0%, #2a2f3a 100%);
    border-radius: 12px;
    border: 1px solid #313543;
}

.case-navigation a {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
    color: #e0e6ed;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #4a5568;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.case-navigation a:hover {
    background: linear-gradient(135deg, #718096 0%, #a0aec0 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    color: #23272f;
}

.case-study {
    position: relative;
    margin: 50px 0;
    padding: 30px;
    background: linear-gradient(135deg, #23272f 0%, #2a2f3a 100%);
    border-radius: 12px;
    border: 1px solid #313543;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6cb6f7 0%, #4a90e2 50%, #6cb6f7 100%);
}

.case-study::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #6cb6f7 50%, transparent 100%);
    opacity: 0.6;
}

.case-study h2 {
    color: #6cb6f7;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.case-study h3 {
    color: #e0e6ed;
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid #313543;
    padding-bottom: 8px;
}

.case-study p {
    color: #a0aec0;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

.case-study .films-list {
    color: #4a90e2;
    font-weight: 600;
    font-style: italic;
    background: rgba(108, 182, 247, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #6cb6f7;
    margin: 15px 0;
}

.case-study ul {
    color: #a0aec0;
    margin: 20px 0;
    padding-left: 25px;
    background: rgba(160, 174, 192, 0.05);
    padding: 15px 20px;
    border-radius: 8px;
    border: 1px solid #313543;
}

.case-study li {
    margin-bottom: 10px;
    line-height: 1.6;
    position: relative;
    padding-left: 10px;
}

.case-study li::before {
    content: '▶';
    color: #6cb6f7;
    font-size: 0.8em;
    position: absolute;
    left: -15px;
    top: 2px;
}

footer {
    text-align: right;
    margin: 40px 20px 20px;
    padding: 20px;
    border-top: 1px solid #313543;
    background-color: #23272f;
    color: #e0e6ed;
    font-size: 0.9em;
}
.sidebar nav {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}
.sidebar a {
    color: #e0e6ed;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.sidebar a:hover {
    background: #313543;
    color: #6cb6f7;
}
.main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}
.content {
    background: #23272f;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(27,31,35,0.18);
    padding: 32px 36px;
    max-width: 1200px;
    width: 100%;
}
h1 {
    font-size: 2rem;
    margin-bottom: 18px;
    font-weight: 700;
    color: #6cb6f7;
}
p {
    font-size: 1.05rem;
    margin-bottom: 16px;
    color: #c9d1d9;
}
.meta {
    font-size: 0.95rem;
    color: #8ca0b6;
    margin-bottom: 24px;
}
.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.chart-item {
    text-align: center;
    flex: 1 1 300px;
    max-width: 300px;
}
.chart-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #6cb6f7;
}
.details-btn {
    background: #6cb6f7;
    color: #23272f;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}
.details-btn:hover {
    background: #4a90e2;
}
.detail-row, .sonido-row {
    background: #2a2f3a;
}
.detail-content {
    padding: 10px;
    white-space: pre-wrap;
    font-size: 0.85rem;
    color: #e0e6ed;
}
