/* Static Editable Table Styles */
.static-editable-table {
    width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.static-table-row {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 15px;
    min-height: 60px;
}

.static-table-row:last-of-type {
    border-bottom: none;
}

.static-table-header {
    background-color: #5A4B7C;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.static-table-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.static-table-body {
    background-color: #F8F8F8;
    color: #5A4B7C;
    font-size: 14px;
    border-bottom: 1px solid #E5E5E5;
}

.static-table-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.time-cell {
    flex: 0 0 160px;
    font-weight: 500;
}

.location-cell {
    flex: 1;
    font-weight: 500;
}

.time-icon,
.location-icon {
    font-size: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.time-text,
.location-text {
    line-height: 1.4;
}

.static-table-title {
    padding: 20px 20px 0;
    background-color: #F8F8F8;
    border-bottom: 1px solid #E5E5E5;
}

.static-table-title h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    color: #5A4B7C;
    line-height: 1.3;
}

.static-table-description {
    padding: 20px;
    background-color: #F8F8F8;
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.static-table-description p {
    margin: 0;
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {
    .static-table-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px;
    }
    
    .time-cell,
    .location-cell {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .static-table-title {
        padding: 15px;
    }
    
    .static-table-title h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .static-table-description {
        padding: 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .static-editable-table {
        margin: 0 10px;
        border-radius: 8px;
    }
    
    .static-table-row {
        padding: 12px;
        min-height: auto;
    }
    
    .time-icon,
    .location-icon {
        font-size: 14px;
    }
    
    .static-table-header,
    .static-table-body {
        font-size: 13px;
    }
    
    .static-table-title h3 {
        font-size: 18px;
    }
}

/* Hover effects */
.static-table-body:hover {
    background-color: #F0F0F0;
    transition: background-color 0.3s ease;
}

/* Print styles */
@media print {
    .static-editable-table {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .static-table-header {
        background-color: #5A4B7C !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

/* Custom scrollbar for descriptions */
.static-table-description::-webkit-scrollbar {
    width: 6px;
}

.static-table-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.static-table-description::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.static-table-description::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Accessibility improvements */
.static-table-row:focus-within {
    outline: 2px solid #5A4B7C;
    outline-offset: -2px;
}

.static-table-cell[tabindex="0"]:focus {
    outline: 1px dotted #5A4B7C;
    outline-offset: 2px;
}