/* 全局样式 */
:root {
    --primary-color: #3563E9;
    --secondary-color: #6c757d;
    --success-color: #16A34A;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 12px;
    --box-shadow: 0 10px 25px rgba(53, 99, 233, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --background-color: #F7FAFC;
    --card-bg-color: #ffffff;
    --text-color: #334155;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.animated {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    margin-right: 8px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    margin: 0 2px;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(53, 99, 233, 0.05);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(53, 99, 233, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(53, 99, 233, 0.15);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: #ffffff;
        padding: 1rem;
        border-radius: var(--border-radius);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: var(--card-bg-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(53, 99, 233, 0.12);
}

.card-header {
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to right, #f8f9fa, #ffffff);
}

.card-body {
    padding: 1.5rem;
}

/* 按钮样式 */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.75rem 1.75rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
}

.btn i {
    margin-right: 8px;
}

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

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    box-shadow: 0 8px 20px rgba(53, 99, 233, 0.25);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(53, 99, 233, 0.15);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #15803d);
    border: none;
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    border: none;
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 8px;
}

/* 表格样式 */
.table {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.table thead th {
    background-color: rgba(53, 99, 233, 0.05);
    border-top: none;
    border-bottom: 2px solid rgba(53, 99, 233, 0.1);
    font-weight: 600;
    padding: 1.2rem 1rem;
    color: var(--primary-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(53, 99, 233, 0.03);
}

/* 表单样式 */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    padding: 0.75rem 1.25rem;
    background-color: #f9fafc;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(53, 99, 233, 0.15);
    background-color: #ffffff;
    outline: none;
}

.form-control-lg, .form-select-lg {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
}

.form-control-sm, .form-select-sm {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-muted);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    line-height: 1.25;
}

.form-floating > label {
    padding: 1rem 1.25rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #1e2124 0%, #121416 100%);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #6610f2, #6f42c1, #0dcaf0, var(--success-color));
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
}

/* 徽章样式 */
.badge {
    font-weight: 500;
    padding: 0.5em 0.85em;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), #15803d) !important;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), #2E5BD8) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), #FBBF24) !important;
}

/* 项目卡片样式 */
.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    position: relative;
    z-index: 1;
}

.project-card .card-body {
    flex: 1;
}

.project-card .project-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), #2E5BD8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-card .project-deadline {
    font-size: 0.95rem;
    color: var(--danger-color);
    font-weight: 500;
}

.project-card .project-status {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    border-radius: 20px;
    font-size: 0.85rem;
    padding: 0.35em 0.85em;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(4px);
}

.project-card .project-header {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card .project-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(53, 99, 233, 0.05), rgba(53, 99, 233, 0));
    z-index: 0;
}

.project-card .project-header h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
}

.project-card .project-header i {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
    color: rgba(53, 99, 233, 0.1);
    transition: all 0.3s ease;
    z-index: 0;
}

.project-card:hover .project-header i {
    transform: scale(1.2) rotate(10deg);
    color: rgba(53, 99, 233, 0.15);
}

.project-card .project-header::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 60%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease;
    z-index: 0;
}

.project-card:hover .project-header::after {
    opacity: 0.5;
    transform: scale(1);
}

/* 竞标表单样式 */
.bid-form {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

/* 倒计时样式 */
.countdown-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

.countdown {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--danger-color);
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
    line-height: 1.5;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.countdown.text-warning {
    animation: pulse 1s infinite;
}

/* 管理后台样式 */
.admin-dashboard .card {
    transition: var(--transition);
}

.admin-dashboard .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* 竞标历史样式 */
.list-group {
    max-height: 500px;
    overflow-y: auto;
}

.bid-history-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 30px; /* 增加底部边距，防止被底部导航栏遮挡 */
    padding: 0.5rem;
    padding-bottom: 20px; /* 增加内部底部间距 */
}

/* 竞标历史标题区域样式 */
.project-card .project-header {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3a7bd5, #3a6073);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-card .project-header h5 {
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.project-card .project-header i {
    font-size: 1.2rem;
    margin-right: 10px;
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-card .project-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    z-index: 0;
}

/* 竞标历史卡片特定样式 */
.bid-history-card .project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
    border-bottom: 1px solid rgba(53, 99, 233, 0.1);
}

.bid-history-card .history-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #2E5BD8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(53, 99, 233, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.bid-history-card .history-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #2E5BD8);
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

.bid-history-card .history-icon i {
    font-size: 1.5rem;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bid-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5em 1em;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(53, 99, 233, 0.1);
    border: 1px solid rgba(53, 99, 233, 0.1);
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f0f7ff, #e6f2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(53, 99, 233, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.empty-state-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(53, 99, 233, 0.15);
}

.empty-state-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.first-bidder {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.1), rgba(22, 163, 74, 0.05));
    border-left: 3px solid var(--success-color);
    border-radius: 8px;
}

