/* 标题行样式 */

.header {
    height: 100px;
    background-color: #1f2937;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.header h1 {
    font-size: 1.875rem;
    font-weight: bold;
    letter-spacing: 0.025em;
}


/* 左侧控制面板样式 */

.left-panel {
    width: 250px;
    background-color: #13203a;
    color: white;
    padding: 1rem;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.main-button {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    background-color: #253052;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(3, 8, 58, 0.1);
    cursor: pointer;
}

.main-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    background-color: #234691;
}

.sub-buttons {
    display: none;
    animation: slideDown 0.3s ease-in-out;
    padding-left: 1.25rem;
}

.sub-buttons.expanded {
    display: block;
}

.sub-button {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    background-color: #1b3274;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sub-button:hover {
    transform: translateX(5px);
    background-color: #274380;
}

.sub-button.active {
    background-color: #1e40af !important;
    box-shadow: 0 0 0 2px #0e59af;
    transform: translateX(8px);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
    }
}