/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    padding-bottom: 60px;
    background: white;
    min-height: 100vh;
}

/* 登录页面 */
.login-container {
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #7f8c8d;
    font-size: 14px;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}
.form-group input::placeholder {
    color: #aaa;
}

.btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: #007aff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056cc;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-outline {
    background: white;
    border: 1px solid #007aff;
    color: #007aff;
}

/* Tab栏 */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
    z-index: 1000;
}

.tabbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    text-decoration: none;
    font-size: 10px;
    flex: 1;
    height: 100%;
    justify-content: center;
}

.tabbar-item.active {
    color: #007aff;
}

.tabbar-item i {
    font-size: 20px;
    margin-bottom: 2px;
}

/* 页面头部 */
.page-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.page-header .subtitle {
    opacity: 0.9;
    font-size: 14px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}

.card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-2px);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
}

.card h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    padding: 6px 15px;
    background: #f0f0f0;
    border-radius: 15px;
    color: #007aff;
    text-decoration: none;
    font-size: 13px;
}

/* 打卡页面 */
.checkin-form {
    padding: 20px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.label {
    color: #666;
}

.value {
    color: #333;
    font-weight: 500;
}

.upload-section {
    margin-bottom: 30px;
}

.upload-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.upload-area {
    text-align: center;
}
.beian-footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 10px;
    z-index: 1000;
}

.beian-footer a {
    color: #666;
    text-decoration: none;
    
}

.beian-footer a:hover {
    color: #333;
    text-decoration: underline;
   
}

.upload-preview {
    width: 100%;
    height: 150px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fafafa;
    cursor: pointer;
}

.upload-preview i {
    font-size: 40px;
    color: #999;
    margin-bottom: 10px;
}

.upload-preview p {
    color: #666;
    margin: 2px 0;
}

.upload-preview .hint {
    font-size: 12px;
    color: #999;
}

.form-actions {
    margin-top: 30px;
}

