/**
 * Prelekcje Plugin Styles
 * Based on Figma designs
 */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&family=Open+Sans:wght@400;600;700&display=swap');

/* === Base Styles === */
.prelekcje-prelegenci-wrapper,
.prelekcje-agenda-wrapper,
.prelekcje-single-wrapper {
    font-family: 'Open Sans', sans-serif;
    background-color: transparent;
    color: #ffffff;
    padding: 48px 0;
}

/* === Section Headers === */
.prelekcje-section-header {
    margin-bottom: 48px;
}

.prelekcje-section-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    letter-spacing: -0.9333px;
}

/* === Prelegenci Grid === */
.prelekcje-prelegenci-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    max-width: 1170px;
    margin: 0 auto;
}

.prelekcje-prelegenci-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.prelekcje-prelegenci-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.prelekcje-prelegenci-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.prelekcje-prelegent-card {
    position: relative;
    background: transparent;
    border-radius: 0px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.prelekcje-prelegent-card:hover {
    transform: translateY(-4px);
}

.prelekcje-prelegent-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #0077da;
    color: #ffffff;
    border-radius: 16px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.prelekcje-prelegent-badge i {
    font-size: 12px;
}

.prelekcje-prelegent-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0px;
    overflow: hidden;
    background: #d9d9d9;
    position: relative;
    background-color: transparent;
}
.prelekcje-prelegent-image img {
    border-radius: 16px;
}

.prelekcje-prelegent-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    max-width: none;
}

.prelekcje-prelegent-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #292d33;
    color: #8e95a3;
    font-size: 64px;
}

.prelekcje-prelegent-info {
    padding: 8px;
}

.prelekcje-prelegent-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.9333px;
}

.prelekcje-prelegent-meta {
    font-size: 16px;
    color: #dde0e9;
    line-height: 1.1;
    word-wrap: break-word;
}

.prelekcje-meta-separator {
    color: #8e95a3;
}

/* === Agenda/Prelekcje Styles === */
.prelekcje-agenda-wrapper {
    max-width: 1170px;
    margin: 0 auto;
    padding: 48px 24px;
    overflow: visible; /* Required for sticky to work */
}

.prelekcje-filters {
    margin-bottom: 48px;
}

.prelekcje-filters-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.9333px;
}

.prelekcje-filters-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.prelekcje-filter-btn {
    background: #292d33;
    border: 1px solid #525a66;
    color: #dde0e9;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prelekcje-filter-btn:hover,
.prelekcje-filter-btn.active {
    background: #0077da;
    border-color: #0077da;
    color: #ffffff;
}

/* Sticky Sala Navigation */
.prelekcje-sala-nav-wrapper {
    background: #292d33;
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid #525a66;
    border-radius: 16px;
    transition: box-shadow 0.3s ease, border-radius 0.3s ease;
}

.prelekcje-sala-nav-wrapper.is-fixed {
    position: fixed;
    top: 108px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    border-top: 1px solid #292d33;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.prelekcje-sala-nav-placeholder {
    display: none;
}

.prelekcje-sala-nav-placeholder.is-active {
    display: block;
}

.prelekcje-sala-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.prelekcje-sala-nav-btn {
    background: #292d33;
    border: 1px solid #525a66;
    color: #dde0e9;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.prelekcje-sala-nav-btn:hover {
    background: #3a3f47;
    border-color: #6a7280;
}

.prelekcje-sala-nav-btn.active {
    background: #0077da;
    border-color: #0077da;
    color: #ffffff;
}

/* Sala Section */
.prelekcje-sala-section {
    margin-bottom: 32px;
    scroll-margin-top: 160px; /* Header + sticky nav offset */
}

.prelekcje-sala-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: #0077da;
    border-radius: 8px;
    margin-bottom: 16px;
}

.prelekcje-sala-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.9333px;
}

.prelekcje-sala-capacity {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dde0e9;
    font-size: 14px;
}

