/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #333;
    line-height: 1.6;
    padding: 20px;
    min-height: 100vh;
}

/* 容器样式 */
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.header-text-mode {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.header-text-mode {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.header-image-mode {
    background: transparent;
    text-align: center;
    border-radius: 15px 15px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 120px;
    overflow: hidden;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: transparent;
}

.responsive-logo {
    height: 120px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}



.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 10px 0;
}

.logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 2.2rem;
    margin: 0.5rem 0;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Logo Banner样式 - 用于图片Logo作为独立横幅 */
.logo-banner {
    position: relative;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background: transparent;
    margin-bottom: 2px; /* 与内容框保持2px间距 */
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100% - 4px); /* 考虑左右2px边距 */
    border-radius: 10px; /* 添加圆角 */
    overflow: hidden; /* 确保内容在圆角内 */
}

.banner-logo {
    height: 116px; /* 120px - 2px上边距 - 2px下边距 */
    max-width: calc(100% - 4px); /* 考虑左右2px边距 */
    object-fit: cover; /* 改为cover以实现裁剪效果 */
    object-position: center;
    border: 2px solid transparent;
    background-color: transparent; /* 确保背景透明 */
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

/* 确保内容栏与Logo Banner不重叠 */
.container {
    position: relative;
    padding-top: 0; /* 不再需要为Logo Banner预留空间，因为它在容器外 */
}

/* 当存在图片Logo Banner时，调整月份标题的间距 */
.logo-banner + .container .timeline-month-header {
    margin-top: 3px;
}

/* 时间轴容器 */
.timeline-container {
    position: relative;
    padding: 40px 20px 40px 20px;
    /* 确保第一行内容与内容栏顶部边框保持2px间距 */
    margin-top: 2px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px; /* 更细的中轴线 */
    background: transparent; /* 去掉紫色实线 */
    transform: translateX(-50%);
    border-radius: 1px;
    z-index: 1;
}

/* 时间轴项目 */
.timeline-item {
    position: relative;
    width: calc(50% - 40px);
    margin-bottom: 40px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 为左侧项目添加连接线 */
.timeline-item.left::before,
.timeline-item-small.left-small::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 100%;
    width: calc(50% - 40px);
    height: 1px;
    background: linear-gradient(to right, transparent, #94a3b8, transparent);
}

/* 为右侧项目添加连接线 */
.timeline-item.right::before,
.timeline-item-small.right-small::before {
    content: '';
    position: absolute;
    top: 23px;
    right: 100%;
    width: calc(50% - 40px);
    height: 1px;
    background: linear-gradient(to left, transparent, #94a3b8, transparent);
}

/* 为相邻项目添加垂直连接线 */
.timeline-item + .timeline-item,
.timeline-item-small + .timeline-item-small {
    position: relative;
}

.timeline-item + .timeline-item::after,
.timeline-item-small + .timeline-item-small::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, transparent, #667eea, #764ba2, #667eea, transparent);
    background-size: 4px 20px;
    background-repeat: repeat-y;
    border-radius: 2px;
    z-index: 0;
    animation: gradientMove 2s linear infinite;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.4), 0 0 20px rgba(118, 75, 162, 0.3);
}

@keyframes gradientMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 20px; }
}

.timeline-item.left + .timeline-item.left::after,
.timeline-item-small.left-small + .timeline-item-small.left-small::after {
    left: calc(50% - 2px);
    top: -20px;
    height: 20px;
}