.bid-history-item {
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    border-left: 3px solid transparent;
    margin-bottom: 12px;
    border-radius: 10px;
    background: #f8fafd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 1rem;
    position: relative;
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bid-history-item:hover {
    background-color: #eaf6ff;
    border-left: 3px solid var(--primary-color);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(53, 99, 233, 0.08);
}

.bid-history-item.winner {
    background-color: rgba(22, 163, 74, 0.05);
    border-left: 3px solid var(--success-color);
}

.bid-history-item.border-success {
    box-shadow: 0 4px 15px rgba(22, 163, 74, 0.1);
}

.bid-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.lowest-bid {
    color: var(--success-color);
    position: relative;
}

.lowest-bid::after {
    content: "最低价";
    position: absolute;
    top: -18px;
    right: -10px;
    background: linear-gradient(135deg, var(--success-color), #15803d);
    color: white;
    font-size: 0.7rem;
    padding: 0.2em 0.6em;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(22, 163, 74, 0.3);
    animation: shine 2s infinite;
}

.winner-badge-small {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.85rem;
}

.leading-badge {
    color: var(--warning-color);
    position: relative;
}

.leading-badge::after {
    content: "领先";
    position: absolute;
    top: -18px;
    right: -10px;
    background: linear-gradient(135deg, var(--warning-color), #FBBF24);
    color: white;
    font-size: 0.7rem;
    padding: 0.2em 0.6em;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.3);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { opacity: 0.9; }
    50% { opacity: 1; }
    100% { opacity: 0.9; }
}

@media (max-width: 767.98px) {
    .project-card .project-status {
        position: static;
        display: inline-block;
        margin-bottom: 0.5rem;
    }

    .bid-form {
        padding: 1.25rem;
    }

    /* 移动端竞标历史列表样式调整 */
    .bid-history-list {
        max-height: 350px; /* 移动端减少最大高度 */
        margin-bottom: 80px; /* 移动端增加更多底部边距 */
        padding-bottom: 30px; /* 移动端增加更多内部底部间距 */
    }

    /* 确保底部有足够的空间 */
    .project-card.mb-5 {
        margin-bottom: 8rem !important; /* 增加底部间距 */
    }

    .card-body {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .countdown {
        font-size: 1.5rem;
    }

    .bid-stat-value {
        font-size: 1.5rem;
    }
}

/* 违规弹窗样式 */
.modal-content.border-danger {
    border: 2px solid var(--danger-color);
    border-radius: var(--border-radius);
}

.modal-header.bg-danger {
    background-color: var(--danger-color);
}

.notice-content {
    font-size: 1rem;
    line-height: 1.6;
    padding: 1.25rem;
    background-color: rgba(220, 53, 69, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--danger-color);
}

.notice-navigation {
    margin-top: 1.25rem;
}

.notice-nav-btn {
    min-width: 40px;
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    font-weight: bold;
    transition: var(--transition);
}

.notice-nav-btn:hover {
    transform: scale(1.1);
}

/* 动画效果 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

/* 项目描述样式 */
.project-description {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 1.75rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}

.project-description::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #0d6efd, #0a58ca);
    opacity: 0.7;
}

.section-title {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
    border-radius: 3px;
}

/* 警告框样式 */
.alert {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    padding: 1.25rem;
}

.alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    color: #155724;
    border-left: 4px solid #198754;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background-color: rgba(13, 202, 240, 0.1);
    color: #0c5460;
    border-left: 4px solid #0dcaf0;
}

/* 链接样式 */
a {
    color: #0d6efd;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0a58ca;
    text-decoration: none;
}

/* 表单文本样式 */
.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* 输入框焦点效果 */
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.input-group.shadow-sm {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1) !important;
}

/* 底部安全区域 */
.footer-safe-area {
    height: 50px;
}

