body {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.menu-item {
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: #f1f5f9;
}

.menu-item i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.group-1 i {
    background-color: #e0f2fe;
    color: #0ea5e9;
}

.group-2 i {
    background-color: #fef3c7;
    color: #f59e0b;
}

.group-3 i {
    background-color: #ffb4b4;
    color: #c60000;
}

.avatar {
    background: linear-gradient(135deg, #93c5fd, #3b82f6);
}

.scrollable-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

body {
    background: linear-gradient(180deg, #f5f7fa 0%, #e5e9f2 100%);
    min-height: 100vh;
}

.login-button {
    transition: all 0.3s ease;
}

.login-button:active {
    transform: scale(0.98);
}

.skip-link {
    transition: color 0.3s ease;
}

.skip-link:hover {
    color: #64748b;
}

/* 加载动画样式 */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #000000;
    font-size: 16px;
}

/* 新增页眉样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.back-button {
    transition: all 0.3s ease;
}

.back-button:active {
    transform: scale(0.9);
}

/* 调整页面内边距以避免内容被页眉遮挡 */
.page-container {
    padding-top: 64px;
}

/* 错误消息样式 */
.error-message {
    color: #ef4444;
    text-align: center;
    margin-bottom: 1rem;
}

body {
    background: linear-gradient(180deg, #f5f7fa 0%, #e5e9f2 100%);
    min-height: 100vh;
}

.login-button {
    transition: all 0.3s ease;
}

.login-button:active {
    transform: scale(0.98);
}

textarea {
    border: none;
}

textarea:focus {
    outline: none;
}

#previewImage {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: none;
    margin-top: 8px;
}

.skip-link {
    transition: color 0.3s ease;
}

.skip-link:hover {
    color: #64748b;
}

input {
    border: none;
}

input:focus {
    outline: none;
}