* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: #f5f5f7;
    padding: 20px;
}

/* Date Navigation styles */
.date-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.date-menu {
    display: flex;
}

.date-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    margin-right: 30px;
    padding: 10px 15px;
    border-radius: 8px;
    color: #718096;
}

.date-item.active {
    font-weight: 600;
    color: #4285f4;
    border-bottom: 2px solid #4285f4;
}

.date-month {
    font-size: 16px;
    color: #4a5568;
}

.date-day {
    font-size: 12px;
    color: #718096;
}

.program-glance {
    background-color: #e9ecef;
    color: #4285f4;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

/* Conference name styles */
.conference-name {
    margin: 30px auto;
    padding: 20px;
    border: 1px dashed #e2e8f0;
    border-radius: 8px;
    max-width: 900px;
}

.conference-name h1 {
    font-size: 26px;
    font-weight: bold;
    color: #1a202c;
}

.card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin: 20px auto;
    max-width: 900px;
    overflow: hidden;
}

.session-badge {
    display: inline-block;
    background-color: #e6f0ff;
    color: #4285f4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.session-badge.online {
  background-color: #2196F3; /* 蓝色背景 */
  color: white;
}

.session-title {
    font-size: 28px;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 600;
}

.session-info {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-label {
    display: inline-block;
    background-color: #e9ecef;
    color: #6c757d;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.info-label i {
    margin-left: 4px;
}

.info-value {
    color: #4a5568;
    font-size: 16px;
}

.divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 25px 0;
}

/* Paper styling */
.paper {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.paper-info {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}

.paper-title {
    font-size: 18px;
    color: #1a202c;
    margin-bottom: 10px;
    font-weight: 600;
}

.authors {
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
}

.paper-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    min-width: 120px;
    gap: 10px;
}

.session-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.session-chair {
    flex: 1;
    min-width: 200px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.session-chair h3 {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.session-chair p {
    color: #718096;
    font-size: 16px;
}

.session-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-left: auto;
}

.btn {
    border: 1px solid #e2e8f0;
    background-color: white;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.2s;
}

.btn:hover {
    background-color: #f8f9fa;
}

.btn-disabled, .btn.btn-disabled {
    background-color: #e2e2e2 !important;
    color: #9e9e9e !important;
    cursor: not-allowed;
    border: 1px solid #d0d0d0 !important;
}

.btn-disabled:hover, .btn.btn-disabled:hover {
    background-color: #e2e2e2 !important;
}

.btn-primary {
    background-color: #4285f4;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #3b78e7;
}

.btn-icon {
    display: flex;
    align-items: center;
}

.btn-icon i {
    margin-right: 6px;
}

/* Tooltip styles */
.btn-tooltip {
    position: relative;
    cursor: not-allowed;
}

.btn-tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%; /* 按钮上方显示 */
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.btn-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.btn-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .date-navigation {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date-menu {
        margin-bottom: 15px;
    }
    
    .paper {
        flex-direction: column;
    }
    
    .paper-info {
        padding-right: 0;
        margin-bottom: 15px;
    }
    
    .paper-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    
    .session-footer {
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
    }
    
    .session-chair {
        margin-top: 10px;
        margin-bottom: 10px;
        width: 100%;
        align-self: flex-start;
    }
    
    .session-actions {
        width: auto;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

/* 新卡片的样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.session-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.session-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.session-card .session-badge {
    margin-bottom: 10px;
}

.session-card .session-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.session-meta {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.session-location {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.session-card .btn-zoom {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* Session filter styles */
.session-filter-container {
    margin: 20px auto;
    max-width: 900px;
    overflow: auto;
    padding-bottom: 10px;
}

.session-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.session-filter-item {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #4a5568;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.session-filter-item:hover {
    background-color: #dee2e6;
}

.session-filter-item.active {
    background-color: #4285f4;
    color: white;
}

.session-filter-item.online {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #e9ecef;
    color: #4A85EF;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.session-filter-item.online:hover {
  background-color: #1976D2; /* 鼠标悬停时稍深的蓝色 */
  color: white;
}

@media (max-width: 768px) {
    .session-filter {
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .session-filter-container {
        overflow-x: auto;
    }
}