.vitalist-schedule {
    --primary-color: #C0D3A5;
    --background-color: #ffffff;
    --card-background: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #000000;
    
    /* Label Colors */
    --talk-bg: #8CEBF4;  /* Teal */
    --talk-border: #8CEBF4;
    --talk-text: #000000;
    --activity-bg: #C0D3A5;  /* Green */
    --activity-border: #C0D3A5;
    --activity-text: #000000;
    --break-bg: #F34AC9;  /* Pink */
    --break-border: #F34AC9;
    --break-text: #000000;
    --networking-bg: #969BFD;  /* Purple */
    --networking-border: #969BFD;
    --networking-text: #000000;
    --social-bg: #FCD18B;  /* Peach */
    --social-border: #FCD18B;
    --social-text: #000000;
    --pitch-bg: #FF913C;  /* Orange */
    --pitch-border: #FF913C;
    --pitch-text: #000000;
}

.vitalist-schedule * {
    box-sizing: border-box;
    font-family: 'Switzer', sans-serif;
}

.vitalist-schedule {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    padding: 0;
}

.vitalist-schedule .schedule-container {
    margin: 0;
    max-width: none;
}

.vitalist-schedule .time-group {
    position: relative;
    padding-left: 0;
}

.vitalist-schedule .time-marker {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    padding: 12px 0;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 1.2em;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    z-index: 2;
}

.vitalist-schedule .event-card {
    background: var(--card-background);
    border-radius: 2px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    border: 1px solid #000000;
}

.vitalist-schedule .event-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vitalist-schedule .event-type {
    margin-right: 8px;
    font-size: 0.8em;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #FCD18B;
    color: #000;
}

.vitalist-schedule .event-location {
    font-size: 0.9em;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vitalist-schedule .location-icon {
    width: 16px;
    height: 16px;
}

.vitalist-schedule .event-content {
    margin-top: 12px;
}

.vitalist-schedule .event-title-location {
    display: flex;
    align-items: center;
}

.vitalist-schedule .event-title {
    font-weight: 500;
    font-size: 1.1em;
    margin: 0;
}

.vitalist-schedule .speaker {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    align-items: center;
    margin-top: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 0px;
    transition: background-color 0.2s ease;
    position: relative;
}

.vitalist-schedule .speaker:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.vitalist-schedule .speaker::after {
    content: "View Bio →";
    font-size: 0.85em;
    color: var(--text-secondary);
    align-self: center;
    padding: 6px 12px;
    border: 1px solid var(--text-secondary);
    border-radius: 0px;
    transition: all 0.2s ease;
}

.vitalist-schedule .speaker:hover::after {
    background-color: var(--text-primary);
    color: white;
    border-color: var(--text-primary);
}

.vitalist-schedule .speaker-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--border-color);
    overflow: hidden;
    position: relative;
}

.vitalist-schedule .speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vitalist-schedule .speaker-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* aligns both name and title to the left */
    gap: 4px; /* controls spacing between name and title */
}

.vitalist-schedule .speaker-name {
    font-weight: 500;
    color: #000000;
}

.vitalist-schedule .speaker-title {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.vitalist-schedule .social-links {
    display: flex;
    gap: 8px;
}

.vitalist-schedule .social-icon {
    width: 20px;
    height: 20px;
    color: #000000;
    background: white;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vitalist-schedule .social-icon.x-icon {
    background: #000000;
    color: #FFFFFF;
    border-radius: 0;
}

.vitalist-schedule .schedule-table-container {
    display: none;
}

.vitalist-schedule .schedule-cards-container {
    display: block;
}

.vitalist-schedule .schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.vitalist-schedule .schedule-table th {
    background-color: var(--background-color);
    border-bottom: 2px solid var(--border-color);
    padding: 12px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
}

.vitalist-schedule .schedule-table .time-cell {
    font-weight: 500;
    padding: 16px 12px;
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
    vertical-align: top;
    width: 100px;
    background-color: var(--background-color);
    position: sticky;
    left: 0;
    z-index: 5;
}

.vitalist-schedule .schedule-table td {
    border-bottom: 1px solid var(--border-color);
    padding: 12px;
    vertical-align: top;
}

.vitalist-schedule .schedule-table .event-container {
    margin-bottom: 16px;
}

.vitalist-schedule .schedule-table .event-container:last-child {
    margin-bottom: 0;
}

.vitalist-schedule .location-header {
    text-align: center;
    font-weight: 500;
    margin-bottom: 12px;
}

.vitalist-schedule-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
}

.vitalist-schedule .speaker-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-background);
    padding: 16px;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000000;
}

