/* Aquarium Calculator - Calculator-specific styles */

/* Diagram section */
.diagram-section {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    padding: 16px;
    background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
    border-radius: var(--radius-sm);
    border: 1px solid #bfdbfe;
}

.calc-diagram {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.calc-diagram.hidden {
    display: none;
}

/* SVG diagram labels */
.diagram-label {
    font-size: 12px;
    font-weight: 600;
    fill: #003049;
}

.diagram-label-sm {
    font-size: 10px;
    font-weight: 500;
    fill: #003049;
}

/* Form hint text */
.form-hint {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* Results note styling */
.results-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
    font-style: italic;
}

/* Volume highlight */
.results-value {
    font-weight: 600;
    color: #1e40af;
}

/* Stocking section specific styles */
.stocking-section {
    background: linear-gradient(to bottom right, #f0fdf4, #dcfce7);
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    padding: 16px;
}

.stocking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.stocking-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: white;
    border-radius: var(--radius-sm);
    text-align: center;
}

.stocking-label {
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 4px;
}

.stocking-value {
    font-size: 20px;
    font-weight: 700;
    color: #059669;
}

.stocking-note {
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 12px;
}

.stocking-note p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #854d0e;
}

.stocking-note ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #713f12;
}

.stocking-note li {
    margin-bottom: 4px;
}

/* Weight section styling */
.results-section:nth-child(2) .results-value {
    color: #7c3aed;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .calc-diagram {
        max-width: 250px;
    }

    .diagram-label {
        font-size: 10px;
    }

    .diagram-label-sm {
        font-size: 9px;
    }

    .stocking-grid {
        grid-template-columns: 1fr;
    }

    .stocking-value {
        font-size: 18px;
    }
}
