

/* Start:/bitrix/components/custom/stroicalc/templates/.default/style.css?175662460716919*/
/* StroiCalc - Стили калькулятора */
.stroicalc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", "Arial", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Шапка */
.stroicalc-header {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stroicalc-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stroicalc-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.stroicalc-logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stroicalc-tagline {
    color: #666;
    font-size: 18px;
    margin-bottom: 8px;
}

.stroicalc-subtitle {
    color: #999;
    font-size: 14px;
}

/* Сетка калькуляторов */
.stroicalc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stroicalc-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.stroicalc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stroicalc-card.active {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.stroicalc-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
    color: white;
}

.stroicalc-icon-metal {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stroicalc-icon-cable {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stroicalc-icon-wood {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stroicalc-icon-delivery {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.stroicalc-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.stroicalc-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Калькулятор */
.stroicalc-calculator {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stroicalc-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.stroicalc-calc-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.stroicalc-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.stroicalc-close-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.stroicalc-calc-section {
    margin-bottom: 30px;
}

.stroicalc-calc-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Сетка материалов */
.stroicalc-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stroicalc-material-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.stroicalc-material-card:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.stroicalc-material-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.stroicalc-material-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.stroicalc-material-price {
    font-size: 20px;
    color: #667eea;
    font-weight: 700;
}

.stroicalc-material-density {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Формы */
.stroicalc-form-group {
    margin-bottom: 20px;
}

.stroicalc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.stroicalc-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.stroicalc-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Кнопка расчета */
.stroicalc-calculate-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
}

.stroicalc-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Результаты */
.stroicalc-results {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.stroicalc-results h3 {
    margin-bottom: 15px;
    color: #333;
}

.stroicalc-results p {
    margin: 10px 0;
    font-size: 16px;
}

.stroicalc-results strong {
    color: #667eea;
}

/* История */
.stroicalc-history {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stroicalc-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.stroicalc-history-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.stroicalc-clear-history-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.stroicalc-clear-history-btn:hover {
    background: #e0e0e0;
}

.stroicalc-history-content {
    min-height: 200px;
}

.stroicalc-empty-history {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.stroicalc-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.stroicalc-empty-subtitle {
    font-size: 14px;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .stroicalc-container {
        padding: 10px;
    }
    
    .stroicalc-grid {
        grid-template-columns: 1fr;
    }
    
    .stroicalc-materials-grid {
        grid-template-columns: 1fr;
    }
    
    .stroicalc-calc-header h2 {
        font-size: 20px;
    }
}/* StroiCalc - Стили калькулятора */
.stroicalc-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica", "Arial", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Шапка */
.stroicalc-header {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stroicalc-logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stroicalc-logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.stroicalc-logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stroicalc-tagline {
    color: #666;
    font-size: 18px;
    margin-bottom: 8px;
}

.stroicalc-subtitle {
    color: #999;
    font-size: 14px;
}

/* Сетка калькуляторов */
.stroicalc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stroicalc-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.stroicalc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stroicalc-card.active {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.stroicalc-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 15px;
    color: white;
}

.stroicalc-icon-metal {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stroicalc-icon-cable {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.stroicalc-icon-wood {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.stroicalc-icon-delivery {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.stroicalc-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.stroicalc-card-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Калькулятор */
.stroicalc-calculator {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stroicalc-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.stroicalc-calc-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.stroicalc-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s;
}

.stroicalc-close-btn:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.stroicalc-calc-section {
    margin-bottom: 30px;
}

.stroicalc-calc-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

/* Сетка материалов */
.stroicalc-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stroicalc-material-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.stroicalc-material-card:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.stroicalc-material-card.active {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.stroicalc-material-name {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.stroicalc-material-price {
    font-size: 20px;
    color: #667eea;
    font-weight: 700;
}

.stroicalc-material-density {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Формы */
.stroicalc-form-group {
    margin-bottom: 20px;
}

.stroicalc-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.stroicalc-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.stroicalc-form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Кнопка расчета */
.stroicalc-calculate-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
}

.stroicalc-calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Результаты */
.stroicalc-results {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.stroicalc-results h3 {
    margin-bottom: 15px;
    color: #333;
}

.stroicalc-results p {
    margin: 10px 0;
    font-size: 16px;
}

.stroicalc-results strong {
    color: #667eea;
}

/* История */
.stroicalc-history {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stroicalc-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.stroicalc-history-header h2 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

.stroicalc-clear-history-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.stroicalc-clear-history-btn:hover {
    background: #e0e0e0;
}

.stroicalc-history-content {
    min-height: 200px;
}

.stroicalc-empty-history {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.stroicalc-empty-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.stroicalc-empty-subtitle {
    font-size: 14px;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .stroicalc-container {
        padding: 10px;
    }
    
    .stroicalc-grid {
        grid-template-columns: 1fr;
    }
    
    .stroicalc-materials-grid {
        grid-template-columns: 1fr;
    }
    
    .stroicalc-calc-header h2 {
        font-size: 20px;
    }
}

/* Дополнительные стили для расширенного интерфейса */

/* Статистика */
.stroicalc-stats {
    display: flex;
    justify-content: space-around;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Теги функций */
.stroicalc-card-features {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    margin: 3px;
}

/* Табы */
.stroicalc-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: #f0f0f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.tab-btn:hover:not(.active) {
    background: #e0e0e0;
}

/* Информационный блок */
.stroicalc-info-block {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.stroicalc-info-block p {
    margin: 5px 0;
    color: #666;
}

.stroicalc-info-block strong {
    color: #333;
}

/* Группы в select */
optgroup {
    font-weight: bold;
    color: #667eea;
}

option {
    font-weight: normal;
    color: #333;
}

/* Адаптивность для расширенного интерфейса */
@media (max-width: 768px) {
    .stroicalc-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat-item {
        flex: 1 1 45%;
    }
    
    .stroicalc-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
}

/* End */
/* /bitrix/components/custom/stroicalc/templates/.default/style.css?175662460716919 */