/* 中标结果弹窗样式 */
.modal-content.border-success {
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-header.bg-success {
    background: linear-gradient(135deg, #198754, #157347) !important;
}

.winner-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-icon::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px dashed #ffc107;
    animation: rotate 10s linear infinite;
}

.winner-info {
    position: relative;
    z-index: 1;
    border-left: 4px solid var(--success-color);
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes confetti {
    0% { transform: translateY(0) rotate(0); opacity: 1; }
    100% { transform: translateY(100px) rotate(360deg); opacity: 0; }
}

/* 响应式调整 */
@media (max-width: 767.98px) {
    .winner-icon {
        width: 80px;
        height: 80px;
    }

    .winner-icon::before {
        width: 90px;
        height: 90px;
    }

    .winner-icon i {
        font-size: 3rem !important;
    }

    .spacer-bottom {
        height: 180px; /* 移动端增加更多空间 */
    }

    .footer-safe-area {
        height: 120px; /* 移动端增加更多底部安全区域 */
    }
}

/* 底部空间样式 */
.spacer-bottom {
    height: 150px; /* 增加高度，确保有足够空间 */
    width: 100%;
    clear: both;
}

/* 登录注册样式 */

/* ====== 竞标页面UI重构增强样式 ====== */
.price-highlight {
    font-size: 2.8rem;
    color: #198754;
    background: linear-gradient(90deg, #e0ffe0 60%, #fff 100%);
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 18px rgba(25,135,84,0.08);
    margin-bottom: 0.5rem;
    display: inline-block;
    letter-spacing: 1px;
    animation: shine 2s linear infinite;
}

@keyframes shine {
    0% { box-shadow: 0 0 0 0 rgba(25,135,84,0.15); }
    50% { box-shadow: 0 0 16px 8px rgba(25,135,84,0.10); }
    100% { box-shadow: 0 0 0 0 rgba(25,135,84,0.15); }
}

.bid-history-list {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    padding: 0.5rem 0.5rem 1rem 0.5rem;
}

.bid-history-item {
    font-size: 1.08rem;
    border-left: 4px solid transparent;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.25s;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
}
.bid-history-item.winner {
    background: linear-gradient(90deg, #fffbe6 60%, #fff 100%);
    border-left: 4px solid #ffc107;
    font-weight: 700;
}
.bid-history-item.border-success {
    border-left: 4px solid #198754;
    background: linear-gradient(90deg, #e6fff3 60%, #fff 100%);
}
.bid-history-item .fw-bold.text-success {
    color: #198754 !important;
}
.bid-history-item .fw-bold.text-warning {
    color: #ffc107 !important;
}
.bid-history-item .bid-amount.lowest-bid {
    color: #198754;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 1px 0 #e0ffe0;
}
.bid-history-item .bid-amount {
    font-size: 1.1rem;
    font-weight: 600;
}

.bid-form {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(13,110,253,0.07);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-bottom: 1rem;
}

.project-card.sticky-top {
    top: 90px !important;
    z-index: 10;
}

@media (max-width: 991.98px) {
    .price-highlight {
        font-size: 2rem;
        padding: 0.4rem 1rem;
    }
    .bid-history-list {
        padding: 0.5rem 0.2rem 1rem 0.2rem;
    }
}

/* 首页美化增强 */
.category-tab {
    background: linear-gradient(90deg, #e3f0ff 0%, #f8f9fa 100%);
    border: 1px solid #d0e2ff;
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 6px;
    box-shadow: 0 2px 8px rgba(13,110,253,0.04);
}
.category-tab.active {
    background: linear-gradient(90deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(13,110,253,0.10);
}
.category-tab:hover {
    background: #e3f0ff;
    color: #0a58ca;
    transform: translateY(-2px) scale(1.04);
}

/* 项目卡片高级美化 */
.project-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(13,110,253,0.10), 0 2px 8px rgba(0,0,0,0.04);
    border: 1.5px solid #f0f4fa;
    padding: 1.2rem 1.3rem 1.1rem 1.3rem;
    transition: box-shadow 0.3s cubic-bezier(.25,.8,.25,1), transform 0.3s cubic-bezier(.25,.8,.25,1);
    position: relative;
    overflow: visible;
}
.project-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 20px 40px rgba(13,110,253,0.16), 0 4px 16px rgba(0,0,0,0.10);
    border-color: #e3f0ff;
}
.project-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    filter: drop-shadow(0 2px 8px rgba(25,135,84,0.10));
}
.card-header {
    background: none;
    border: none;
    padding: 0 0 0.7rem 0;
}
.card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
}
.project-description {
    background: #f8fafd;
    border-radius: 10px;
    padding: 0.7em 1em;
    margin-bottom: 1em;
    min-height: 3.5em;
    font-size: 1.06rem;
    color: #495057;
    box-shadow: 0 1px 4px rgba(13,110,253,0.03);
}
.project-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0d6efd;
    margin-bottom: 0.2em;
    letter-spacing: 1px;
}
.countdown-wrapper {
    background: #eaf6ff;
    border-radius: 8px;
    padding: 7px 16px;
    margin-top: 7px;
    font-size: 1.08em;
    font-weight: 600;
    color: #198754;
    box-shadow: 0 1px 4px rgba(13,110,253,0.04);
}
.bid-count {
    font-weight: 700;
    color: #0d6efd;
    font-size: 1.08em;
}
.project-stats {
    background: #f8fafd;
    border-radius: 8px;
    margin-top: 0.7em;
    padding: 0.5em 0.8em;
    font-size: 0.98em;
    color: #6c757d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.project-stat i {
    color: #0d6efd;
    margin-right: 4px;
}
.btn-view-details {
    font-size: 1.08em;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 0.8em;
    box-shadow: 0 2px 8px rgba(13,110,253,0.08);
    letter-spacing: 0.5px;
}
.btn-view-details:hover {
    background: linear-gradient(90deg, #0d6efd 60%, #0dcaf0 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(13,110,253,0.13);
}
@media (max-width: 767.98px) {
    .project-card {
        padding: 0.8rem 0.7rem 0.8rem 0.7rem;
        border-radius: 14px;
    }
    .project-description {
        font-size: 0.98rem;
        padding: 0.6em 0.7em;
    }
    .project-price {
        font-size: 1.2rem;
    }
} 