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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #1e293b;
    color: #f1f5f9;
    line-height: 1.6;
    padding: 16px;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 800px; margin: 0 auto; }

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.025em;
}

.filters {
    background: #334155;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.filter-row:last-child { margin-bottom: 0; }

.filter-group {
    flex: 1;
    min-width: 140px;
}

.filter-group.lake { flex: 2; min-width: 200px; }

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 4px;
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    font-size: 16px;
    background: #1e293b;
    color: #f1f5f9;
    transition: border-color 0.15s;
}

select {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    font-size: 16px;
    background: #1e293b;
    color: #f1f5f9;
    transition: border-color 0.15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

input:focus, select:focus {
    outline: none;
    border-color: #38bdf8;
}

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

.count {
    font-size: 14px;
    font-weight: 500;
    color: #cbd5e1;
}

.plant-card {
    background: #334155;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.plant-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.lake-name {
    font-size: 18px;
    font-weight: 600;
    color: #f8fafc;
}

.plant-date {
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
}

.plant-details {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

.detail-item {
    display: flex;
    gap: 4px;
}

.detail-label {
    color: #94a3b8;
    font-weight: 500;
}

.detail-value {
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.species-tag {
    display: inline-block;
    background: #0c4a6e;
    color: #7dd3fc;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
    color: #64748b;
}

.loading {
    text-align: center;
    padding: 32px;
    color: #94a3b8;
}

.error-msg {
    background: #450a0a;
    color: #fca5a5;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}
