/* AquaFindr Stocking Calculator Styles */

:root {
    --aqfr-primary: #006198;
    --aqfr-primary-dark: #004a75;
    --aqfr-secondary: #28a745;
    --aqfr-warning: #ffc107;
    --aqfr-danger: #dc3545;
    --aqfr-info: #17a2b8;
    --aqfr-light: #f8f9fa;
    --aqfr-dark: #343a40;
    --aqfr-border: #dee2e6;
    --aqfr-border-radius: 8px;
    --aqfr-shadow: 0 2px 10px rgba(0, 97, 152, 0.1);
    --aqfr-transition: all 0.3s ease;
}

#tank-preset {
    padding: 0px 25px 0 15px;
}

.add-species {
    display: flex;
    align-items: end;
}

.aqfr-stocking-calculator {
    max-width: 1000px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
}

.calculator-section {
    background: white;
    border: 1px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--aqfr-shadow);
    transition: var(--aqfr-transition);
}

.calculator-section:hover {
    box-shadow: 0 4px 20px rgba(0, 97, 152, 0.15);
}

.calculator-section h3 {
    color: var(--aqfr-primary);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--aqfr-border);
}

/* Form Styles */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group.dimension-input {
    max-width: 180px;
}

.form-group.email-input {
    max-width: 300px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--aqfr-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    font-size: 16px;
    transition: var(--aqfr-transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--aqfr-primary);
    box-shadow: 0 0 0 3px rgba(0, 97, 152, 0.1);
}

.form-group input:readonly {
    background: var(--aqfr-light);
    color: var(--aqfr-dark);
}

