/* Estilos gerais do form */
#trocas-devolucoes-form {
    max-width: 600px;
    margin: 0 auto;
}

/* .step {
    display: none;
} */

#trocas-form p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 15px !important;
    color: #999 !important;
}

#trocas-form h3 {
    font-size: 24px !important;
    margin-bottom: 10px !important;
}

#trocas-form .step-notices {
    font-size: 14px;
    font-weight: bold;
    color: #46735D;
}

#trocas-form label {
    font-weight: bold;
}

#trocas-form input {
    margin-bottom: 10px;
    height: 50px !important;
    max-height: 50px !important;
    border-radius: 7px !important;
    border: 2px solid #E0E0E0 !important;
    box-shadow: none !important;
}

#trocas-form textarea {
    margin-bottom: 10px;
    border-radius: 7px !important;
    border: 2px solid #E0E0E0 !important;
    box-shadow: none !important;
}

#trocas-form input:focus {
    border-color: #46735D !important;
    border-style: dashed !important;
}

.buttons-container {
    display: flex;
    gap: 10px;
}

#trocas-form button {
    width: 50%;
    margin: 0px;
    margin-top: 15px !important;
    border: 2px solid currentColor !important;
    background-color: #47745D;
    font-size: 13px;
}

.step.active {
    display: block;
}

/* Listagem de produtos do pedido */
#products-list .product {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

#products-list .product.selected {
    border: 2px solid #46735D;
    background: #46735D20;
}

#products-list .product img {
    margin-right: 10px;
    border-radius: 5px;
    background: white;
}

#products-list .product span {
    margin-right: 10px;
    font-size: 14px;
}

#products-list .product-info {
    width: 70%;
    display: grid;
    line-height: 14px;
    padding-top: 0px !important;
}

#products-list span.product-name {
    width: 65%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #46735D;
    font-weight: bold;
    margin-right: 20px;
}

#products-list span.product-variation {
    font-size: 11px;
    text-transform: capitalize;
}

#products-list span.product-price {
    position: absolute;
    right: 20px;
    margin-right: 0px !important;
}

#products-list .product label {
    margin-left: auto;
}

/* Produtos selecionados para troca */
#selected-products-list .selected-product {
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 7px;
    border: 2px solid #E0E0E0;
    background: #FAFAFA;
}

#selected-products-list span.selected-product-name {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #46735D;
}

#selected-products-list label {
    display: block;
}

/* Estilo das opções para seleção */
#trocas-form span.tag-recomendado {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 10px;
    background: #46735D40;
    color: #47745D;
    padding: 7px 7px;
    border-radius: 5px;
    line-height: 10px;
    border: 1px solid #47745D;
}

#trocas-form input[type="radio"] {
    display: none;
}

#trocas-form input[type="radio"] + span i {
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;
    line-height: 50px;
    text-align: center;
    margin-right: 10px;
    color: #46735D;
    background: #46735D40;
    border-radius: 5px;
    display: inline-block;
}

#trocas-form input[type="radio"] + span {
    display: flex;
    padding: 10px;
    border: 2px solid #E0E0E0;
    border-radius: 7px;
    transition: all 0.3s;
    margin-bottom: 10px;
    cursor: pointer;
    align-items: center;
}

#trocas-form input[type="radio"]:checked + span {
    border-color: #46735D;
    background-color: #46735D20;
    color: #46735D;
}

#trocas-form .radio-content {
    display: inline-block;
    font-weight: normal;
    line-height: 15px;
}

#trocas-form .radio-content content {
    display: block;
    font-weight: bold;
    margin-bottom: 3px;
}

#trocas-form .radio-content desc {
    font-size: 11px;
}

/* Checkbox estilo toggle */
/* Configuração geral do label */
#trocas-form .toggle-checkbox {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 12px;
    text-transform: uppercase;
    color: #46735D !important;
    user-select: none !important;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Esconde o checkbox padrão */
#trocas-form .toggle-checkbox input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    position: absolute !important;
    opacity: 0 !important;
}

/* Estilo do toggle (slider) */
#trocas-form .custom-checkbox {
    position: relative !important;
    width: 40px !important;
    height: 24px !important;
    background-color: #E0E0E0 !important;
    border-radius: 20px !important;
    transition: background-color 0.3s ease !important;
    margin-right: 10px !important;
}

/* Bolinha dentro do toggle */
#trocas-form .custom-checkbox::before {
    content: "" !important;
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    background-color: white !important;
    border-radius: 50% !important;
    top: 4px !important;
    left: 4px !important;
    transition: transform 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Quando o checkbox está marcado */
#trocas-form .toggle-checkbox input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #46735D !important;
}

#trocas-form .toggle-checkbox input[type="checkbox"]:checked + .custom-checkbox::before {
    transform: translateX(16px) !important;
}

/* Efeito ao passar o mouse */
#trocas-form .custom-checkbox:hover {
    background-color: #CFCFCF !important;
}