/**
 * EcoBloom Tracker - Final Deployment Stylesheet (Standard CSS)
 * This stylesheet translates the necessary Tailwind utility classes 
 * into standard CSS to bypass the failed PostCSS compilation.
 */

:root {
    --color-primary: #34d399; /* Green-500 */
    --color-secondary: #4f46e5; /* Indigo-600 */
    --color-text-dark: #1f2937;
    --color-text-medium: #4b5563;
    --color-bg-light: #f7fafc;
    --color-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #ffffff, #f0fdf4, #eef2ff); /* Gradient background */
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.app-container {
    padding: 2rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- Layout --- */
.grid-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 768px) {
    .grid-layout {
        grid-template-columns: 2fr 1fr;
    }
}
@media (min-width: 1024px) {
    .grid-layout {
        grid-template-columns: 2fr 1.5fr 1fr; /* More space for the chart */
    }
}

/* --- Cards and Containers --- */
.card {
    background-color: white;
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: var(--color-shadow);
    padding: 1.5rem;
}

.card-border-green {
    border-top: 4px solid var(--color-primary);
}

.input-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* --- Typography and Components --- */
h1 {
    font-size: 2.25rem; /* 3xl */
    font-weight: 800; /* extabold */
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.5rem; /* 2xl */
    font-weight: 700; /* bold */
    color: var(--color-text-dark);
}

.input-field {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.375rem; /* rounded-md */
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-submit {
    background-color: var(--color-primary);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s, transform 0.1s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
    background-color: #10b981; /* Green-600 */
    transform: scale(1.01);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Status and Stats --- */
.bloom-status-emoji {
    font-size: 4rem; /* 7xl */
    margin-bottom: 0.5rem;
    animation: slow-bounce 4s infinite ease-in-out;
}

.level-text {
    font-size: 1.875rem; /* 3xl */
    font-weight: 800;
    color: var(--color-primary);
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.15s;
    border: 1px solid #e5e7eb;
}

.stat-card:hover {
    transform: scale(1.05);
}

/* --- Utility and Icons --- */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-start {
    display: flex;
    align-items: flex-start;
}

.text-green-700 { color: #047857; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.text-indigo-500 { color: #6366f1; }
.text-yellow-500 { color: #f59e0b; }
.text-red-500 { color: #ef4444; }

@keyframes slow-bounce {
    0%, 100% { transform: translateY(-5%); }
    50% { transform: translateY(0); }
}

/* Specific styling to address layout issues */
.dashboard-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.full-width {
    width: 100%;
}
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.space-y-4 > * + * { margin-top: 1rem; }