

/* Start:/local/templates/novoplanCorp_s1/components/bitrix/news.list/trade_in/style.css?17732493172115*/
.trade_in_container {background-color: #eef3f8}
.trade_in.d-flex {
    gap: 20px;
}
.trade_in .item {
    width: calc(100%/4 - 15px); position: relative; background-color: #f5f8fb; 
    border-radius: 5px; overflow: hidden; box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.1);
    
}
.trade_in .item .info {z-index: 1; position: relative; padding: 15px; height: 100%;}
.trade_in .item .info .descr {
    font-size: 0.9em;
}
.trade_in .item .number {color: #edf3f8; font-size: 8.5rem; font-weight: 600; position: absolute; right: 10%; bottom: 0; line-height: 1; z-index: 0;}

.trade_in .item .img_container {width: 80px; flex: 0 0 80px; text-align: center;}

.trade_in .item:hover {color: #FFF; border-radius: 5px; overflow: hidden; box-shadow: 0px 0px 8px 0px rgba(50, 50, 50, 0.3);}
.trade_in .item:hover .info {background: linear-gradient(to right, #082743 0%, #082743 45%, rgba(4,106,210,0.6) 100%);}
.trade_in .item:hover .number {color: #0b7df1}

.trade_in .item .img {margin: 0 auto;}
.trade_in .item:hover .img {filter: brightness(0) invert(1);}

.trade_in .item .name {text-transform: uppercase; font-weight: 600; margin-bottom: 10px;}
.trade_in .item .descr p {padding: 3px 0; font-size: 0.9rem; margin: 5px 0 10px 0;}

.trade_in_container .comment {
    background: linear-gradient(to right, #082743 0%, #418ad5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 16px 10px 0 10px;
    font-size: 1.2rem;
    font-weight: 600;
}
.trade_in_form__title {
    text-align: center;
}
.trade_in_form__title:after {
    width: 66px !important;
    left: calc(50% - 33px) !important;
}
/*.col-xl-  (>= 1200px)*/
@media screen and (min-width: 1200px)
{
       
}
/*.col-lg-  (>= 992px)*/
@media screen and (max-width: 1200px)
{
.trade_in_form__title:after {
    left: 0 !important;
} 
.trade_in .item {
    width: calc(100% / 2 - 10px);
}
}
/*.col-md-  (>= 768px)*/
@media screen and (max-width: 991px)
{
    
}
/*.col-sm-  (>= 576px)*/
@media screen and (max-width: 767px)
{
    
}
/*.col-*/
@media screen and (max-width: 575px)
{

.trade_in .item {
    width: 100%;
}
}
/* End */


/* Start:/local/templates/novoplanCorp_s1/components/brainsite/iblock.element.add.form/trade_in/style.css?17732510906616*/
.main_form {
    padding: 40px;
    box-shadow: 0px 15px 15px 0px rgba(50, 50, 50, 0.1);
    border-radius: 7px;
}

.main_form .form_message {text-align: center; margin: 5px 0 30px 0;}
.main_form .form_field {width: 45%; float: left; margin-right: 2%;}

/*.col-xl-  (>= 1200px)*/
@media screen and (min-width: 1200px)
{
       
}
/*.col-lg-  (>= 992px)*/
@media screen and (max-width: 1200px)
{
     
}
/*.col-md-  (>= 768px)*/
@media screen and (max-width: 991px)
{
    
}
/*.col-sm-  (>= 576px)*/
@media screen and (max-width: 767px)
{
    .main_form {background: #f8f9fb!important; padding: 20px;}
    .main_form .form_field {width: 48%; margin-right: 0; margin: 0 1%;}
    
}
/*.col-*/
@media screen and (max-width: 575px)
{
    
}




    .bx-file-field {
        width: 100%;
    }

    .file-upload-wrapper {
        margin-bottom: 15px;
        position: relative;
    }

    /* Скрываем оригинальный input, но оставляем кликабельным */
    .file-input-hidden {
        position: absolute;
        opacity: 0;
        width: 0.1px;
        height: 0.1px;
        z-index: -1;
    }

    /* Стили для лейбла (кнопки выбора файла) */
    .file-label {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        background: #f8f9fa;
        border: 2px dashed #082743;
        padding: 8px 15px;
        transition: all 0.3s ease;
    }

    .file-label:hover {
        border-color: #2980b9;
        background: #e8f0fe;
    }

    .file-button {
        background: #082743;
        color: white;
        padding: 8px 16px;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        transition: background 0.2s;
        white-space: nowrap;
    }


    .file-name {
        color: #2c3e50;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }

    /* Блок превью файла */
    .file-preview {
        margin: 15px 0 20px 25px;
        padding: 15px;
        background: #fff;
        border-left: 4px solid #3498db;
        border-radius: 0 8px 8px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        transition: opacity 0.3s;
    }

    .file-delete {
        margin-bottom: 12px;
        padding: 5px 10px;
        background: #fff5f5;
        border-radius: 4px;
        display: inline-block;
    }

    .file-delete input[type="checkbox"] {
        margin-right: 8px;
        cursor: pointer;
    }

    .file-delete label {
        color: #e74c3c;
        cursor: pointer;
        font-size: 13px;
        font-weight: 500;
    }

    .file-info {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .file-image {
        border: 1px solid #ecf0f1;
        border-radius: 6px;
        padding: 5px;
        background: #fafafa;
    }

    .file-image img {
        display: block;
        max-width: 100px;
        max-height: 100px;
        object-fit: cover;
        border-radius: 4px;
    }

    .file-icon {
        font-size: 48px;
        line-height: 1;
        opacity: 0.7;
    }

    .file-details {
        display: flex;
        flex-direction: column;
        gap: 5px;
        font-size: 13px;
    }

    .file-property {
        color: #7f8c8d;
        font-weight: 500;
        margin-right: 5px;
    }

    .file-value {
        color: #2c3e50;
        word-break: break-word;
    }

    .file-download {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
        margin-top: 5px;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .file-download:hover {
        text-decoration: underline;
        color: #2980b9;
    }

    .file-separator {
        border: none;
        border-top: 1px solid #ecf0f1;
        margin: 20px 0;
    }

    .file-replace-hint {
        background: #fef5e7;
        padding: 8px 12px;
        border-radius: 4px;
        margin-top: 10px;
        font-size: 12px;
        border-left: 3px solid #e67e22;
    }
.trade_in_form .form {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
}
.trade_in_form .form .form_field:nth-child(3),
.trade_in_form .form .form_field:nth-child(4),
.trade_in_form .form .form_field:nth-child(5),
.trade_in_form .form .form_field:nth-child(6),
.trade_in_form .form .form_field:nth-child(11),
.trade_in_form .form .form_field:nth-child(12) {
    width: calc(50% - 5px);
}
.trade_in_form .form .form_field:nth-child(7) {
    width: 100%;
}
.trade_in_form .form .form_field:nth-child(8),
.trade_in_form .form .form_field:nth-child(9),
.trade_in_form .form .form_field:nth-child(10) {
    width: calc(100% / 3 - 7px);
}
.trade_in_form .form input.btn {
    width: 100%;
    margin: auto;
}
.trade_in_form .form select option:first-child {
    display: none;
}
.trade_in_form .form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
    /* Адаптация для мобильных */
    @media (max-width: 768px) {
        .file-info {
            flex-direction: column;
            gap: 10px;
        }
        
        .file-label {
            flex-wrap: wrap;
        }
        
        .file-name {
            white-space: normal;
            word-break: break-word;
        }
        .trade_in_form .form .form_field:nth-child(3),
        .trade_in_form .form .form_field:nth-child(4),
        .trade_in_form .form .form_field:nth-child(5),
        .trade_in_form .form .form_field:nth-child(6),
        .trade_in_form .form .form_field:nth-child(7),
        .trade_in_form .form .form_field:nth-child(8),
        .trade_in_form .form .form_field:nth-child(9),
        .trade_in_form .form .form_field:nth-child(10),
        .trade_in_form .form .form_field:nth-child(11),
        .trade_in_form .form .form_field:nth-child(12) {
            width: 100%;
        }
    }
/* End */
/* /local/templates/novoplanCorp_s1/components/bitrix/news.list/trade_in/style.css?17732493172115 */
/* /local/templates/novoplanCorp_s1/components/brainsite/iblock.element.add.form/trade_in/style.css?17732510906616 */