.timeline-item.right + .timeline-item.right::after,
.timeline-item-small.right-small + .timeline-item-small.right-small::after {
    left: calc(50% - 2px);
    top: -20px;
    height: 20px;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.timeline-item:hover::after {
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(148, 163, 184, 0.8);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    background: #94a3b8;
    border: 3px solid white;
    border-radius: 50%;
    top: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.left {
    left: 0;
}

.right {
    left: calc(50% + 40px);
}

.left::after {
    right: -50px;
}

.right::after {
    left: -50px;
}

/* 时间轴内容样式 */
.timeline-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* 小尺寸时间轴项目 */
.timeline-item-small {
    position: relative;
    width: calc(50% - 40px);
    margin-bottom: 30px;
    padding: 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 为小尺寸左侧项目添加连接线 */
.timeline-item-small.left-small::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 100%;
    width: calc(50% - 40px);
    height: 2px;
    background: linear-gradient(to right, transparent, #667eea, transparent);
}

/* 为小尺寸右侧项目添加连接线 */
.timeline-item-small.right-small::before {
    content: '';
    position: absolute;
    top: 23px;
    right: 100%;
    width: calc(50% - 40px);
    height: 2px;
    background: linear-gradient(to left, transparent, #667eea, transparent);
}

.timeline-item-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.timeline-item-small:hover::after {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(148, 163, 184, 0.8);
}

.timeline-item-small::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #94a3b8;
    border: 2px solid white;
    border-radius: 50%;
    top: 18px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

.left-small {
    left: 0;
}

.right-small {
    left: calc(50% + 40px);
}

.left-small::after {
    right: -46px;
}

.right-small::after {
    left: -46px;
}

/* 小尺寸时间轴内容样式 */
.timeline-date-small {
    font-size: 0.8rem;
    color: #666;
    font-weight: bold;
    margin-bottom: 5px;
}

.timeline-title-small {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* 年份标题样式 - 避免与时间轴线重叠 */
.timeline-month-header {
    position: relative;
    text-align: center;
    margin: 3px 0;
    grid-column: 1 / -1;
    font-size: 1.4rem;
    font-weight: bold;
    color: #4b5563;
    z-index: 10;
    background: white;
    display: inline-block;
    min-width: 140px;
    padding: 8px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    left: calc(50% - 70px);
    transition: all 0.3s ease;
}

.timeline-month-header:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 星级颜色 */
.star-0 { color: #ccc; }
.star-1 { color: #10b981; } /* 绿色 */
.star-2 { color: #f59e0b; } /* 黄色 */
.star-3 { color: #ef4444; } /* 红色 */

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content-large {
    background: rgba(255, 255, 255, 0.95);
    margin: 2% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* 移动端模态框优化 */
@media (max-width: 768px) {
    .modal-content-large {
        width: 95%;
        max-width: 95%;
        margin: 5% auto;
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 15px 15px 10px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 15px;
    }
}

.glass-modal {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    text-align: right;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-line {
        left: 20px; /* 调整中轴线位置 */
    }
    
    .timeline-container {
        padding: 20px 10px; /* 减少容器内边距 */
    }
    
    .timeline-item {
        width: calc(100% - 60px);
        left: 50px !important;
        margin-bottom: 30px; /* 减少项目间距 */
        padding: 15px; /* 减少内边距 */
    }
    
    .left, .right {
        left: 50px;
    }
    
    .timeline-item::after {
        top: 18px;
        width: 12px;
        height: 12px;
    }
    
    .left::after, .right::after {
        left: -40px;
    }
    
    .timeline-item.left::before,
    .timeline-item-small.left-small::before {
        width: calc(50% - 30px);
        top: 20px;
    }
    
    .timeline-item.right::before,
    .timeline-item-small.right-small::before {
        width: calc(50% - 30px);
        top: 20px;
    }
    
    /* 移动端时间轴标题样式优化 */
    .timeline-month-header {
        font-size: 1.2rem;
        min-width: 120px;
        padding: 6px 15px;
        left: calc(50% - 60px);
        margin: 3px 0;
    }
    
    /* 移动端时间轴内容样式优化 */
    .timeline-date {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .timeline-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .timeline-content {
        font-size: 0.9rem;
    }
    
    /* 移动端时间轴小项目优化 */
    .timeline-item-small {
        width: calc(100% - 60px);
        left: 50px !important;
        margin-bottom: 25px;
        padding: 14px;
    }
    
    .left-small, .right-small {
        left: 50px;
    }
    
    .timeline-item-small::after {
        top: 16px;
        width: 10px;
        height: 10px;
    }
    
    .left-small::after, .right-small::after {
        left: -38px;
    }
}

/* 主内容区 */
.main-content {
    margin-left: 0;
    padding: 0;
}

.admin-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 99;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
}

.admin-header h1 #current-time {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 1rem;
    font-weight: normal;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    color: #64748b;
    border-color: #cbd5e1;
}

.btn-outline:hover {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-secondary {
    background-color: #64748b;
    color: white;
    border-color: #64748b;
}

.btn-secondary:hover {
    background-color: #475569;
    border-color: #475569;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
    border-color: #ef4444;
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.admin-body {
    padding: 2rem;
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
}

.card-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
}

.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.editor-toolbar {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-bottom: none;
    border-radius: 0.375rem 0.375rem 0 0;
}

.toolbar-btn {
    padding: 0.25rem 0.5rem;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.75rem;
}

.toolbar-btn:hover {
    background: #f1f5f9;
}

.editor-content {
    min-height: 200px;
    border: 1px solid #cbd5e1;
    border-radius: 0 0 0.375rem 0.375rem;
    padding: 1rem;
    outline: none;
}

.time-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.radio-inline {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.search-box {
    width: 240px;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.empty-state p {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: box-shadow 0.2s;
}

.post-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.post-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.25rem;
}

.status-indicator {
    font-size: 1.5rem;
    line-height: 1;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1e293b;
}

.post-excerpt {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.post-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    min-width: 80px;
}

.alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Quill编辑器样式 */
.ql-toolbar.ql-snow {
    border: 1px solid #cbd5e1;
    border-bottom: 0;
    border-radius: 0.375rem 0.375rem 0 0;
    background: #f8fafc;
}

.ql-container.ql-snow {
    border: 1px solid #cbd5e1;
    border-top: 0;
    border-radius: 0 0 0.375rem 0.375rem;
    min-height: 200px;
    max-height: 400px;
}

.ql-editor {
    min-height: 200px;
    max-height: 350px;
    overflow-y: auto;
}

/* 为图片添加调整大小的样式 */
.ql-editor img {
    max-width: 100%;
    height: auto;
    resize: both;
    overflow: hidden;
    cursor: se-resize;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 1rem 0.5rem; /* 添加左右边距 */
    }
    
    /* 移动端Logo样式优化 */
    .logo-container {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-image {
        max-width: 150px;
        max-height: 60px;
    }
    
    /* 移动端Logo Banner样式 */
    .logo-banner {
        top: 2px;
        left: 2px;
        right: 2px;
        height: 80px;
        border-radius: 8px; /* 移动端圆角 */
    }
    
    .banner-logo {
        height: 76px; /* 80px - 2px上边距 - 2px下边距 */
        max-width: calc(100% - 4px);
        object-fit: cover; /* 确保移动端也使用裁剪模式 */
    }
    
    .container {
        padding-top: 0; /* 不再需要为Logo Banner预留空间，因为它在容器外 */
    }
    
    /* 移动端图片头部背景优化 */
    .header-image-mode {
        height: 80px !important;
    }
    
    .logo-wrapper {
        height: 80px !important;
    }
    
    .responsive-logo {
        height: 80px !important;
    }
    
    .header-image-bg h1,
    .header-image-bg .logo-text {
        font-size: 1.5rem;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }
}
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .admin-header {
        padding: 1rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-section, .list-section {
        width: 100%;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .admin-body {
        padding: 1rem;
    }
    
    /* 移动端按钮样式优化 */
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.875rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    /* 移动端表单样式优化 */
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-control {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
    
    /* 移动端列表项样式优化 */
    .post-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem;
    }
    
    .post-status {
        align-items: flex-start;
        padding-top: 0;
    }
    
    .post-content {
        width: 100%;
    }
    
    .post-actions {
        flex-direction: row;
        justify-content: flex-end;
        min-width: auto;
        gap: 0.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    /* 移动端模态框样式优化 */
    .modal-content-large {
        width: 95%;
        max-width: 95%;
        margin: 5% auto;
    }
    
    /* 移动端Logo样式优化 */
    .logo-container {
        padding: 10px 0;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .logo-image {
        max-width: 150px;
        max-height: 60px;
    }

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .container {
        border-radius: 10px;
    }
    
    .timeline-item {
        width: calc(100% - 50px);
        left: 40px !important;
        padding: 12px;
        margin-bottom: 25px;
    }
    
    .timeline-line {
        left: 15px;
    }
    
    .timeline-month-header {
        font-size: 1.1rem;
        min-width: 100px;
        padding: 5px 12px;
        left: calc(50% - 50px);
        margin: 3px 0;
    }
    
    .admin-body {
        padding: 0.8rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .card-header-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .filter-controls {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    select.form-control {
        width: 100%;
    }
    
    .header-actions {
        flex-wrap: wrap;
    }
}