@charset "UTF-8";
/* Blue & White Minimalist Theme Styles */
:root {
    /* Blue & White Minimalist Colors */
    --primary-blue: #2563eb;
    --secondary-blue: #1d4ed8;
    --light-blue: #3b82f6;
    --accent-blue: #60a5fa;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --text-black: #1f2937;
    --text-gray: #6b7280;

    /* Gradient Colors */
    --blue-gradient: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    --light-gradient: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
}

/* Global Style Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-black);
    background-color: var(--pure-white);
}

/* Navigation Bar Styles */
.navbar {
    background: var(--blue-gradient) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

/* Admin Navigation Bar - Same styling as main navbar */
.maotai-navbar {
    background: var(--blue-gradient) !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.1);
}

.navbar-brand {
    color: white !important;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    margin: 0;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 10px;
    padding: 8px 16px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white !important;
}

.navbar-nav .nav-link.active {
    background-color: var(--accent-blue);
    color: var(--pure-white) !important;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column !important;
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        display: block;
    }
}

/* Hero Section */
.hero-section {
    background: var(--blue-gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--pure-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--pure-white);
    opacity: 0.9;
}

.btn-hero {
    background: var(--light-gradient);
    color: var(--pure-white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: var(--pure-white);
}

.btn-hero.btn-outline {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.btn-hero.btn-outline:hover {
    background: var(--pure-white);
    color: var(--primary-blue);
}

/* Statistics Section */
.stats-section {
    padding: 60px 0;
    background: var(--off-white);
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease;
    border-left: 5px solid var(--primary-blue);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-card .stat-label {
    font-size: 1.1rem;
    color: var(--text-black);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--pure-white);
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.feature-card .feature-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-black);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--light-gradient);
    color: var(--pure-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--pure-white);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--pure-white);
}

/* Form Styles */
.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--pure-white);
    color: var(--text-black);
}

.form-control:focus {
    border-color: var(--light-blue);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    background: var(--pure-white);
    color: var(--text-black);
}

.form-label {
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
}

/* Button Styles */
.btn-primary {
    background: var(--blue-gradient) !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    color: var(--pure-white) !important;
}

.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3) !important;
    color: var(--pure-white) !important;
}

.btn-outline-primary {
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary-blue) !important;
    color: var(--pure-white) !important;
}

.btn-success {
    background: var(--light-blue) !important;
    border-color: var(--light-blue) !important;
    color: var(--pure-white) !important;
}

.btn-danger {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: var(--pure-white) !important;
}

/* Table Styles */
.table {
    background: var(--pure-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.table thead th {
    background: var(--light-gradient);
    color: var(--pure-white);
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    border-color: #f1f5f9;
    color: var(--text-black);
}

.table tbody tr:hover {
    background-color: var(--off-white);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--pure-white);
}

.card-header {
    background: var(--light-gradient) !important;
    color: var(--pure-white) !important;
    border: none !important;
    border-radius: 15px 15px 0 0 !important;
    padding: 20px !important;
    font-weight: 600 !important;
}

.card-body {
    padding: 30px;
    color: var(--text-black);
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.alert-warning {
    background: #fefce8;
    color: #a16207;
    border-left: 4px solid #eab308;
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid var(--primary-blue);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: var(--pure-white);
}

.modal-header {
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 30px;
    background: var(--off-white);
    border-radius: 15px 15px 0 0;
}

.modal-title {
    font-weight: 600;
    color: var(--text-black);
}

.modal-body {
    padding: 30px;
    color: var(--text-black);
}

.modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 20px 30px;
    background: var(--off-white);
    border-radius: 0 0 15px 15px;
}

/* Badge Styles */
.badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.badge-success {
    background: #22c55e;
    color: var(--pure-white);
}

.badge-danger {
    background: #ef4444;
    color: var(--pure-white);
}

.badge-warning {
    background: #eab308;
    color: var(--text-black);
}

.badge-info {
    background: var(--primary-blue);
    color: var(--pure-white);
}

.badge-secondary {
    background: var(--text-gray);
    color: var(--pure-white);
}

/* Progress Bar */
.progress {
    height: 10px;
    border-radius: 10px;
    background: #e2e8f0;
    overflow: hidden;
}

.progress-bar {
    background: var(--blue-gradient);
    transition: width 0.6s ease;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-blue);
    border: 1px solid #e2e8f0;
    padding: 10px 15px;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.pagination .page-link:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    border-color: var(--primary-blue);
}

