

/* Start:/local/components/local/engineering.calc.water-supply/templates/.default/style.css?17697847967462*/
/* Water Supply Calculator Styles */

.water-supply-calculator {
    font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Form Block */
.calc-form-block {
    background: #fff;
    border: 2px solid #1a2a6c;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(26, 42, 108, 0.08);
}

.calc-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a6c;
    margin: 0 0 25px 0;
}

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

.calc-input-group {
    display: flex;
    flex-direction: column;
}

.calc-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.calc-input,
.calc-select {
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    transition: all 0.2s;
}

.calc-input:focus,
.calc-select:focus {
    outline: none;
    border-color: #1a2a6c;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.1);
}

.input-hint {
    font-size: 12px;
    color: #718096;
    margin-top: 5px;
}

.calc-btn-wrapper {
    text-align: center;
    margin-top: 10px;
}

.calc-btn-primary {
    background: #1a2a6c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-btn-primary:hover {
    background: #2a4a8c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 42, 108, 0.3);
}

.calc-btn-primary:active {
    transform: translateY(0);
}

/* Results Block */
.calc-results-block {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

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

.result-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.result-label {
    font-size: 13px;
    color: #718096;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 5px;
}

.result-hint {
    font-size: 12px;
    color: #a0aec0;
}

/* Equipment Block */
.calc-equipment-block {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.calc-equipment-block h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 20px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.equip-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    position: relative;
}

.equip-card:hover {
    border-color: #1a2a6c;
    box-shadow: 0 6px 20px rgba(26, 42, 108, 0.1);
}

.equip-card-selected {
    border-color: #2e7d32 !important;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2) !important;
}

.equip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1a2a6c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.equip-badge-alt {
    background: #888;
}

.equip-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.equip-type {
    font-size: 11px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.equip-card h4 {
    font-size: 15px;
    color: #2d3748;
    margin: 0 0 10px 0;
    min-height: 40px;
    line-height: 1.3;
}

.equip-spec {
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 10px;
}

.equip-volume {
    font-size: 14px;
    color: #1a2a6c;
    font-weight: 600;
    margin-bottom: 12px;
}

.equip-price {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a6c;
    margin: 15px 0;
}

.equip-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.equip-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    line-height: 1;
}

.equip-btn-primary {
    background: #1a2a6c;
    color: #fff;
}

.equip-btn-primary:hover {
    background: #2a4a8c;
}

.equip-btn-secondary {
    background: #fff;
    color: #1a2a6c;
    border: 1px solid #1a2a6c;
}

.equip-btn-secondary:hover {
    background: #f8fafc;
}

.equip-link {
    display: inline-block;
    font-size: 14px;
    color: #c0392b;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.equip-link:hover {
    color: #a93226;
}

/* Warnings Block */
.calc-warnings-block {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.calc-warnings-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: #856404;
    margin: 0 0 15px 0;
}

#ws_warnings_list {
    margin: 0;
    padding-left: 20px;
    color: #856404;
}

#ws_warnings_list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* PDF Block */
.calc-pdf-block {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.calc-btn-pdf {
    background: #c0392b;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-btn-pdf:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}

.calc-btn-pdf:active {
    transform: translateY(0);
}

/* CTA Block */
.calc-cta-block {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.calc-cta-block p {
    font-size: 16px;
    color: #4a5568;
    margin-bottom: 15px;
}

/* Loader */
.calc-loader {
    text-align: center;
    padding: 40px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #e2e8f0;
    border-top-color: #1a2a6c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.calc-loader p {
    font-size: 14px;
    color: #718096;
}

/* Error */
.calc-error {
    background: #fee;
    border: 2px solid #f5c6cb;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.error-message {
    color: #721c24;
    font-weight: 600;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .calc-form-grid {
        grid-template-columns: 1fr;
    }

    .calc-results-grid {
        grid-template-columns: 1fr;
    }

    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .calc-form-block,
    .calc-results-block {
        padding: 20px;
    }

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

/* End */
/* /local/components/local/engineering.calc.water-supply/templates/.default/style.css?17697847967462 */