.vitalist-schedule .popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
}

.vitalist-schedule .popup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vitalist-schedule .popup-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.vitalist-schedule .popup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.vitalist-schedule .popup-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
}

.vitalist-schedule .popup-info h2 {
    margin: 0;
    font-size: 1.4em;
    color: #000000;
    font-weight: 500;
}

.vitalist-schedule .popup-info .speaker-title {
    font-size: 0.9em;
    color: var(--text-secondary);
}

.vitalist-schedule .popup-bio {
    line-height: 1.6;
    color: #000000 !important;
    font-size: 14px;
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
}

.vitalist-schedule .popup-bio p {
    margin: 0;
    padding: 0;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-family: 'Switzer', sans-serif !important;
    font-weight: 400 !important;
}

/* Label Styles */
.vitalist-schedule .talk-label { background-color: var(--talk-bg); border: 1px solid var(--talk-border); color: var(--talk-text); }
.vitalist-schedule .activity-label { background-color: var(--activity-bg); border: 1px solid var(--activity-border); color: var(--activity-text); }
.vitalist-schedule .break-label { background-color: var(--break-bg); border: 1px solid var(--break-border); color: var(--break-text); }
.vitalist-schedule .networking-label { background-color: var(--networking-bg); border: 1px solid var(--networking-border); color: var(--networking-text); }
.vitalist-schedule .social-label { background-color: var(--social-bg); border: 1px solid var(--social-border); color: var(--social-text); }
.vitalist-schedule .pitch-label { background-color: var(--pitch-bg); border: 1px solid var(--pitch-border); color: var(--pitch-text); }

@media (max-width: 480px) {
    .vitalist-schedule {
        padding: 12px;
    }

    .vitalist-schedule .event-card {
        padding: 12px;
    }

    .vitalist-schedule .speaker {
        grid-template-columns: 48px 1fr;
    }

    .vitalist-schedule .speaker-photo {
        width: 48px;
        height: 48px;
    }

    .vitalist-schedule .speaker::after {
        content: "→";
        padding: 4px 8px;
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width: 1024px) {
    .vitalist-schedule .schedule-table-container {
        display: block;
    }

    .vitalist-schedule .schedule-cards-container {
        display: none;
    }
}

/* Update tab navigation styles */
.vitalist-schedule-tabs {
    padding: 0;
}

.vitalist-schedule-tabs .tab-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    position: sticky;
    top: 0;
    background: white;
    z-index: 20;
    padding: 16px 0 8px 0;
    align-items: flex-start;
}

.vitalist-schedule-tabs .tab-button {
    padding: 8px 16px;
    border: 1px solid black;
    background: white;
    color: black;
    cursor: pointer;
    font-weight: 500;
    min-width: 100px;
    text-align: center;
    transition: all 0.2s ease;
    border-radius: 0;
}

.vitalist-schedule-tabs .tab-button:hover {
    background: rgba(0, 0, 0, 0.05);
}

.vitalist-schedule-tabs .tab-button.active {
    background: black;
    color: white;
    border-color: black;
}

.vitalist-schedule-tabs .tab-pane {
    display: none;
}

.vitalist-schedule-tabs .tab-pane.active {
    display: block;
}

.vitalist-schedule .schedule-table th:first-child,
.vitalist-schedule .schedule-table td:first-child {
    padding-left: 0;
} 
