/* 时间管理页面特有样式 */
.full-width-section {
    width: 100%;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 30px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}
.section-title {
    font-size: 24px;
    margin: 0;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 8px;
    flex-grow: 1;
}
.full-width-form {
    width: 100%;
}
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.form-group {
    flex: 1;
    min-width: 200px;
}
.form-group.full-width {
    flex: 1 0 100%;
}
.form-toggle {
    display: flex;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.form-toggle button {
    flex: 1;
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--gray-color);
    transition: all 0.3s;
}
.form-toggle button.active {
    background-color: var(--primary-color);
    color: white;
}
.form-content {
    display: none;
}
.form-content.active {
    display: block;
}
.full-width-list {
    width: 100%;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}
.task-list, .flag-list, .timer-list, .time-log-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.task-item, .flag-item, .timer-item, .time-log-item {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}
.task-item:hover, .flag-item:hover, .timer-item:hover, .time-log-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.task-item.priority-high {
    border-left-color: var(--accent-color);
}
.task-item.priority-medium {
    border-left-color: #fbbc05;
}
.task-item.priority-low {
    border-left-color: var(--secondary-color);
}
.flag-item.status-ongoing {
    border-left-color: var(--primary-color);
}
.flag-item.status-completed {
    border-left-color: var(--secondary-color);
}
.flag-item.status-failed {
    border-left-color: var(--accent-color);
}
.task-info, .flag-info, .timer-info, .time-log-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.task-name, .flag-name, .timer-name, .time-log-activity {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-color);
}
.task-due, .flag-period, .timer-time, .time-log-duration {
    font-size: 15px;
    color: var(--gray-color);
}
.task-notes, .flag-reward, .timer-description, .time-log-participants, .time-log-location, .flag-status {
    font-size: 14px;
    margin-top: 5px;
    color: var(--gray-color);
}
.task-actions, .flag-actions, .timer-actions, .time-log-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.empty-message {
    text-align: center;
    padding: 30px;
    color: var(--gray-color);
    font-style: italic;
}
.chart-container {
    height: 400px;
    margin: 20px 0;
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}
.other-time-tools {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.other-time-tools a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
    height: 100%;
    text-align: center;
}
.other-time-tools a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .form-toggle {
        width: 100%;
    }
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    .form-group {
        min-width: 100%;
    }
    .other-time-tools {
        grid-template-columns: repeat(2, 1fr);
    }
}
