/* Box Forming Calculator CSS */
/* Inheriting design patterns from main site for perfect consistency */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(to bottom right, #f8fafc, #e0f2fe);
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 40;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
}

.nav-link {
    color: #374151; /* 改为更深的灰色以提高对比度 */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #059669;
}

/* Breadcrumb */
.breadcrumb {
    margin: 2rem 0 1rem 0;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.breadcrumb a {
    color: #4b5563; /* 改为更深的灰色以提高对比度 */
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #059669;
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1f2937, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563; /* 改为更深的灰色以提高对比度 */
    max-width: 800px;
    margin: 0 auto;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Card Components */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
}

.card-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-content {
    padding: 2rem;
}

/* Tabs */
.tabs-container {
    width: 100%;
}

.tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: #f3f4f6;
    border-radius: 0.75rem;
}

.tab-trigger {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #4b5563; /* 改为更深的灰色以提高对比度 */
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.tab-trigger.active {
    background: white;
    color: #059669;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab-trigger:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.input, .select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input:focus, .select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #d1d5db;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #059669;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #059669;
    cursor: pointer;
    border: none;
}

.slider-value {
    text-align: center;
    font-weight: 600;
    color: #059669;
    margin-top: 0.5rem;
}

/* Results */
.results-container {
    width: 100%;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid #e0f2fe;
}

.result-card h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.result-value {
    font-size: 2rem;
    font-weight: 800;
    color: #059669;
    margin-bottom: 0.25rem;
}

.result-unit {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Charts */
.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.chart-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.chart-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    text-align: center;
}

.chart-wrapper {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

/* Templates */
.templates-container h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 1.5rem;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.template-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.template-card:hover {
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
    transform: translateY(-2px);
}

.template-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.template-card p {
    font-size: 0.875rem;
    color: #6b7280;
}

/* History */
.history-container {
    width: 100%;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.history-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #374151;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.history-item:hover {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    box-shadow: 0 4px 6px rgba(5, 150, 105, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #047857, #10b981);
    box-shadow: 0 6px 12px rgba(5, 150, 105, 0.4);
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.calculate-section {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* How It Works */
.how-it-works {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #059669, #34d399);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.use-case {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.use-case:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
}

.use-case p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Related Calculators */
.related-calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.calculator-category {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border: 1px solid #e0f2fe;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s;
}

.calculator-category:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.calculator-category.current {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #a7f3d0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.category-icon {
    font-size: 2rem;
}

.category-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #374151;
}

.calculator-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calculator-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
    padding: 0.25rem 0;
}

.calculator-link:hover {
    color: #059669;
}

.calculator-link.current {
    color: #059669;
    font-weight: 600;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    background: white;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #374151;
    transition: background-color 0.2s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.2s;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    background: #f8fafc;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .tabs-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-trigger {
        min-width: auto;
        font-size: 0.875rem;
        padding: 0.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .charts-container {
        grid-template-columns: 1fr;
    }
    
    .how-it-works {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .related-calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .history-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #059669;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Utility Classes - 补充缺失的Tailwind类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.m-0 { margin: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:scale-105:hover { transform: scale(1.05); }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* Background Classes */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

/* Text Colors */
.text-gray-900 { color: #111827; }
.text-gray-600 { color: #4b5563; }
.text-blue-700 { color: #1d4ed8; }
.text-green-700 { color: #15803d; }
.text-purple-700 { color: #7c3aed; }
.text-orange-700 { color: #c2410c; }
.text-red-700 { color: #b91c1c; }
.text-indigo-700 { color: #4338ca; }

/* Text Sizes */
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

/* Font Weight */
.font-bold { font-weight: 700; }

/* Border */
.border { border-width: 1px; }
.border-blue-100 { border-color: #dbeafe; }
.border-green-100 { border-color: #dcfce7; }
.border-purple-100 { border-color: #f3e8ff; }
.border-orange-100 { border-color: #fed7aa; }
.border-red-100 { border-color: #fee2e2; }
.border-indigo-100 { border-color: #e0e7ff; }
.border-blue-200 { border-color: #bfdbfe; }
.border-green-200 { border-color: #bbf7d0; }
.border-purple-200 { border-color: #e9d5ff; }
.border-orange-200 { border-color: #fed7aa; }
.border-red-200 { border-color: #fecaca; }
.border-indigo-200 { border-color: #c7d2fe; }
.border-gray-100 { border-color: #f3f4f6; }

/* Background Gradients */
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-to: rgba(249, 250, 251, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-gray-100 { --tw-gradient-to: #f3f4f6; }
.from-blue-50 { --tw-gradient-from: #eff6ff; --tw-gradient-to: rgba(239, 246, 255, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-blue-100 { --tw-gradient-to: #dbeafe; }
.from-green-50 { --tw-gradient-from: #f0fdf4; --tw-gradient-to: rgba(240, 253, 244, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-green-100 { --tw-gradient-to: #dcfce7; }
.from-purple-50 { --tw-gradient-from: #faf5ff; --tw-gradient-to: rgba(250, 245, 255, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-purple-100 { --tw-gradient-to: #f3e8ff; }
.from-orange-50 { --tw-gradient-from: #fff7ed; --tw-gradient-to: rgba(255, 247, 237, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-orange-100 { --tw-gradient-to: #ffedd5; }
.from-red-50 { --tw-gradient-from: #fef2f2; --tw-gradient-to: rgba(254, 242, 242, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-red-100 { --tw-gradient-to: #fee2e2; }
.from-indigo-50 { --tw-gradient-from: #eef2ff; --tw-gradient-to: rgba(238, 242, 255, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-indigo-100 { --tw-gradient-to: #e0e7ff; }
.from-blue-500 { --tw-gradient-from: #3b82f6; --tw-gradient-to: rgba(59, 130, 246, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.from-green-500 { --tw-gradient-from: #10b981; --tw-gradient-to: rgba(16, 185, 129, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-green-600 { --tw-gradient-to: #059669; }
.from-purple-500 { --tw-gradient-from: #8b5cf6; --tw-gradient-to: rgba(139, 92, 246, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-purple-600 { --tw-gradient-to: #7c3aed; }

/* Hover Colors */
.hover\:text-blue-600:hover { color: #2563eb; }
.hover\:text-green-600:hover { color: #16a34a; }
.hover\:text-purple-600:hover { color: #9333ea; }
.hover\:text-orange-600:hover { color: #ea580c; }
.hover\:text-red-600:hover { color: #dc2626; }
.hover\:text-indigo-600:hover { color: #4f46e5; }

/* Leading (Line Height) */
.leading-relaxed { line-height: 1.625; }

/* Space */
.space-y-3 > * + * { margin-top: 0.75rem; }

/* Responsive Classes */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 400px;
    font-size: 0.875rem;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: #059669;
    background: #ecfdf5;
    color: #047857;
}

.notification.error {
    border-color: #dc2626;
    background: #fef2f2;
    color: #b91c1c;
}

.notification.warning {
    border-color: #d97706;
    background: #fffbeb;
    color: #92400e;
}

/* Privacy Banner Styles */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 50;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.privacy-banner.show {
    transform: translateY(0);
}

/* Privacy Modal Styles */
.privacy-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 60;
    display: none;
}

.privacy-modal.show {
    display: flex;
}

/* Button Styles for Privacy */
.btn-privacy {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-privacy.primary {
    background: #2563eb;
    color: white;
}

.btn-privacy.primary:hover {
    background: #1d4ed8;
}

.btn-privacy.outline {
    background: transparent;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-privacy.outline:hover {
    background: #f9fafb;
} 