/* Concrete Stairs Calculator - Calculator-specific styles */

/* Diagram section */
.diagram-section {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    padding: 16px;
    background: linear-gradient(to bottom right, #f8fafc, #f1f5f9);
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
}

.calc-diagram {
    width: 100%;
    max-width: 320px;
    height: auto;
}

/* SVG diagram labels */
.diagram-label {
    font-size: 12px;
    font-weight: 600;
    fill: #003049;
}

.diagram-label-sm {
    font-size: 10px;
    font-weight: 500;
    fill: #003049;
}

/* Input Unit Group styles */
.input-unit-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.input-unit-group .form-input {
    flex: 1;
}

/* Optional label styling */
.optional-label {
    font-weight: 400;
    color: #666;
    font-size: 14px;
}

/* Form hint text */
.form-hint {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #666;
}

/* Checkbox styling */
.form-checkbox {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    cursor: pointer;
}

/* Results section title */
.results-section-title {
    color: #003049;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Highlight value styling */
.highlight-value {
    font-weight: 700;
    color: #059669;
}

/* Results note styling */
.results-note {
    font-size: 13px;
    color: #6b7280;
    margin-top: 12px;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .input-unit-group {
        flex-direction: row;
        gap: 8px;
    }

    .calc-diagram {
        max-width: 280px;
    }

    .diagram-label-sm {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .calc-diagram {
        max-width: 250px;
    }

    .diagram-label {
        font-size: 10px;
    }

    .diagram-label-sm {
        font-size: 8px;
    }
}
