/* 主页专用样式 */
.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background-color: #2f4050;
    color: #a7b1c2;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.menu-header {
    padding: 20px;
    font-size: 18px;
    color: var(--white);
    border-bottom: 1px solid #293846;
    font-weight: 500;
}

.menu-item {
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.menu-item:hover, .menu-item.active {
    background-color: #293846;
    color: var(--white);
}

.menu-item i {
    margin-right: 10px;
    font-size: 16px;
}

.main-content {
    flex: 1;
    padding: 30px;
}

.header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.search-input {
    flex: 1;
    margin-right: 15px;
}

.survey-list {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.survey-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.survey-item:hover {
    background-color: #f8fafc;
}

.survey-info {
    flex: 1;
}

.survey-title {
    font-size: 16px;
    color: #2d3748;
    margin-bottom: 8px;
    font-weight: 500;
}

.survey-meta {
    font-size: 13px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
}

.survey-meta span {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.survey-meta i {
    margin-right: 5px;
    font-size: 14px;
}

.survey-actions {
    display: flex;
    gap: 10px;
}

.status-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    color: var(--white);
}

.status-btn i {
    margin-right: 0;
}

.status-active {
    background-color: var(--success-color);
}

.status-inactive {
    background-color: var(--danger-color);
}

.user-bar {
    background-color: #2f4050;
    color: var(--white);
    height: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-container {
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-btn {
    background-color: transparent !important;
    border: 1px solid #a7b1c2;
    color: #a7b1c2;
}

.auth-btn:hover {
    background-color: rgba(255,255,255,0.1) !important;
    color: var(--white);
    border-color: var(--white);
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: #a0aec0;
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 15px;
    color: #cbd5e0;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .survey-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .survey-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: flex-end;
    }
}