.tradein-container {
    display: flex;
    gap: 20px;
}
.select-device-block {
    width:66.66%;
    gap: 20px;
    display: flex;
    flex-direction: column;
}
.tradein-panel {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border: 1px solid #F2F2F2;
    border-radius: 42px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.06);
}
.tradein-panel-title {
    font-weight: 700;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #222222;
}
.tradein-sections {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}
.tradein-section {
    transform: 0.2s;
    transition: 0.2s;
}
.tradein-section.selected {
    display: flex;
    gap: 20px;
    width: 100%;
}
.tradein-section .card {
    width: 120px;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #222222;
    transition: all 0.2s ease;
}
.tradein-section .card > img {
    width: 100%;
    height: auto;
}
.tradein-section .card:hover {
    background: #DAEBFB;
}
.tradein-section .close-selected-section {
    display: none;
    background-color: #ffffff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    position: absolute;
    left: 8px;
    top: 8px;
    align-items: center;
    justify-content: center;
}
.tradein-section.selected .card {
    background-color: #DAEBFB;
    padding: 16px 10px;
    position: relative;
}
.tradein-section.selected .close-selected-section {
    display: flex;
}
.tradein-section .features {
    display: none;
}
.tradein-section.selected .features {
    display: block;
    flex: 1;
}
.tradein-section.selected .features > *:not(:last-child) {
    margin-bottom: 10px;
}
.features.other .other-info {
    color: #222;
    background-color: #DAEBFB;
    min-height: 42px;
    height: fit-content;
    padding: 12px 25px;
    border-radius: 30px;
}
.tradein-profit {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.tradein-feature .skay-select {
    height: 42px !important;
    appearance: none;
}
.tradein-feature .select-arrow {
    top: 14px !important;
    right: 14px !important;
}
.tradein-feature.full-row {
    width: 100%;
}
.tradein-feature.half-row {
    width: 48%;
    display: inline-block;
}
.section-features-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}
.section-features-row .form-block {
    width: 100%;
}
.tradein-result {
    background-color: #DAEBFB;
    min-height: 42px;
    height: fit-content;
    padding: 12px 25px;
    border-radius: 30px;
    color: #222;
}
.tradein-profit .price {
    font-size: 18px;
}
.tradein-profit .price-old {
    text-decoration: line-through;
}
.tradein-profit .price-new {
    font-size: 30px;
    font-weight: 600;
    color: #F83B3B;
}
.tradein-profit img {
    margin: auto 0;
    width: 66%;
    align-self: center;
}
#module-skaytradein-tradeindisplay .tradein-profit img {
    width: 100% !important;
}
.tradein-warning {
    margin: 16px 0;
    text-align: left;
    color: #F83B3B;
    display: none;
}
.tradein-small-text {
    font-size: 14px;
}
.trade-in-info {
    margin-bottom: 20px;
}
.trade-in-info > * {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.trade-in-info > * :not(:last-child) {
    margin-bottom: 10px;
}
.trade-in-info .price {
    font-size: 16px;
}
.trade-in-info .price {
    font-size: 18px;
    min-width: 100px;
    text-align: right;
}
.trade-in-info .profit {
    border-top: 1px solid #747474;
    padding-top: 8px;
    font-size: 20px;
    color: #222222;
}
.trade-in-info .profit.hidden {
    display: none;
}
#tradein_success .btn,
#tradein_error .btn {
    float: right;
}
#tradein_error .btn:hover {
    color: #ffffff;
}
@media (max-width: 1150px) {
    .tradein-container {
        flex-direction: column;
        font-size: 18px;
    }
    .section-features-row {
        flex-direction: column;
    }
    .select-device-block {
        width: 100%;
    }
    .tradein-profit {
        width: 100%;
    }
    .tradein-section .close-selected-section {
        width: 48px;
        height: 48px;
    }
    .tradein-section .close-selected-section svg {
        width: 24px;
        height: 24px;
    }
    .tradein-feature .skay-select {
        height: 48px !important;
    }
    .tradein-feature .select-arrow {
        top: 16px !important;
        right: 14px !important;
    }
}
@media (max-width: 767px) {
    .tradein-section.selected {
        flex-direction: column;
    }
    .tradein-section .card {
        transition: all 0s;
    }
    .tradein-section.selected .card {
        width: 100%;
        transition: all 0.2s ease;
    }
    .tradein-section.selected .card > img {
        width: 40%;
    }
}
@media (max-width: 560px) {
    .tradein-section.selected .card > img {
        width: 50%
    }
}
.tradein-panel.tradein-profit button:active,
.tradein-panel.tradein-profit button:focus {
    background-color: #E6007D;
}
