/* 全局样式 */
body {
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

/* 任务卡片样式 */
.task-card {
    transition: transform 0.3s ease;
    height: 100%;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.125);
}

.task-status {
    position: absolute;
    top: 10px;
    right: 10px;
}

/* 表单样式 */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.auth-form {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

/* 用户中心页面样式 */
.dashboard-card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-card h4 {
    margin-bottom: 20px;
    color: #0d6efd;
}

/* 图片上传样式 */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
}

.upload-section {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

/* 表格样式 */
.table-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 分页样式 */
.pagination {
    margin-top: 20px;
    justify-content: center;
}

/* 页脚样式 */
.footer {
    background-color: #f8f9fa;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .table-responsive {
        overflow-x: auto;
    }
}

/* 任务详情页样式 */
.task-details {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.task-action-buttons {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 任务提交样式 */
.submission-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.submission-images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* 管理员后台样式 */
.admin-sidebar {
    background-color: #212529;
    color: #fff;
    height: 100%;
    min-height: calc(100vh - 56px);
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.admin-sidebar .nav-link:hover {
    color: #fff;
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 20px;
}

/* 提现页面样式 */
.withdrawal-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 任务已满标识样式 */
.full-task-notice {
    position: relative;
    display: inline-block;
}

.task-full-stamp {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-15deg);
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 14px;
    z-index: 2;
}