.prelekcje-sala-items {
    background: #292d33;
    border: 1px solid #525a66;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Prelekcja Item */
.prelekcje-item {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 8px;
    border-bottom: 1px solid #525a66;
}

.prelekcje-item:last-child {
    border-bottom: none;
}

.prelekcje-item-logo {
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prelekcje-logo-img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

.prelekcje-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #525a66;
    border-radius: 8px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.prelekcje-item-time {
    font-size: 16px;
    color: #dde0e9;
    min-width: 130px;
    width: 130px;
    text-align: right;
    flex-shrink: 0;
    white-space: nowrap;
}

.prelekcje-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prelekcje-item-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.prelekcje-item-title {
    font-size: 16px;
    color: #dde0e9;
    margin: 0;
    font-weight: 400;
}

.prelekcje-title-link {
    color: #dde0e9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prelekcje-title-link:hover {
    color: #0077da;
    text-decoration: none;
}

.prelekcje-item-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.prelekcje-tag {
    background: #525a66;
    color: #dde0e9;
    padding: 2px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 23px;
    white-space: nowrap;
}

.prelekcje-item-action {
    flex-shrink: 0;
}

.prelekcje-add-btn {
    background: #292d33;
    border: 1px solid #525a66;
    color: #dde0e9;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    line-height: 20px;
}

.prelekcje-add-btn:hover {
    background: #0077da;
    border-color: #0077da;
    color: #ffffff;
}

.prelekcje-add-btn i {
    font-size: 12px;
}

/* === Single Prelekcja Styles === */
.prelekcje-single-page-wrapper {
    background: linear-gradient(180deg, #002b4d 0%, #001929 25%, #121212 60%, #121212 100%);
    padding: 0;
    position: relative;
}

/* Tło z teksturą (background pattern) */
.prelekcje-single-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAzMCIgaGVpZ2h0PSIxMDMwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzPjxwYXR0ZXJuIGlkPSJncmlkIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxwYXRoIGQ9Ik0gNDAgMCBMIDAgMCAwIDQwIiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    background-size: 1030px 1030px;
    background-repeat: repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.prelekcje-single-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 140px 24px 72px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.prelekcje-single-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.prelekcje-single-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.9333px;
}

.prelekcje-calendar-btn {
    background: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    line-height: 20px;
    flex-shrink: 0;
}

.prelekcje-calendar-btn:hover {
    background: #0077da;
    border-color: #0077da;
}

.prelekcje-single-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.prelekcje-single-tag-badge {
    background: #525a66;
    color: #dde0e9;
    padding: 2px 12px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    line-height: 23px;
}

.prelekcje-single-meta-separator {
    width: 1px;
    height: 27px;
    background: #525a66;
}

.prelekcje-single-time-sala {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prelekcje-single-time,
.prelekcje-single-sala {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.9333px;
}

.prelekcje-single-meta-separator-inline {
    width: 1px;
    height: 27px;
    background: #525a66;
}

.prelekcje-single-description {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 32px;
}

.prelekcje-single-description p {
    margin: 0 0 16px 0;
}

/* Speaker Cards in Single View */
.prelekcje-single-speakers {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.prelekcje-speaker-card {
    background: #292d33;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.prelekcje-speaker-image {
    width: 168px;
    height: 165px;
    flex-shrink: 0;
    border-radius: 8.587px;
    overflow: hidden;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prelekcje-speaker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prelekcje-speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #525a66;
    color: #8e95a3;
    font-size: 48px;
}

.prelekcje-speaker-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prelekcje-speaker-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.9333px;
}

.prelekcje-speaker-position {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #dde0e9;
    letter-spacing: -0.9333px;
}

.prelekcje-speaker-bio {
    font-size: 16px;
    color: #b5bbc6;
    line-height: 1.5;
    margin: 16px 0 8px 0;
}

.prelekcje-speaker-bio p {
    margin: 0 0 8px 0;
}

.prelekcje-speaker-bio p:last-child {
    margin-bottom: 0;
}

.prelekcje-speaker-social {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.prelekcje-linkedin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #dde0e9;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.prelekcje-linkedin-link:hover {
    color: #0077da;
}

.prelekcje-linkedin-link i {
    color: #8e95a3;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .prelekcje-prelegenci-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .prelekcje-prelegenci-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .prelekcje-single-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    /* Tablet: only show icon in button */
    .prelekcje-add-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }
    
    .prelekcje-add-btn span {
        display: none;
    }
}

@media (max-width: 530px) {
    .prelekcje-speaker-card {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .prelekcje-prelegenci-grid {
        grid-template-columns: 1fr;
    }
    
    .prelekcje-section-title,
    .prelekcje-single-title {
        font-size: 32px;
    }
    
    /* Mobile layout for prelekcje items */
    .prelekcje-item {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo time action"
            "content content content";
        gap: 8px 12px;
        align-items: center;
    }
    
    .prelekcje-item-logo {
        grid-area: logo;
    }
    
    .prelekcje-item-time {
        grid-area: time;
        text-align: right;
        min-width: unset;
        font-size: 14px;
    }
    
    .prelekcje-item-action {
        grid-area: action;
    }
    
    .prelekcje-item-content {
        grid-area: content;
    }
    
    .prelekcje-sala-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .prelekcje-agenda-wrapper {
        padding: 32px 16px;
    }
    
    .prelekcje-sala-nav-wrapper {
        padding: 12px 0;
    }
    
    .prelekcje-sala-nav-wrapper.is-fixed {
        top: 101px;
    }
    
    .prelekcje-sala-nav {
        gap: 6px;
    }
    
    .prelekcje-sala-nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .prelekcje-single-wrapper {
        padding: 140px 16px 32px;
    }
    
    .prelekcje-single-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prelekcje-single-meta-separator {
        display: none;
    }
}

/* === Prelegenci Slider === */
.prelekcje-prelegenci-slider-wrapper {
    font-family: 'Open Sans', sans-serif;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 0;
    overflow-x: hidden;
    overflow-y: visible;
}

.prelekcje-prelegenci-slider {
    position: relative;
    width: 100%;
    overflow: visible;
    margin: 0 auto;
}

.prelekcje-prelegenci-slider-track {
    display: flex;
    gap: 24px;
    will-change: transform;
}

.prelekcje-slider-card {
    flex: 0 0 240px;
    width: 240px;
}

/* Slider specific styles for images */
.prelekcje-slider-card .prelekcje-prelegent-image {
    width: 240px;
    height: 240px;
    background-color: transparent;
}

/* Slider specific styles for name */
.prelekcje-slider-card .prelekcje-prelegent-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0px;
}

/* Slider specific styles for meta (firma, stanowisko) */
.prelekcje-slider-card .prelekcje-prelegent-firma,
.prelekcje-slider-card .prelekcje-prelegent-stanowisko {
    font-size: 16px;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .prelekcje-slider-card {
        flex: 0 0 240px;
        width: 240px;
    }
    
    .prelekcje-slider-card .prelekcje-prelegent-image {
        width: 240px;
        height: 240px;
        background-color: transparent;
    }
}

/* === Prelegent Modal === */
.prelegent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prelegent-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.prelegent-modal-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 3;
    pointer-events: none;
}

.prelegent-modal-nav-btn {
    background: var(--general-surface, #34383e);
    border: 1px solid var(--general-border, #525a66);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-center;
    color: var(--general-text-color-gray-dark, #dde0e9);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
}

.prelegent-modal-nav-btn:hover:not(.disabled) {
    background: #3f444a;
    transform: scale(1.05);
}

.prelegent-modal-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.prelegent-modal-content {
    position: relative;
    background: var(--general-background, #292d33);
    border-radius: 24px;
    padding: 24px;
    width: 1000px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
}

.prelegent-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--general-surface, #34383e);
    border: 1px solid var(--general-border, #525a66);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--general-text-color-gray-dark, #dde0e9);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.prelegent-modal-close:hover {
    background: #3f444a;
    transform: scale(1.05);
}

.prelegent-modal-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.prelegent-modal-header {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.prelegent-modal-photo-wrapper {
    width: 168px;
    height: 168px;
    border-radius: 8.587px;
    overflow: hidden;
    flex-shrink: 0;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prelegent-modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prelegent-modal-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #8e95a3;
}

.prelegent-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prelegent-modal-name {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--general-header-text-color, #ffffff);
    margin: 0;
    letter-spacing: -0.9333px;
    line-height: normal;
}

.prelegent-modal-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.prelegent-modal-firma,
.prelegent-modal-stanowisko {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--general-text-color-gray-dark, #dde0e9);
    letter-spacing: -0.9333px;
}

.prelegent-modal-separator {
    width: 0;
    height: 25px;
    border-left: 1px solid rgba(142, 149, 163, 1);
    margin: 0 4px;
}

.prelegent-modal-bio {
    margin-top: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--general-text-color-middle-gray-middle, #b5bbc6);
    letter-spacing: -0.9333px;
    line-height: 1.5;
}

.prelegent-modal-bio p {
    margin: 0 0 12px 0;
}

.prelegent-modal-bio p:last-child {
    margin-bottom: 0;
}

.prelegent-modal-linkedin {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.prelegent-modal-linkedin i {
    color: var(--general-text-color-icon, #8e95a3);
    font-size: 16px;
}

.prelegent-modal-linkedin a {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--general-text-color-gray-dark, #dde0e9);
    text-decoration: none;
}

.prelegent-modal-linkedin a:hover {
    color: var(--primary-default, #0077da);
}

.prelegent-modal-prelekcje {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prelegent-modal-prelekcje-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--general-header-text-color, #ffffff);
    margin: 0;
    letter-spacing: -0.9333px;
}

.prelegent-modal-prelekcje-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prelegent-modal-prelekcja-item {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--general-border, #525a66);
}

.prelegent-modal-prelekcja-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.prelegent-modal-prelekcja-time {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--general-text-color-gray-dark, #dde0e9);
    text-align: right;
    letter-spacing: -0.9333px;
    white-space: nowrap;
    min-width: 60px;
}

.prelegent-modal-prelekcja-divider {
    width: 0;
    height: 51px;
    border-left: 2px solid var(--primary-default, #0077da);
    align-self: center;
}

.prelegent-modal-prelekcja-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prelegent-modal-prelekcja-title-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.prelegent-modal-prelekcja-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--general-header-text-color, #ffffff);
    margin: 0;
    letter-spacing: -0.9333px;
    text-align: left;
}

.prelegent-modal-prelekcja-tags {
    display: flex;
    gap: 4px;
    align-items: center;
}

.prelegent-modal-tag {
    background: var(--general-border, #525a66);
    padding: 2px 12px;
    border-radius: 3px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--general-text-color-gray-dark, #dde0e9);
    white-space: nowrap;
}

.prelegent-modal-prelekcja-sala {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--primary-default, #0077da);
    letter-spacing: -0.9333px;
    text-align: left;
}

.prelegent-modal-prelekcja-action {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prelegent-modal-add-btn {
    background: var(--general-background, #292d33);
    border: 1px solid var(--general-border, #525a66);
    border-radius: 40px;
    padding: 6px 16px;
    height: 32px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: var(--general-text-color-gray-dark, #dde0e9);
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prelegent-modal-add-btn:hover {
    background: #34383e;
    border-color: #0077da;
    color: #ffffff;
}

.prelegent-modal-add-btn i {
    font-size: 12px;
}

.prelegent-modal-loading {
    text-align: center;
    padding: 40px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: var(--general-text-color-gray-dark, #dde0e9);
}

.prelegent-modal-loading i {
    font-size: 24px;
    margin-right: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .prelegent-modal-content {
        width: 90vw;
        max-height: 80vh;
        padding: 16px;
    }
    
    .prelegent-modal-header {
        flex-direction: column;
        align-items: center;
    }
    
    .prelegent-modal-photo-wrapper {
        width: 150px;
        height: 150px;
    }
    
    .prelegent-modal-prelekcja-item {
        flex-wrap: wrap;
    }
    
    .prelegent-modal-navigation {
        padding: 0 16px;
    }
}

