/* Schedule Plugin Styles - Print Accurate Version */
:root {
    --scbz-primary: #1e3a2b;
    /* Dark Green */
    --scbz-text-dark: #1c4a32;
    --scbz-grid-line: #d1d1d1;
    --scbz-bg: #F7F2EB;
    --scbz-tab-bg: #1e3a2b;

    --scbz-tab-fg: #ffffff;
    --scbz-font: 'Inter', sans-serif;

    /* Stage Colors */
    --scbz-stg-aquarium: #3b4969;
    --scbz-stg-auditorio: #1e3a2b;
    --scbz-stg-startup: #b33d8a;
    --scbz-stg-up: #6d6d6d;
}

.scbz-schedule-wrapper {
    font-family: var(--scbz-font);
    width: 100%;
    margin-bottom: 0px;
    color: #333;
    background-color: var(--scbz-bg);
}

.scbz-schedule-header {
    background-color: #1e3a2b;
    padding: 60px 0;
    margin-bottom: 40px;
}

.scbz-header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.scbz-main-title {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.scbz-header-decoration {
    flex: 1;
    margin-left: 150px;
    margin-top: 20px;
    position: relative;
}

.scbz-line-vertical {
    width: 2px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0px;
}

.scbz-line-horizontal {
    width: 100%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
}

.scbz-day-title {
    text-align: center;
    color: #3c5a3e;
    font-size: 2rem;
    font-weight: 700;
    margin: 30px 0;
}

/* Tabs - refined to be subtle */
.scbz-schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.scbz-tab-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    color: #555;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scbz-tab-btn.active {
    background-color: var(--scbz-primary);
    color: #fff;
    border-color: var(--scbz-primary);
}

.scbz-tab-panel {
    display: none;
    animation: scbzFadeIn 0.3s ease;
}

.scbz-tab-panel.active {
    display: block;
}

@keyframes scbzFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.scbz-grid-container {
    background-color: #F7F2EB;
    padding: 30px 40px;
    border-radius: 4px;
    margin: 0 auto;
    max-width: 1440px;
}

/* Grid Layout Desktop */
.scbz-grid-desktop {
    display: flex;
    flex-direction: column;
}

.scbz-grid-stages {
    display: flex;
    margin-bottom: 5px;
}

.scbz-stage-time-hdr {
    width: 120px;
    flex-shrink: 0;
}

.scbz-stage-heading {
    flex: 1;
    background-color: #666;
    color: #fff;
    text-align: center;
    padding: 15px 5px;
    margin: 0 5px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Color overrides for stages based on slug (need to ensure slugs match these classes) */
.scbz-stage-heading.stg-aquarium-stage {
    background-color: var(--scbz-stg-aquarium);
}

.scbz-stage-heading.stg-auditorio-cdi {
    background-color: var(--scbz-stg-auditorio);
}

.scbz-stage-heading.stg-startup-stage {
    background-color: var(--scbz-stg-startup);
}

.scbz-stage-heading.stg-up-stage {
    background-color: var(--scbz-stg-up);
}

.scbz-grid-body {
    display: flex;
    position: relative;
    padding-top: 10px;
}

/* Times Timeline */
.scbz-grid-times {
    width: 120px;
    flex-shrink: 0;
    display: grid;
    grid-template-rows: repeat(var(--total-rows), minmax(80px, auto));
    padding-right: 15px;
}

.scbz-time-row-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.scbz-time-text {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Events Area */
.scbz-grid-events-wrapper {
    flex: 1;
    display: grid;
    grid-template-rows: repeat(var(--total-rows), minmax(80px, auto));
    grid-template-columns: repeat(var(--total-stages), 1fr);
    column-gap: 10px;
    position: relative;
}

.scbz-grid-line {
    grid-column: 1 / -1;
    border-top: 1px dashed var(--scbz-grid-line);
    z-index: 1;
    height: 0;
    pointer-events: none;
}

/* Individual event cards */
.scbz-event-card {
    background-color: #ffffff;
    border: none;
    padding: 15px 20px;
    z-index: 2;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 5px;
}

a.scbz-event-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.scbz-event-inner {
    width: 100%;
}

.scbz-event-title {
    margin: 0 0 8px 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--scbz-text-dark);
}

.scbz-event-time {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

/* Specialized styling for certain event types if needed */
.scbz-event-card.stg-all {
    /* Like Credenciamento */
    justify-content: center;
    text-align: left;
}

/* Mobile Layout - Simplified */
.scbz-list-mobile {
    display: none;
}

@media (max-width: 900px) {
    .scbz-grid-desktop {
        display: none;
    }

    .scbz-day-title {
        font-size: 1.5rem;
    }

    .scbz-list-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .scbz-mob-card {
        display: block;
        background: #fff;
        border: 1px solid #eee;
        padding: 20px;
        border-radius: 8px;
        text-decoration: none;
        color: #333;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .scbz-mob-time {
        color: var(--scbz-primary);
        font-weight: 700;
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    .scbz-mob-title {
        margin: 0 0 10px 0;
        font-size: 1.1rem;
        color: var(--scbz-text-dark);
    }

    .scbz-mob-stage {
        font-size: 0.8rem;
        color: #777;
        font-style: italic;
    }
}