.pagination .page-item.active .page-link {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--pure-white);
}

/* Footer */
.footer {
    background: var(--text-black);
    color: var(--pure-white);
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer h5 {
    color: var(--pure-white);
    margin-bottom: 20px;
    font-weight: 600;
}

.footer p, .footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
        margin: 5px;
        display: block;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-blue) !important;
}

.text-secondary {
    color: var(--text-gray) !important;
}

.bg-primary {
    background: var(--blue-gradient) !important;
}

.bg-light {
    background: var(--off-white) !important;
}

.border-primary {
    border-color: var(--primary-blue) !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.rounded-lg {
    border-radius: 15px !important;
}

.rounded-xl {
    border-radius: 20px !important;
}

/* Authentication Pages Styles */
.maotai-auth-page {
    min-height: 100vh;
    background: #000000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
}

/* 星空背景动画 */
.maotai-auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 0, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 255, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 165, 0, 0.8), transparent),
        radial-gradient(1px 1px at 200px 90px, rgba(255, 192, 203, 0.8), transparent),
        radial-gradient(2px 2px at 240px 50px, rgba(144, 238, 144, 0.8), transparent),
        radial-gradient(1px 1px at 280px 10px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 320px 70px, rgba(255, 20, 147, 0.8), transparent),
        radial-gradient(2px 2px at 360px 40px, rgba(0, 191, 255, 0.8), transparent);
    background-repeat: repeat;
    background-size: 400px 200px;
    animation: starfield 20s linear infinite;
    z-index: 1;
}

@keyframes starfield {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.maotai-auth-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 0;
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.maotai-auth-card {
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    padding: 40px;
    border: 2px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.maotai-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--blue-gradient);
}

.maotai-auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.maotai-logo {
    width: 60px;
    height: 60px;
    background: var(--blue-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.maotai-logo i {
    font-size: 24px;
    color: var(--pure-white);
}

.maotai-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-black);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.maotai-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.maotai-form {
    margin-bottom: 30px;
}

.maotai-form .form-group {
    margin-bottom: 25px;
}

.maotai-form .form-label {
    font-weight: 600;
    color: var(--text-black);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

.maotai-form .form-label i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.maotai-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-black);
    background-color: var(--pure-white);
    transition: all 0.3s ease;
}

.maotai-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: var(--pure-white);
}

.maotai-input::placeholder {
    color: var(--text-gray);
}

.maotai-form-text {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 5px;
}

.maotai-btn-primary {
    width: 100%;
    padding: 14px 20px;
    background: var(--blue-gradient);
    color: var(--pure-white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.maotai-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.maotai-btn-primary:active {
    transform: translateY(0);
}

.maotai-btn-secondary {
    width: 100%;
    padding: 12px 20px;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.maotai-btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--pure-white);
    text-decoration: none;
}

.maotai-auth-links {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.maotai-auth-links p {
    margin-bottom: 10px;
    color: var(--text-gray);
    font-size: 14px;
}

.maotai-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.maotai-link:hover {
    color: var(--secondary-blue);
    text-decoration: underline;
}

.maotai-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

.maotai-alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.maotai-alert-danger {
    background-color: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.password-strength {
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

.strength-weak {
    color: #dc2626;
}

.strength-medium {
    color: #f59e0b;
}

.strength-strong {
    color: #059669;
}

/* Responsive Design */
@media (max-width: 480px) {
    .maotai-auth-card {
        padding: 30px 25px;
        margin: 10px;
    }
    
    .maotai-title {
        font-size: 24px;
    }
    
    .maotai-subtitle {
        font-size: 14px;
    }
}