/* 我的页面 */
.profile-header {
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.avatar i {
    font-size: 36px;
}

.user-info h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.user-info p {
    opacity: 0.8;
    font-size: 14px;
}

.menu-list {
    margin: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.menu-item:hover {
    background: #f5f5f5;
}

.menu-item i:first-child {
    margin-right: 15px;
    font-size: 20px;
}

.menu-item span {
    flex: 1;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 15px;
    width: 85%;
    max-width: 320px;  /* 调整为更小尺寸 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-header {
    padding: 20px 20px 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.modal-header .close {
    font-size: 24px;
    cursor: pointer;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.modal-header .close:hover {
    background-color: #f5f5f5;
}

.modal-body {
    padding: 20px;
}

/* 记录列表 */
.records-section {
    padding: 20px;
}

.records-container {
    margin-top: 15px;
}

.record-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.record-time {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.record-images {
    display: flex;
    gap: 10px;
}

.record-images img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    object-fit: cover;
    cursor: pointer;
}

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

.loading {
    text-align: center;
    color: #999;
    padding: 20px;
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    z-index: 1002;
    animation: toastFade 0.3s;
}

@keyframes toastFade {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 图标字体 */
@font-face {
    font-family: 'iconfont';
    src: url('data:application/x-font-woff2;charset=utf-8;base64,...');
}

.icon-home:before { content: "🏠"; }
.icon-checkin:before { content: "📸"; }
.icon-user:before { content: "👤"; }
.icon-camera:before { content: "📷"; }
.icon-check:before { content: "✓"; }
.icon-loading:before { content: "⏳"; }
.icon-lock:before { content: "🔒"; }
.icon-history:before { content: "📋"; }
.icon-logout:before { content: "🚪"; }
.icon-arrow-right:before { content: "→"; }
.icon-user-circle:before { content: "👨‍💼"; }
.icon-list:before { content: "📝"; }
.icon-info:before { content: "ℹ️"; }
.icon-settings:before { content: "⚙️"; }
.icon-admin:before { content: "🛠️"; }

/* 响应式设计 */
@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 20px;
    }
    
    .login-header h1 {
        font-size: 24px;
    }
}

/* 图片预览模态框 */
.image-preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.image-preview-modal.active {
    display: flex;
    opacity: 1;
}

.image-preview-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-content {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.image-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2001;
}

.image-preview-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 触摸屏优化 */
@media (hover: none) and (pointer: coarse) {
    .image-preview-close {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

/* 移动设备优化 */
@media (max-width: 768px) {
    .image-preview-container {
        height: 70vh;
        padding: 10px;
    }
    
    .image-preview-content img {
        border-radius: 4px;
    }
    
    .image-preview-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
}

/* 小屏幕手机 */
@media (max-width: 480px) {
    .image-preview-container {
        height: 60vh;
    }
    
    .image-preview-close {
        width: 35px;
        height: 35px;
        font-size: 20px;
        top: 15px;
        right: 15px;
    }
}

/* 打卡页面专用样式 */
.page-header {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 20px;
    border-radius: 0 0 20px 20px;
}

.page-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
}

.page-header .subtitle {
    opacity: 0.9;
    font-size: 14px;
}

/* 信息卡片 */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item .label {
    color: #666;
    font-weight: 500;
}

.info-item .value {
    color: #333;
    font-weight: 600;
}

/* 上传区域 */
.upload-section {
    margin: 0 20px 25px;
}

.upload-section h3 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #333;
    display: flex;
    align-items: center;
}

.required {
    color: #ff4757;
    margin-left: 5px;
}

.section-description {
    color: #666;
    font-size: 13px;
    margin-bottom: 10px;
}

.upload-area {
    text-align: center;
    position: relative;
}

.upload-preview {
    width: 100%;
    height: 180px;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-preview:hover {
    border-color: #007aff;
    background: #f0f7ff;
}

.upload-preview i {
    font-size: 40px;
    color: #999;
    margin-bottom: 10px;
}

.upload-preview p {
    color: #666;
    margin: 2px 0;
    font-size: 14px;
}

.upload-preview .hint {
    font-size: 12px;
    color: #999;
}

/* 图片预览项 */
.image-preview-item {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-item img {
    max-width: 100%;
    max-height: 160px;
    border-radius: 8px;
    object-fit: contain;
}

.remove-image {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 10;
}

.remove-image:hover {
    background: rgba(0, 0, 0, 0.8);
}

.icon-close:before {
    content: "×";
    font-size: 18px;
    font-weight: bold;
}

/* 文件信息 */
.file-info {
    margin-top: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    display: flex;
    justify-content: space-between;
}

.file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.file-size {
    color: #999;
}

/* 表单操作按钮 */
.form-actions {
    margin: 30px 20px 20px;
}

.btn {
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline {
    background: white;
    border: 1px solid #007aff;
    color: #007aff;
}

.btn-outline:hover {
    background: #f0f7ff;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    background: #ccc !important;
    color: #666 !important;
    border-color: #ccc !important;
    transform: none !important;
    box-shadow: none !important;
}

/* 打卡提示 */
.checkin-tips {
    margin: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #007aff;
}

.checkin-tips h3 {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.checkin-tips h3 i {
    margin-right: 8px;
}

.checkin-tips ul {
    margin: 0;
    padding-left: 20px;
}

.checkin-tips li {
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.checkin-tips strong {
    color: #ff4757;
}

/* 确认对话框 */
.confirm-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-dialog.active {
    opacity: 1;
}

.confirm-dialog-content {
    background: white;
    border-radius: 15px;
    width: 85%;
    max-width: 320px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.confirm-dialog.active .confirm-dialog-content {
    transform: translateY(0);
}

.confirm-dialog-content h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
    text-align: center;
}

.confirm-dialog-content p {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.5;
    text-align: center;
}

.confirm-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.confirm-info p {
    margin: 8px 0;
    text-align: left;
    font-size: 14px;
}

.confirm-info strong {
    color: #333;
    min-width: 70px;
    display: inline-block;
}

.confirm-buttons {
    display: flex;
    gap: 15px;
}

.confirm-buttons .btn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
}

/* Toast提示 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    z-index: 1002;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #34C759 0%, #2E8B57 100%);
}

.toast.error {
    background: linear-gradient(135deg, #FF3B30 0%, #C62828 100%);
}

.toast.info {
    background: linear-gradient(135deg, #007aff 0%, #0056CC 100%);
}

/* 加载动画 */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.icon-loading {
    display: inline-block;
    animation: rotate 1s linear infinite;
}

.icon-loading:before {
    content: "⏳";
}

/* 图标字体 */
@font-face {
    font-family: 'iconfont';
    src: url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA...');
}

.icon-camera:before { content: "📷"; }
.icon-check:before { content: "✓"; }
.icon-close:before { content: "×"; }
.icon-info:before { content: "ℹ️"; }

/* 响应式设计 */
@media (max-width: 480px) {
    .page-header {
        padding: 15px;
    }
    
    .info-card {
        margin: 0 15px 15px;
        padding: 15px;
    }
    
    .upload-section {
        margin: 0 15px 20px;
    }
    
    .upload-preview {
        height: 150px;
    }
    
    .image-preview-item img {
        max-height: 130px;
    }
    
    .confirm-dialog-content {
        width: 90%;
        padding: 20px;
    }
    
    .form-actions {
        margin: 25px 15px 15px;
    }
}
/* 首页专用样式 */

/* 打卡提醒横幅 */
.checkin-reminder {
    position: relative;
    margin: 10px 15px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.checkin-reminder.show {
    transform: translateY(0);
    opacity: 1;
}

.reminder-content {
    display: flex;
    align-items: center;
    padding: 15px;
    color: white;
}

.reminder-icon {
    margin-right: 12px;
}

.reminder-icon i {
    font-size: 24px;
}

.reminder-text {
    flex: 1;
}

.reminder-text h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.reminder-text p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.reminder-action {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.reminder-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 状态卡片 */
.status-card {
    background: white;
    border-radius: 15px;
    margin: 0 15px 20px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.status-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.pending {
    background: #fff3e0;
    color: #ef6c00;
}

.status-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.status-item {
    text-align: center;
}

.status-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 20%, #ff6b6b 100%);
    color: white;
}

.status-icon i {
    font-size: 20px;
}

.status-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.status-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 快速操作卡片 */
.quick-actions-card {
    background: white;
    border-radius: 15px;
    margin: 0 15px 20px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.quick-actions-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.action-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: #333;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border: 2px solid transparent;
}

.action-item:hover {
    background: #f0f7ff;
    border-color: #007aff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.action-item.completed {
    background: #e8f5e9;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
}

.action-icon i {
    font-size: 20px;
}

.action-text {
    flex: 1;
}

.action-text h4 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
}

.action-text p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.action-status {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* 数据统计卡片 */
.stats-card {
    background: white;
    border-radius: 15px;
    margin: 0 15px 20px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.stats-card h3 {
    margin: 0 0 15px;
    font-size: 18px;
    color: #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

/* 日历卡片 */
.calendar-card {
    background: white;
    border-radius: 15px;
    margin: 0 15px 20px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

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

.calendar-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.calendar-week {
    display: flex;
    justify-content: space-between;
}

.day {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.day.today {
    background: #f0f7ff;
    border: 1px solid #007aff;
}

.day.checked .day-dot {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    margin: 4px auto 0;
}

.day-name {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.day-number {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 浮动按钮 */
.floating-actions {
    position: fixed;
    bottom: 70px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 10px;
    text-align: center;
}

.floating-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-btn.secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn i {
    font-size: 20px;
    margin-bottom: 2px;
}

.floating-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .status-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .action-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .floating-actions {
        bottom: 60px;
        right: 15px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
}

/* 动画效果 */
@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.status-card, .quick-actions-card, .stats-card, .calendar-card {
    animation: slideDown 0.5s ease forwards;
}

.status-card { animation-delay: 0.1s; }
.quick-actions-card { animation-delay: 0.2s; }
.stats-card { animation-delay: 0.3s; }
.calendar-card { animation-delay: 0.4s; }

/* 新图标 */
.icon-alert:before { content: "⚠️"; }
.icon-check-circle:before { content: "✓"; }
.icon-time:before { content: "🕐"; }
.icon-calendar:before { content: "📅"; }
.icon-arrow-right:before { content: "→"; }
.icon-checkin:before { content: "📸"; }
.icon-history:before { content: "📋"; }
.icon-settings:before { content: "⚙️"; }
.icon-camera:before { content: "📷"; }
.icon-list:before { content: "📝"; }
.icon-refresh:before { content: "🔄"; }
.icon-check:before { content: "✓"; }