/* 全局背景：紫色渐变 */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    font-family: 'PingFang SC', sans-serif;
    display: flex;
    justify-content: center;
    color: white;
}

.app-container { width: 100%; max-width: 400px; padding: 20px; }

/* 毛玻璃核心卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

/* 输入控件样式 */
input, select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

select option { background: #764ba2; }

/* 按钮 */
button {
    width: 100%;
    padding: 12px;
    background: #fff;
    color: #764ba2;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover { transform: scale(1.02); }

/* 记账列表条目 */
.record-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stats { display: flex; justify-content: space-around; margin-top: 15px; text-align: center; }
.btn-group { display: flex; gap: 10px; }
#auth-msg { font-size: 14px; text-align: center; margin-top: 10px; }