.form-group small {
    color: #6c757d;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Volume Display Styles */
.volume-display {
    display: flex;
    gap: 15px;
    align-items: center;
}

.volume-gallons,
.volume-liters {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-gallons input,
.volume-liters input {
    width: 80px;
    padding: 8px 10px;
    border: 2px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    font-size: 14px;
    background: var(--aqfr-light);
    color: var(--aqfr-dark);
}

.volume-unit {
    font-size: 14px;
    color: var(--aqfr-dark);
    font-weight: 500;
}

/* Species Search Styles */
.species-search {
    margin-bottom: 30px;
}

/* Typeahead Search Styles */
.typeahead-container {
    position: relative;
    margin-bottom: 15px;
}

.typeahead-container input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    font-size: 16px;
    transition: var(--aqfr-transition);
}

.typeahead-container input:focus {
    outline: none;
    border-color: var(--aqfr-primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.species-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid var(--aqfr-border);
    border-top: none;
    border-radius: 0 0 var(--aqfr-border-radius) var(--aqfr-border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.species-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: var(--aqfr-transition);
}

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

.dropdown-item:hover,
.dropdown-item.highlighted {
    background: var(--aqfr-light);
}

.dropdown-item-name {
    font-weight: 600;
    color: var(--aqfr-primary);
    margin-bottom: 2px;
}

.dropdown-item-details {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

.dropdown-no-results {
    padding: 15px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

/* Selected Species Styles */
.selected-species h4 {
    color: var(--aqfr-primary);
    margin-bottom: 15px;
}

.species-list {
    min-height: 100px;
    border: 1px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    padding: 15px;
    background: var(--aqfr-light);
}

.species-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    padding: 15px;
    margin-bottom: 10px;
    transition: var(--aqfr-transition);
}

.species-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.species-info h5 {
    margin: 0 0 5px 0;
    color: var(--aqfr-primary);
    font-weight: 600;
}

.species-info p {
    margin: 0;
    color: #6c757d;
    line-height: 1.4;
}

.species-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    border: 1px solid var(--aqfr-border);
    border-radius: 4px;
    text-align: center;
}

.remove-species-btn {
    background: transparent;
    color: #6c757d;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--aqfr-transition);
    border-radius: 4px;
}

.remove-species-btn:hover {
    background: #f8f9fa;
    color: var(--aqfr-danger);
    transform: none;
}

.empty-message {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    margin: 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--aqfr-border-radius);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--aqfr-transition);
    text-align: center;
    line-height: 1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-primary {
    background: var(--aqfr-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--aqfr-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 97, 152, 0.3);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-success {
    background: var(--aqfr-secondary);
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-info {
    background: var(--aqfr-info);
    color: white;
}

.btn-info:hover {
    background: #138496;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 18px;
}

/* Calculator Actions */
.calculator-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
}

/* Results Section */
.results-section {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
}

#calculation-results {
    margin-bottom: 30px;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-metric {
    background: white;
    border: 2px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--aqfr-transition);
}

.result-metric:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.result-metric h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: var(--aqfr-dark);
}

.result-value {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 5px;
}

.result-label {
    font-size: 14px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-indicator {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-excellent {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-good {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-caution {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-poor {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Warnings and Recommendations */
.warnings-section,
.recommendations-section {
    margin-bottom: 20px;
}

.warnings-section h5,
.recommendations-section h5 {
    color: var(--aqfr-primary);
    margin-bottom: 10px;
}

.warnings-list,
.recommendations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.warnings-list li {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--aqfr-border-radius);
    padding: 10px 15px;
    margin-bottom: 8px;
    color: #856404;
}

.recommendations-list li {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: var(--aqfr-border-radius);
    padding: 10px 15px;
    margin-bottom: 8px;
    color: #0c5460;
}

/* Species Breakdown */
.species-breakdown {
    margin-top: 20px;
}

.species-breakdown h5 {
    color: var(--aqfr-primary);
    margin-bottom: 15px;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--aqfr-border-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.breakdown-table th,
.breakdown-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--aqfr-border);
}

.breakdown-table th {
    background: var(--aqfr-primary);
    color: white;
    font-weight: 600;
}

.breakdown-table tr:hover {
    background: var(--aqfr-light);
}


/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-content {
    background: white;
    border-radius: var(--aqfr-border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--aqfr-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.loading-text {
    margin: 0;
    color: var(--aqfr-dark);
    font-size: 18px;
    font-weight: 600;
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: var(--aqfr-transition);
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.progress-fill.excellent {
    background-color: var(--aqfr-secondary);
}

.progress-fill.good {
    background-color: var(--aqfr-info);
}

.progress-fill.caution {
    background-color: var(--aqfr-warning);
}

.progress-fill.poor {
    background-color: var(--aqfr-danger);
}

/* Alert Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--aqfr-border-radius);
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aqfr-stocking-calculator {
        padding: 15px;
    }

    .calculator-section {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group.dimension-input {
        max-width: none;
    }

    .search-input-group {
        flex-direction: column;
    }

    .species-item {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .species-controls {
        justify-content: space-between;
    }

    .calculator-actions {
        flex-direction: column;
    }

    .result-summary {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .breakdown-table {
        font-size: 14px;
    }

    .breakdown-table th,
    .breakdown-table td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .calculator-section {
        padding: 15px;
        margin-bottom: 20px;
    }

    .calculator-section h3 {
        font-size: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 16px;
    }

    .result-value {
        font-size: 24px;
    }
}

/* Calculation Methods Grid Styles */
.calculation-methods {
    margin-bottom: 25px;
}

.calculation-methods h4 {
    color: var(--aqfr-primary);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.method-card {
    background: white;
    border: 1px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--aqfr-transition);
}

.method-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.method-card h5 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--aqfr-primary);
}

.method-description {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.4;
}

.method-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.method-capacity {
    font-size: 14px;
    color: var(--aqfr-dark);
}

.method-percentage {
    font-size: 18px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f8f9fa;
}

.method-percentage.excellent {
    background: #d4edda;
    color: #155724;
}

.method-percentage.good {
    background: #d1ecf1;
    color: #0c5460;
}

.method-percentage.warning {
    background: #fff3cd;
    color: #856404;
}

.method-percentage.danger {
    background: #f8d7da;
    color: #721c24;
}

.recommended-method {
    border: 2px solid var(--aqfr-primary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.recommended-method::before {
    content: "RECOMMENDED";
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--aqfr-primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 0 var(--aqfr-border-radius) 0 8px;
    letter-spacing: 0.5px;
}

.recommended-method {
    position: relative;
}

/* Volume Display Styles */
.volume-display {
    display: flex;
    gap: 15px;
    align-items: center;
}

.volume-gallons,
.volume-liters {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-unit {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

#tank-volume,
#tank-volume-liters {
    width: 80px;
}

/* Tank Preset Styles */
#tank-preset {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Compatibility Disclaimer Styles */
.compatibility-disclaimer {
    margin-bottom: 20px;
}

.disclaimer-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--aqfr-border-radius);
    padding: 15px;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

.disclaimer-box strong {
    color: #856404;
    margin-right: 8px;
}


/* Custom Fish Styles */
.custom-fish-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--aqfr-border);
}

.custom-fish-section h4 {
    color: var(--aqfr-primary);
    margin-bottom: 10px;
}

.custom-fish-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}

.custom-fish-form {
    background: #f8f9fa;
    border-radius: var(--aqfr-border-radius);
    padding: 20px;
}

.bioload-selection {
    width: 100%;
}

.bioload-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.bioload-options input[type="radio"] {
    display: none;
}

.bioload-option {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 2px solid var(--aqfr-border);
    border-radius: var(--aqfr-border-radius);
    background: white;
    cursor: pointer;
    transition: var(--aqfr-transition);
    text-align: center;
}

.bioload-option:hover {
    border-color: var(--aqfr-primary);
    transform: translateY(-2px);
}

.bioload-options input[type="radio"]:checked + .bioload-option {
    border-color: var(--aqfr-primary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 4px 15px rgba(0, 97, 152, 0.1);
}

.bioload-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--aqfr-primary);
    margin-bottom: 5px;
}

.bioload-description {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.4;
}

.bioload-option.slim .bioload-title {
    color: #28a745;
}

.bioload-option.medium .bioload-title {
    color: #ffc107;
}

.bioload-option.heavy .bioload-title {
    color: #dc3545;
}

.bioload-options input[type="radio"]:checked + .bioload-option.slim {
    border-color: #28a745;
}

.bioload-options input[type="radio"]:checked + .bioload-option.medium {
    border-color: #ffc107;
}

.bioload-options input[type="radio"]:checked + .bioload-option.heavy {
    border-color: #dc3545;
}

#custom-fish-name,
#custom-fish-size,
#custom-fish-quantity {
    width: 100%;
}

#add-custom-fish-btn {
    margin-top: 25px;
}

/* Custom Species Styling */
.species-item.custom-species {
    border-left: 4px solid var(--aqfr-secondary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

.species-item.custom-species .species-name {
    color: var(--aqfr-secondary);
}

/* Responsive adjustments for calculation methods */
@media (max-width: 768px) {
    .methods-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .method-card {
        padding: 15px;
    }

    .method-percentage {
        font-size: 16px;
    }

    .volume-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .bioload-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .custom-fish-form {
        padding: 15px;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    pointer-events: none;
}

.toast {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transform: translateX(100%);
    transition: all 0.3s ease-in-out;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

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

.toast.hide {
    transform: translateX(100%);
    opacity: 0;
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-top: 2px;
}

.toast.success {
    border-left: 4px solid #28a745;
}

.toast.success .toast-icon {
    background: #28a745;
}

.toast.success .toast-icon::before {
    content: "✓";
}

.toast.error {
    border-left: 4px solid #dc3545;
}

.toast.error .toast-icon {
    background: #dc3545;
}

.toast.error .toast-icon::before {
    content: "✕";
}

.toast.warning {
    border-left: 4px solid #ffc107;
}

.toast.warning .toast-icon {
    background: #ffc107;
    color: #212529;
}

.toast.warning .toast-icon::before {
    content: "⚠";
}

.toast.info {
    border-left: 4px solid #17a2b8;
}

.toast.info .toast-icon {
    background: #17a2b8;
}

.toast.info .toast-icon::before {
    content: "i";
    font-style: italic;
}

.toast-content {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    color: #212529;
    margin: 0 0 4px 0;
    font-size: 14px;
    line-height: 1.2;
}

.toast-message {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: #212529;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    transition: width linear;
}

.toast.success .toast-progress {
    background: #28a745;
}

.toast.error .toast-progress {
    background: #dc3545;
}

.toast.warning .toast-progress {
    background: #ffc107;
}

.toast.info .toast-progress {
    background: #17a2b8;
}

/* Bio-load Method Styles */
.bioload-method {
    border-left: 4px solid var(--aqfr-primary);
    position: relative;
}

.recommended-badge {
    background: var(--aqfr-primary);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-left: 8px;
}

.bioload-breakdown {
    margin: 16px 0;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.body-type-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 8px;
}

.body-type-label {
    font-weight: 600;
    min-width: 100px;
    color: var(--aqfr-primary);
}

.gallons-needed {
    font-weight: 500;
    color: var(--aqfr-dark);
}

.fish-list {
    color: #64748b;
    font-size: 0.9em;
    flex-basis: 100%;
}

.bioload-total {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #cbd5e1;
    font-size: 1.1em;
    text-align: center;
}

.status-indicator.understocked {
    color: #059669;
    background: #d1fae5;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}

.status-indicator.well-stocked {
    color: #059669;
    background: #d1fae5;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}

.status-indicator.overstocked {
    color: #dc2626;
    background: #fee2e2;
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .body-type-row {
        flex-direction: column;
        gap: 4px;
    }

    .body-type-label,
    .gallons-needed {
        text-align: left;
    }

    .fish-list {
        flex-basis: auto;
        margin-top: 4px;
    }

    .toast-container {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
    }

    .toast {
        transform: translateY(-100%);
    }

    .toast.show {
        transform: translateY(0);
    }

    .toast.hide {
        transform: translateY(-100%);
        opacity: 0;
    }
}