* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: url('/static/images/background.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    position: relative;
}

/* 背景图片遮罩层（可选，让文字更清晰） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.3);
    z-index: -1;
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.flash-message {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.flash-success {
    background-color: #10b981;
}

.flash-error {
    background-color: #ef4444;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Login Page */
.login-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.left-section {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    height: 100vh;
}

.slogan {
    color: white;
    margin-bottom: 40px;
    padding-left: 80px;
}

.slogan h1 {
    font-size: 56px;
    font-weight: bold;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slogan .subtitle {
    font-size: 36px;
    color: #fbbf24;
    font-style: italic;
    margin: 15px 0;
}

.sidebar-icons {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.icon-item:hover {
    transform: scale(1.1);
}

.icon-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    background: white;
    border-radius: 50%;
    padding: 10px;
}

.icon-item span {
    font-size: 12px;
}

.right-section {
    width: 480px;
    background: rgba(30, 58, 114, 0.9);
    backdrop-filter: blur(10px);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.login-box {
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 8px;
    text-align: center;
}

.subtitle-text {
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    margin-bottom: 25px;
}

.login-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.tab-btn {
    background: rgba(71, 85, 105, 0.6);
    color: white;
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 10px 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
}

.tab-btn:hover {
    background: rgba(71, 85, 105, 0.8);
}

.tab-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-color: #2563eb;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 6px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.login-form input::placeholder {
    color: #94a3b8;
}

.login-form input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(30, 41, 59, 0.8);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.form-options label {
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.form-options input[type="checkbox"] {
    margin-right: 6px;
}

.forgot-password {
    color: #60a5fa;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.other-login {
    text-align: center;
    margin-bottom: 20px;
}

.other-login p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a img {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    transition: transform 0.3s;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Register Page */
.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.register-modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-header h2 {
    color: #1e293b;
    font-size: 26px;
}

.close-btn {
    font-size: 32px;
    color: #64748b;
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #1e293b;
}

.register-form .form-group {
    margin-bottom: 16px;
    position: relative;
}

.register-form .icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 1;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.register-form input::placeholder {
    color: #94a3b8;
}

.verification {
    display: flex;
    gap: 10px;
}

.verification input {
    flex: 1;
}

.get-code-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.get-code-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.get-code-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    color: #64748b;
    font-size: 14px;
}

.login-link a {
    color: #3b82f6;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Agreement Page */
.agreement-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.agreement-modal {
    background: white;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.agreement-content {
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 8px;
}

.agreement-content h3 {
    color: #1e293b;
    font-size: 22px;
    margin-bottom: 15px;
}

.agreement-content h4 {
    color: #334155;
    font-size: 18px;
    margin: 20px 0 12px 0;
}

.agreement-content p {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.agreement-list {
    padding: 0 15px;
}

.agreement-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.checkbox-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    color: #1e293b;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agreement-link {
    color: #3b82f6;
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

.button-group {
    display: flex;
    gap: 15px;
}

.agree-btn,
.disagree-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.agree-btn {
    background: #94a3b8;
    color: white;
}

.agree-btn.active {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.agree-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.agree-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.disagree-btn {
    background: white;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.disagree-btn:hover {
    background: #f8fafc;
}

/* Dashboard Page */
.dashboard-container {
    min-height: 100vh;
    background: #f1f5f9;
}

.dashboard-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    gap: 25px;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.promo {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 8px 16px;
    font-weight: bold;
}

.user-info {
    font-size: 13px;
}

.banner {
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr 300px;
    gap: 20px;
    padding: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-welcome {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.user-welcome p {
    color: #1e293b;
    font-size: 15px;
    font-weight: bold;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    align-items: center;
}

.action-btn {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #3b82f6, #2563eb) border-box;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    min-width: 120px;
    text-align: center;
}

.action-btn.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.action-btn:not(.primary):hover {
    background: linear-gradient(#f8fafc, #f8fafc) padding-box, linear-gradient(135deg, #60a5fa, #3b82f6) border-box;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-menu {
    display: grid;
    grid-template-columns: repeat(2, 80px);
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.menu-btn {
    padding: 10px 8px;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(135deg, #3b82f6, #2563eb) border-box;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.menu-btn.active {
    background: linear-gradient(#e0f2fe, #e0f2fe) padding-box, linear-gradient(135deg, #3b82f6, #2563eb) border-box;
    color: #0369a1;
}

.menu-btn:hover {
    background: linear-gradient(#f8fafc, #f8fafc) padding-box, linear-gradient(135deg, #60a5fa, #3b82f6) border-box;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.red-btn {
    padding: 15px 10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.3s;
}

.red-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.credit-info {
    text-align: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.credit-info p {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 8px;
}

.credit-value {
    font-size: 28px;
    font-weight: bold;
    color: #3b82f6;
}

.manage-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 13px;
}

.main-content {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stats-section h3,
.products-section h3,
.promotion-section h3,
.streaming-section h3 {
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 15px;
}

.date {
    color: #64748b;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.download-btn {
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s;
}

.download-btn:hover {
    transform: translateY(-2px);
    color: #3b82f6;
}

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

.stat-card {
    background: #f8fafc;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.stat-card.primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

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

.stat-icon {
    font-size: 32px;
}

.stat-label {
    font-size: 13px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
}

.chart-container {
    height: 300px;
    margin-bottom: 30px;
}

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

.product-card {
    background: #fef3c7;
    border-radius: 8px;
    padding: 20px;
}

.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #fde68a;
}

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

.badge {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* Invitation Section */
.invitation-content {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.apply-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-start;
}

.apply-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.form-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.form-row label {
    color: #78350f;
    font-size: 14px;
    font-weight: bold;
}

/* Promotion Cards */
.promotion-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.promotion-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promotion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    position: relative;
    word-wrap: break-word;
}

.card-content h4 {
    color: #1e293b;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tag {
    background: linear-gradient(135deg, #333333, #5c6a88);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-left: 5px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

a.tag {
    text-decoration: none;
    color: white;
}

a.tag:hover {
    opacity: 0.9;
}

.tag.manage {
    background: linear-gradient(135deg, #10b981, #059669);
}

.tag.enter {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.features {
    color: #64748b;
    font-size: 12px;
    margin-bottom: 5px;
}

.status {
    color: #ef4444;
    font-size: 12px;
    margin-bottom: 5px;
}

.account-info {
    color: #475569;
    font-size: 12px;
    line-height: 1.4;
}

.cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    bottom: 5px;
    right: 5px;
    transition: transform 0.3s;
}

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

/* Streaming Section */
.streaming-section {
    margin-bottom: 30px;
}

/* Marketing Section */
.marketing-section {
    margin-bottom: 30px;
}

.marketing-section h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.marketing-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.marketing-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 8px;
}

.marketing-item:hover {
    background: #f8fafc;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.marketing-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.marketing-item p {
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .marketing-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1200px) {
    .marketing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .marketing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .marketing-item img {
        width: 50px;
        height: 50px;
    }
    
    .marketing-item p {
        font-size: 12px;
    }
}

/* 邀约码对话框 */
.invitation-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.invitation-modal .modal-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.invitation-modal h4 {
    color: #1e293b;
    font-size: 20px;
    margin-bottom: 25px;
    font-weight: bold;
}

.invitation-modal input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.invitation-modal input:focus {
    border-color: #3b82f6;
}

.invitation-modal input::placeholder {
    color: #94a3b8;
}

.confirm-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.close-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.close-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* 成功提示 */
.success-toast {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.4);
    animation: fadeIn 0.3s ease-out;
    align-items: center;
    gap: 10px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: white;
    color: #10b981;
    border-radius: 50%;
    font-weight: bold;
    font-size: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.promo-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.promo-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.promo-box img {
    width: 100%;
    height: auto;
    display: block;
}

.promo-box.beta::after {
    content: 'BETA';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
}

/* 轮播图容器 */
.carousel-box {
    position: relative;
    padding: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

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

/* 轮播图指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.carousel-indicators .indicator.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* 轮播图导航按钮 */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.carousel-container:hover .carousel-prev,
.carousel-container:hover .carousel-next {
    opacity: 1;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* 产品动态标题 */
.product-dynamics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-dynamics-header h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.product-dynamics-header .more-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.product-dynamics-header .more-link:hover {
    color: #2563eb;
}

.logout-section {
    text-align: center;
    padding: 20px;
}

.logout-btn {
    display: inline-block;
    padding: 10px 30px;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.logout-btn:hover {
    background: #f8fafc;
    color: #1e293b;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .right-sidebar {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        padding: 20px;
    }
    
    .left-section {
        position: relative;
        padding: 20px;
        height: auto;
        margin-bottom: 20px;
    }
    
    .slogan {
        padding-left: 0;
        text-align: center;
    }
    
    .slogan h1 {
        font-size: 32px;
    }
    
    .sidebar-icons {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
    }
    
    .right-section {
        width: 100%;
        max-width: 480px;
        border-radius: 20px;
    }
    
    .login-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
}


/* 购物车弹窗样式 */
.cart-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.cart-popup.show {
    display: flex;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.popup-content {
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    padding: 30px;
    background-image: linear-gradient(135deg, rgba(240, 244, 255, 0.5) 0%, rgba(219, 234, 254, 0.5) 100%);
    animation: slideUp 0.3s ease;
}

.pricing-section {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.pricing-btn {
    padding: 10px 30px;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    background-color: white;
    color: #3b82f6;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.pricing-btn.active {
    background-color: #3b82f6;
    color: white;
}

.contact-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-icon:hover {
    transform: scale(1.1);
}

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

.payment-btn {
    padding: 8px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    color: #334155;
    font-size: 13px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.cart-section {
    display: flex;
    justify-content: center;
}

.cart-btn-large {
    padding: 15px 40px;
    border: 2px solid #3b82f6;
    border-radius: 25px;
    background-color: white;
    color: #3b82f6;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-btn-large:hover {
    background-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* 加入购物车成功提示 */
#cartSuccess {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

#cartSuccess.show {
    display: block;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-icon {
    font-size: 20px;
}

.toast-message {
    font-size: 16px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* 购物车弹窗样式 */
.cart-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.cart-popup .popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cart-popup .popup-content {
    position: relative;
    z-index: 1001;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

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

.cart-popup .pricing-section {
    margin-bottom: 20px;
    text-align: center;
}

.cart-popup .pricing-btn {
    background-color: #f5f5f5;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    margin: 0 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-popup .pricing-btn.active {
    background-color: #ff7800;
    color: white;
}

.cart-popup .contact-section,
.cart-popup .payment-section {
    margin-bottom: 20px;
}

.cart-popup .section-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cart-popup .contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cart-popup .contact-icon:hover {
    transform: scale(1.1);
}

.cart-popup .payment-btn {
    background-color: #f5f5f5;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 0 5px 5px 0;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-popup .payment-btn:hover {
    background-color: #e0e0e0;
}

.cart-popup .payment-btn.wechat {
    background-color: #07c160;
    color: white;
}

.cart-popup .payment-btn.alipay {
    background-color: #1677ff;
    color: white;
}

.cart-popup .cart-section {
    text-align: center;
}

.cart-popup .cart-btn-large {
    background: linear-gradient(135deg, #ff7800, #ff4400);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.cart-popup .cart-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 120, 0, 0.4);
}

/* 加入购物车成功提示 */
#cartSuccess {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #52c41a, #389e0d);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    z-index: 1002;
    animation: fadeIn 0.3s ease-out;
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

#cartSuccess .toast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#cartSuccess .toast-icon {
    font-size: 18px;
    font-weight: bold;
}

#cartSuccess .toast-message {
    font-size: 16px;
}

/* 企业建站弹窗样式 */
.website-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-modal.show {
    opacity: 1;
}

.website-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.website-modal .modal-content {
    position: relative;
    z-index: 1001;
    background-color: white;
    border-radius: 8px;
    padding: 0;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.website-modal.show .modal-content {
    transform: translateY(0);
}

.website-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e8e8e8;
    background-color: #fafafa;
    border-radius: 8px 8px 0 0;
}

.website-modal .modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.website-modal .modal-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.website-modal .modal-close-btn:hover {
    color: #333;
}

.website-modal .modal-body {
    padding: 16px;
}

.website-modal .website-item {
    margin-bottom: 24px;
}

.website-modal .website-item h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.website-modal .website-preview {
    border: 1px dashed #e0e0e0;
    border-radius: 2px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.3s ease;
}

.website-modal .preview-placeholder {
    font-size: 36px;
    color: #ccc;
    font-weight: 100;
}

.website-modal .website-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.website-modal .website-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.website-modal .website-logo {
    display: inline-block;
    padding: 4px 8px;
    background-color: white;
    color: #666;
    border: 1px solid #ccc;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 500;
}

.website-modal .website-domain {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-modal .website-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.website-modal .status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #52c41a;
    border-radius: 50%;
}

.website-modal .website-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.website-modal .action-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 2px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.website-modal .visit-btn {
    background-color: #f0f0f0;
    color: #666;
}

.website-modal .visit-btn:hover {
    background-color: #e0e0e0;
}

.website-modal .manage-btn {
    background-color: #ff7800;
    color: white;
}

.website-modal .manage-btn:hover {
    background-color: #ff6600;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .website-modal .website-row {
        flex-direction: column;
    }
    
    .website-modal .website-preview {
        height: 80px;
    }
    
    .website-modal .website-actions {
        flex-direction: column;
    }
    
    .website-modal .action-btn {
        width: 100%;
    }
}

/* Logo样式 */
.dashboard-header .logo-container {
    padding: 10px 15px;
}

.dashboard-header .site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* 更新企业建站弹窗样式 */
.website-modal .website-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.website-modal .website-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.website-modal .website-item h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.website-modal .website-box {
    border: 1px dashed #c0c0c0;
    border-radius: 2px;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    transition: all 0.3s ease;
}

.website-modal .box-placeholder {
    font-size: 36px;
    color: #ccc;
    font-weight: 100;
}

.website-modal .website-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.website-modal .website-info-box {
    width: 200px;
    border: 1px dashed #c0c0c0;
    border-radius: 2px;
    padding: 12px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.website-modal .website-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.website-modal .website-logo-section {
    flex-shrink: 0;
}

.website-modal .website-details {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.website-modal .website-domain {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.website-modal .logo-container {
    position: relative;
}

.website-modal .logo-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.website-modal .logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.website-modal .website-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.website-modal .action-btn {
    padding: 4px 12px;
    border: none;
    border-radius: 2px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.website-modal .visit-btn {
    background-color: #ffd100;
    color: white;
}

.website-modal .manage-btn {
    background-color: #ff0000;
    color: white;
}

.website-modal .visit-btn:hover,
.website-modal .manage-btn:hover {
    opacity: 0.9;
}

.website-modal .visit-btn:active,
.website-modal .manage-btn:active {
    transform: translateY(1px);
}

/* 移除旧的preview样式 */
.website-modal .website-preview {
    display: none;
}

.website-modal .preview-placeholder {
    display: none;
}

/* 证件管理页面样式 */
.certificate-manage-container {
    min-height: 100vh;
    background: #f5f7fa;
}

.certificate-manage-container .document-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.document-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.document-title {
    color: #1e293b;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.document-form .form-group {
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
}

.document-form .form-label {
    width: 150px;
    padding-top: 10px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 500;
    text-align: right;
    padding-right: 20px;
    flex-shrink: 0;
}

.document-form .form-input-text {
    width: 350px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.document-form .form-input-text:focus {
    border-color: #3b82f6;
}

.document-form .form-section-title {
    color: #1e293b;
    font-size: 16px;
    font-weight: bold;
    margin: 25px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.document-form .upload-wrapper {
    flex: 1;
}

.document-form .upload-box {
    width: 140px;
    height: 140px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-form .upload-box:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.document-form .upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.document-form .upload-icon {
    font-size: 48px;
    color: #cbd5e1;
    line-height: 1;
    margin-bottom: 8px;
}

.document-form .upload-text {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

.document-form .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.document-form .upload-hint {
    margin-top: 10px;
    color: #94a3b8;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.5;
}

.document-form .hint-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

.document-form .form-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.document-form .save-btn {
    padding: 12px 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.document-form .save-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.document-form .save-btn:active {
    transform: translateY(0);
}

/* 在线客服弹窗样式 */
.customer-service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.customer-service-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.customer-service-modal .modal-dialog {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

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

.customer-service-modal .modal-header h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.customer-service-modal .modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.customer-service-modal .modal-close:hover {
    color: #64748b;
}

.customer-service-modal .modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.customer-service-modal .service-section {
    margin-bottom: 25px;
}

.customer-service-modal .service-section:last-child {
    margin-bottom: 0;
}

.customer-service-modal .service-section h4 {
    color: #1e293b;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.customer-service-modal .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 10px;
}

.customer-service-modal .checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    user-select: none;
}

.customer-service-modal .checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.customer-service-modal .modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
}

.customer-service-modal .btn-save {
    padding: 10px 40px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.customer-service-modal .btn-save:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* 推广实况页面样式 */
.promotion-live-container {
    min-height: 100vh;
    background: #f5f7fa;
}

.promotion-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

.page-title {
    color: #1e293b;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

.search-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-group label {
    color: #4a5568;
    font-size: 14px;
    white-space: nowrap;
}

.search-input {
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    width: 180px;
}

.search-input:focus {
    border-color: #3b82f6;
}

.search-btn {
    padding: 8px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: #2563eb;
}

.data-table-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f8fafc;
}

.data-table th {
    padding: 15px 12px;
    text-align: left;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.data-table td {
    padding: 12px;
    color: #4a5568;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.quality-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.quality-A {
    background: #fee2e2;
    color: #dc2626;
}

.quality-F {
    background: #dbeafe;
    color: #2563eb;
}

.page-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 4px;
    font-size: 12px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
}

.page-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #4a5568;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 40px;
}

.page-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

.page-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    padding: 8px 4px;
    color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .document-form-wrapper {
        padding: 20px;
    }
    
    .document-form .form-group {
        flex-direction: column;
    }
    
    .document-form .form-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-bottom: 10px;
    }
    
    .document-title {
        font-size: 20px;
    }
    
    .customer-service-modal .modal-dialog {
        width: 95%;
        max-height: 90vh;
    }
    
    .customer-service-modal .checkbox-group {
        flex-direction: column;
    }
}
