@charset "utf-8";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei', 'PingFang SC', sans-serif;
}

body {
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 0 5%;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 60px;
    display: flex;
    align-items: center;
}
.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #2563eb;
}

.nav-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background: #eff6ff;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.banner {
    margin-top: 80px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 80px 5%;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.banner-text {
    flex: 1;
}

.banner-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    line-height: 1.3;
}

.banner-text h2 span {
    color: #2563eb;
}

.banner-text p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 500px;
}

.banner-img {
    flex: 1;
    text-align: center;
}

.banner-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
}

.func-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.func-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.func-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.func-card h3 {
    font-size: 20px;
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 600;
}

.func-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* 閲囪喘淇℃伅琛ㄦ牸 - 鐜颁唬绠�绾� */
.procurement-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-top: 20px;
}

.procurement-table {
    width: 100%;
    border-collapse: collapse;
}

.procurement-table th {
    padding: 18px 15px;
    text-align: left;
    font-size: 15px;
    color: #1e293b;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
    background: #f8fafc;
}

.procurement-table td {
    padding: 16px 15px;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.procurement-table tbody tr:hover {
    background: #f8fafc;
}

.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}

.status-ended {
    background: #ecfdf5;
    color: #059669;
}

.status-failed {
    background: #fef2f2;
    color: #dc2626;
}

.status-filed {
    background: #f1f5f9;
    color: #64748b;
}

.view-btn {
    padding: 6px 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.2s;
}

.view-btn:hover {
    background: #1d4ed8;
}

.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 5% 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #38bdf8;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    font-size: 14px;
    color: #94a3b8;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: flex;
}

.login-left {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right {
    flex: 1;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 40px;
}

.login-left h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-left p {
    color: #64748b;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 16px;
    font-size: 14px;
    transition: border 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.form-options label {
    font-size: 14px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-options a {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

.form-options a:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 48px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.login-btn:hover {
    background: #1d4ed8;
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
}

.login-footer a {
    color: #2563eb;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* 鐧诲綍鍗＄墖鏍峰紡 */
.login-wrapper {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 50px 40px;
    position: relative;
}

/* LOGO */
.logo-box {
    text-align: center;
    margin-bottom: 30px;
}
.logo-box img {
    height: 60px;
}

.role-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 35px;
}
.role-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}
.role-tab.active {
    background: #2563eb;
    color: #fff;
}

.login-form {
    display: none;
}
.login-form.active {
    display: block;
}

.form-item {
    margin-bottom: 24px;
}
.form-item label {
    display: block;
    font-size: 15px;
    color: #334155;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-item input {
    width: 100%;
    height: 50px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: border 0.2s;
}
.form-item input:focus {
    border-color: #2563eb;
}

.captcha-box {
    display: flex;
    gap: 12px;
    align-items: center;
}
.captcha-box input {
    flex: 1;
}
.captcha-img {
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

.login-btn {
    width: 100%;
    height: 52px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}
.login-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 14px;
}
.form-links a {
    color: #64748b;
    text-decoration: none;
}
.form-links a:hover {
    color: #2563eb;
}

.back-home {
    text-align: center;
    margin-top: 35px;
    font-size: 14px;
    color: #64748b;
}
.back-home a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 576px) {
    .login-wrapper {
        padding: 40px 25px;
    }
    .logo-box img {
        height: 50px;
    }
}

.info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 30px;
}

.info-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.info-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.info-value {
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
}

.table-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 30px;
    margin-bottom: 30px;
}

.table-container h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .banner-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .banner-text p {
        max-width: 100%;
    }
    .banner-text h1 {
        font-size: 36px;
    }
    .nav-menu {
        gap: 20px;
    }
    .login-box {
        flex-direction: column;
    }
    .login-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .section-title {
        font-size: 28px;
    }
    .procurement-table {
        font-size: 13px;
    }
    .procurement-table th, .procurement-table td {
        padding: 12px 8px;
    }
    .logo {
        height: 45px;
    }
    .login-left, .login-right {
        padding: 40px 20px;
    }
    .info-row {
        grid-template-columns: 1fr;
    }
}
