* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.phone-container {
    width: 375px;
    height: 812px;
    background: #000;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.status-bar {
    height: 44px;
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.status-left {
    display: flex;
    align-items: center;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.battery {
    width: 25px;
    height: 12px;
    border: 1px solid #fff;
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: #fff;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    height: 100%;
    width: 80%;
    background: #fff;
    border-radius: 1px;
}

.main-content {
    flex: 1;
    background: #f5f5f5;
    overflow-y: auto;
    padding: 20px;
}

/* 顶部导航栏 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 5px;
}

.nav-back {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-back:hover {
    background: rgba(102, 126, 234, 0.1);
}

.back-icon {
    font-size: 20px;
    color: #667eea;
    font-weight: 600;
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.mark-read {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mark-read:hover {
    background: rgba(102, 126, 234, 0.2);
}

/* 消息列表 */
.notification-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.notification-item.unread {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon .icon {
    font-size: 18px;
    color: #667eea;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.notification-time {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
    margin-left: 8px;
}

.notification-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

.notification-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project, .priority, .status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
}

.project {
    background: #e9ecef;
    color: #666;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.accepted {
    background: #d4edda;
    color: #155724;
}

.status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.unread-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
}

/* 底部Tabbar */
.tabbar {
    height: 60px;
    background: #fff;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-shrink: 0;
}

.tabbar .tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #999;
}

.tabbar .tab-item.active {
    color: #667eea;
}

.tabbar .tab-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.tabbar .tab-text {
    font-size: 12px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 400px) {
    .phone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }
    
    .phone-screen {
        border-radius: 0;
    }
}

/* 滚动条样式 */
.main-content::-webkit-scrollbar {
    width: 4px;
}

.main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.main-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 2px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
} 