#rec912060592 .tn-elem[data-elem-id="1742908870006"] .tn-atom{
    border-radius:0 !important;
}



#custom-calculator .gril-form-calc {
    margin: 0 auto 30px;
    padding: 25px;
    max-width: 1100px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    background: white;
}
#custom-calculator{
    background-color: #f9f9f9;
    padding:20px;
    font-family: Arial, sans-serif;
}
#custom-calculator h2{
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-weight:500;
    text-align: center;
}
#custom-calculator .gril-form-calc .row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

#custom-calculator .gril-form-calc .col-md-3 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
#custom-calculator .gril-form-calc .form-control::placeholder {
    color: #a7a7a7 !important;
    opacity: 1 !important;
    font-size: 13px !important;
}
#custom-calculator .gril-form-calc .col-md-9 {
    flex: 1;
    min-width: 0;
}

#custom-calculator .gril-form-calc .form-group {
    flex: 1 1 220px;
}

#custom-calculator .gril-form-calc .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #444;
    font-size: 15px;
}

#custom-calculator .gril-form-calc .form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s;
    background: white;
}

#custom-calculator .gril-form-calc .form-control:focus {
    border-color: #117F42;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17,127,66,0.15);
}

#custom-calculator .gril-form-calc select.form-control {
    height: 44px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

#custom-calculator .buttons-block {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

#custom-calculator .calc-gril {
    padding: 13px 28px !important;
    background-color: #117F42 !important;
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    font-size: 16px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    text-decoration: none !important;
    display: inline-block !important;
}

#custom-calculator .calc-gril:hover {
    background-color: #0e6a38 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

#custom-calculator .callback {
    padding: 13px 28px !important;
    background: #f8f9fa !important;
    color: #117F42 !important;
    border: 2px solid #117F42 !important;
    text-decoration: none !important;
}

#custom-calculator .callback:hover {
    background: #117F42 !important;
    color: white !important;
}

#custom-calculator #msg {
    color: #28aa31;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    min-height: 24px;
}

#custom-calculator .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 25px 0;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

#custom-calculator .gril-form-calc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

#custom-calculator .gril-form-calc th, 
#custom-calculator .gril-form-calc td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: center;
    min-width: 66px;
}

#custom-calculator .gril-form-calc th {
    background-color: #f7f7f7;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    position: sticky;
    top: 0;
}

#custom-calculator .gril-form-calc td {
    color: #555;
}

#custom-calculator .gril-form-calc tr:nth-child(even) {
    background-color: #fafafa;
}

#custom-calculator .gril-form-calc input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    background: #fafafa;
    text-align: center;
    box-sizing: border-box;
}

#custom-calculator .gril-form-calc input[type="text"]:focus {
    background: white;
    border-color: #117F42;
    outline: none;
}

#custom-calculator #table-download {
    display: none;
    margin-top: 20px;
    text-align: center;
}

#custom-calculator #table-download button {
    padding: 12px 30px;
    background: #117F42;
    color: white;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

#custom-calculator #table-download button:hover {
    background: #0e6a38;
    transform: translateY(-1px);
}

/* МОБИЛЬНАЯ АДАПТАЦИЯ */
@media (max-width: 768px) {
    #custom-calculator .gril-form-calc {
        padding: 18px;
        border-radius: 8px;
    }
    #custom-calculator h2{
        padding:0 15px;
    }
    #custom-calculator .gril-form-calc .row {
        flex-direction: column;
        gap: 20px;
    }
    
    #custom-calculator .gril-form-calc .col-md-3,
    #custom-calculator .gril-form-calc .col-md-9 {
        max-width: 100%;
    }
    #custom-calculator{
        padding:20px 0;
    }
    
    #custom-calculator .calc-gril,
    #custom-calculator .callback {
        width: 100%;
        text-align: center;
    }
    
    #custom-calculator .gril-form-calc th, 
    #custom-calculator .gril-form-calc td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    #custom-calculator .gril-form-calc .form-control {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #custom-calculator .gril-form-calc {
        padding: 15px;
    }
    
    #custom-calculator .gril-form-calc th, 
    #custom-calculator .gril-form-calc td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    #custom-calculator .gril-form-calc .form-control {
        padding: 9px 12px;
        font-size: 14px;
    }
}

@media (max-width: 620px) {
    #custom-calculator .gril-form-calc {
        max-width: calc(100vw - 60px);
    }
}
