:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.app-container {
    display: flex;
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* 侧边栏样式 */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 25px 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 107, 0.3) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 107, 0.5);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 107, 107, 0.2);
}

.sidebar-header h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-count {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.search-box {
    margin-bottom: 25px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 107, 107, 0.2);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.search-box input::placeholder {
    color: #999;
}

/* 主内容区样式 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--border-radius); /* 0 0 var(--border-radius);  */
    box-shadow: var(--shadow);
    margin: 30px 30px 30px 30px;
    overflow: hidden;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    min-height: var(--header-height);
}

.content-header h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* 工具容器 */
.tool-container {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    background: #f8f9fa;
}

/* 欢迎界面 */
.welcome-screen {
    padding: 50px 30px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.welcome-header {
    margin-bottom: 40px;
}

.welcome-header h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.welcome-header p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.welcome-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

.welcome-footer p {
    color: #888;
    font-size: 14px;
}

/* 加载状态 */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.cat-paw {
    font-size: 48px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/*
.reload-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.reload-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}
*/

