/**
 * EventHex WordPress Connector - Sessions Widget Styles
 * Version: 2.0.0
 */

/* ================================
   SESSIONS WIDGET STYLES
================================ */

/* Container Styles */
.eventhex-sessions-container {
    width: 100%;
}

/* Filter Styles */
.eventhex-session-filters {
    margin-bottom: 24px;
    padding: 20px;
    background: #f7fafc;
    border-radius: 12px;
}

.eventhex-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
}

.eventhex-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eventhex-session-filter-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eventhex-session-filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
}

.eventhex-session-filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #ffffff;
}

/* Wrapper - Grid Layout */
.eventhex-sessions-wrapper.eventhex-sessions-grid {
    display: grid;
    gap: 24px;
}

.eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Wrapper - List Layout */
.eventhex-sessions-wrapper.eventhex-sessions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Base Session Item Styles */
.eventhex-session-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

.eventhex-session-content {
    flex: 1;
}

.eventhex-session-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f7fafc;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 12px;
    width: fit-content;
    max-width: max-content;
}

.eventhex-session-time i {
    font-size: 16px;
}

.eventhex-session-type {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    margin-bottom: 12px;
    margin-left: 8px;
}

.eventhex-session-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.eventhex-session-description {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 16px;
}

.eventhex-session-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #718096;
    margin-top: 12px;
}

.eventhex-session-location i {
    color: #667eea;
}

.eventhex-session-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.eventhex-speakers-label {
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    margin-bottom: 8px;
}

.eventhex-speakers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.eventhex-session-speaker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eventhex-speaker-photo {
    flex-shrink: 0;
}

.eventhex-speaker-photo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.eventhex-speaker-name {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

.eventhex-speaker-designation {
    font-size: 12px;
    color: #718096;
}

/* Hover Animations */
.eventhex-hover-lift .eventhex-session-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e0;
}

.eventhex-hover-glow .eventhex-session-item:hover {
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.eventhex-hover-border .eventhex-session-item:hover {
    border-color: #667eea;
    border-width: 2px;
}

/* ================================
   DESIGN STYLE: TIMELINE
================================ */
.eventhex-session-design-timeline .eventhex-sessions-wrapper {
    position: relative;
    padding-left: 40px;
}

.eventhex-session-design-timeline .eventhex-sessions-wrapper::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #667eea 0%, #764ba2 100%);
}

.eventhex-session-design-timeline .eventhex-session-item {
    position: relative;
    margin-bottom: 32px;
    flex-direction: column;
}

.eventhex-session-design-timeline .eventhex-session-time::after {
    content: '';
    position: absolute;
    left: -32px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #667eea;
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #e2e8f0;
}

.eventhex-session-design-timeline .eventhex-session-time {
    position: relative;
    width: fit-content;
}

/* ================================
   DESIGN STYLE: CARD
================================ */
.eventhex-session-design-card .eventhex-session-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-direction: column;
}

.eventhex-session-design-card .eventhex-session-item:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ================================
   DESIGN STYLE: MINIMAL
================================ */
.eventhex-session-design-minimal .eventhex-session-item {
    border: none;
    border-left: 4px solid #667eea;
    border-radius: 0;
    padding-left: 20px;
    background: transparent;
    flex-direction: column;
}

.eventhex-session-design-minimal .eventhex-session-item:hover {
    border-left-color: #764ba2;
    background: #f7fafc;
}

.eventhex-session-design-minimal .eventhex-session-time {
    background: transparent;
    padding: 0;
    margin-bottom: 8px;
    width: fit-content;
}

/* ================================
   DESIGN STYLE: MODERN (Like EventHex)
================================ */
.eventhex-session-design-modern .eventhex-session-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    flex-direction: column;
}

.eventhex-session-design-modern .eventhex-session-title {
    color: #ffffff;
    font-size: 22px;
}

.eventhex-session-design-modern .eventhex-session-description {
    color: rgba(255, 255, 255, 0.9);
}

.eventhex-session-design-modern .eventhex-session-time {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.eventhex-session-design-modern .eventhex-session-type {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    backdrop-filter: blur(10px);
    width: fit-content;
}

.eventhex-session-design-modern .eventhex-session-location {
    color: rgba(255, 255, 255, 0.85);
}

.eventhex-session-design-modern .eventhex-session-location i {
    color: #ffffff;
}

.eventhex-session-design-modern .eventhex-session-speakers {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.eventhex-session-design-modern .eventhex-speakers-label {
    color: rgba(255, 255, 255, 0.85);
}

.eventhex-session-design-modern .eventhex-speaker-name {
    color: #ffffff;
}

.eventhex-session-design-modern .eventhex-speaker-designation {
    color: rgba(255, 255, 255, 0.8);
}

.eventhex-session-design-modern .eventhex-speaker-photo img {
    border-color: rgba(255, 255, 255, 0.3);
}

.eventhex-session-design-modern .eventhex-session-item:hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-tablet-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-tablet-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .eventhex-sessions-wrapper.eventhex-sessions-grid {
        grid-template-columns: 1fr;
    }
    
    .eventhex-sessions-wrapper.eventhex-sessions-grid.eventhex-columns-mobile-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .eventhex-session-item {
        padding: 20px;
        flex-direction: column;
    }
    
    .eventhex-session-title {
        font-size: 18px;
    }
    
    .eventhex-session-description {
        font-size: 13px;
    }
    
    .eventhex-session-design-timeline .eventhex-sessions-wrapper {
        padding-left: 30px;
    }
    
    .eventhex-session-design-timeline .eventhex-session-time::after {
        left: -26px;
    }
    
    .eventhex-filter-buttons {
        flex-direction: column;
    }
    
    .eventhex-session-filter-btn {
        width: 100%;
        text-align: center;
    }
}
