/* Schedule Tabs Styling */
.schedule-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
}

.schedule-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(192, 38, 50, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 51, 102, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.schedule-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.schedule-header .eyebrow {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.schedule-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #c0c0c0 0%, #e6e6e6 50%, #a9a9a9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 10px;
}

/* Day Tabs Navigation */
.day-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.day-tab-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.day-tab-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(9, 51, 102, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.day-tab-btn:hover {
    border-color: #add8ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(173, 216, 255, 0.3);
}

.day-tab-btn:hover::before {
    width: 300px;
    height: 300px;
}

.day-tab-btn.active {
    background: linear-gradient(135deg, #996633 0%, #cc9966 40%, #ffcc99 100%);
    border-color: #cc9966;
    box-shadow: 0 5px 20px rgba(204, 153, 102, 0.5);
}

.day-tab-btn .day-number {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 3px;
}

/* Tab Content */
.day-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.day-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Day Info Header */
.day-info-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.day-info-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.day-info-header .date {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Three Column Track Layout */
.schedule-tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.schedule-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.schedule-track:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.track-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.track-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #c0c0c0 0%, #e6e6e6 50%, #a9a9a9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.track-subtitle {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
}

/* Track Color Accents */
.schedule-track.track-budzet .track-header {
    border-bottom-color: #7fffd4;
}

.schedule-track.track-fiskalni .track-header {
    border-bottom-color: #ff9999;
}

.schedule-track.track-kadrovski .track-header {
    border-bottom-color: #add8ff;
}

/* Session time colors per track */
.schedule-track.track-budzet .session-item:not(.break) .session-time {
    color: #7fffd4;
}

.schedule-track.track-fiskalni .session-item:not(.break) .session-time {
    color: #ff9999;
}

.schedule-track.track-kadrovski .session-item:not(.break) .session-time {
    color: #add8ff;
}

/* Session Item */
.session-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.session-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(5px);
}

.session-item.break {
    background: rgba(192, 38, 50, 0.1);
    border-left-color: #c02632;
    text-align: center;
}

.session-item.break .session-time {
    color: #c02632;
    justify-content: center;
}

.session-item.sponsor {
    background: rgba(255, 165, 0, 0.15);
    border-left-color: #ff8c00;
    text-align: left;
}

.session-item.sponsor .session-time {
    color: #ffa500;
    justify-content: flex-start;
}

.session-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: white;
}

.session-time i {
    font-size: 0.85rem;
}

.session-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.session-speaker {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-style: italic;
    transition: color 0.3s ease;
}

.session-speaker[data-bs-toggle="tooltip"] {
    cursor: help;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}

.session-speaker[data-bs-toggle="tooltip"]:hover {
    color: rgba(255, 255, 255, 0.9);
}

.session-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 5px;
}

/* Special Sessions */
.session-item.arrival {
    background: rgba(127, 255, 212, 0.1);
    border-left-color: #7fffd4;
}

/* Download PDF Button */
.schedule-download {
    text-align: center;
    margin-top: 50px;
}

.btn-download-schedule {
    background: linear-gradient(135deg, #c0c0c0 0%, #d9d9d9 35%, #e6e6e6 50%, #a9a9a9 75%, #d9d9d9 100%);
    border: none;
    color: #1a1a2e;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-download-schedule:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
    color: #000;
}

.btn-download-schedule i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .schedule-tracks {
        grid-template-columns: 1fr;
    }
    
    .schedule-track {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .schedule-header h2 {
        font-size: 2rem;
    }
    
    .day-tabs-nav {
        gap: 10px;
    }
    
    .day-tab-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .track-title {
        font-size: 1.1rem;
    }
    
    .session-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .schedule-section {
        padding: 50px 0;
    }
    
    .day-tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .day-tab-btn {
        width: 100%;
    }
}

/* Custom Bootstrap Tooltip Styling */
.tooltip {
    font-size: 0.875rem;
}

.tooltip .tooltip-inner {
    background-color: #003366;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    max-width: 300px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip .tooltip-arrow::before {
    border-top-color: #003366 !important;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #003366;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #003366;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: #003366;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before,
.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #003366;
}
