/* Estilo para a div centralizada */
.cepcerto-div-mae {
    background-color: #fff;
    padding: 0 1%; 
    border: 1px solid #ccc;
}

.cepcerto-div-mae strong {
    font-size: 1.2em;
}

.styled-list {
    font-size: 1.1em;
}

#mensagemretornoceporigem {
    display: none;
    margin: 2% 0;
}

#loadingceporigem {
    width: 100%;
    color: #0f52a2;
    display: inline-block;
}

/* Estilo para a row */
.row {
    display: flex;
    justify-content: space-between; /* Distribui as colunas igualmente */
    gap: 20px; /* Espaçamento entre as colunas */
}

/* Estilo para as caixas */
.box-white, .box {
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.box h3 {
    margin-bottom: 20px;
}

/* Estilo para o formulário */
#cadastro-form {
    background-color: transparent;
}

/* Alinhar labels e inputs à esquerda */
#cadastro-form div {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

#cadastro-cep-origem div {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    width: 20%;
}

label {
    font-weight: bold;
    margin-bottom: 5px; /* Espaçamento entre o label e o input */
}

label {
    font-weight: bold;
    margin-bottom: 5px; /* Espaçamento entre o label e o input */
}

input[type="text"],
input[type="email"] {
    width: 100%; /* Faz o input ocupar toda a largura disponível */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 14px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.link-style {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    background-color: #e0e0e0;
    color: #000;
    font-weight: bold;
    text-decoration: none; /* Adiciona isso para remover o sublinhado dos links */
    display: inline-block; /* Adiciona isso para garantir que o link respeite o padding como um botão */
}

.link-style:hover {
    background-color: #F9CB40;
}

/* Estilo do formulário */
#cepcerto-form {
    max-width: 355px;
    max-height: 365px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    border: 1px solid #fafafa;
}

/* Estilo dos rótulos */
#cepcerto-form label {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 12px;
    font-family: Arial;
}

/* Estilo dos campos de entrada */
#cepcerto-form input[type="text"],
#cepcerto-form input[type="number"],
#cepcerto-form select {
    width: 95%;
    padding: 5px;
    margin-bottom: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 12px;
    transition: border-color 0.3s ease-in-out;
    appearance: none; /* Remove a seta padrão do select no WebKit */
}

/* Adiciona uma seta personalizada ao select */
#cepcerto-form select {
    background: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="5" viewBox="0 0 8 5"><path fill="none" stroke="%23aaa" stroke-width="1.5" d="M1 1l3 3 3-3"/></svg>') no-repeat right 10px center;
    background-size: 8px 5px;
}

/* Estilo do botão */
#cepcerto-form input[type="button"] {
    width: 44%;
    padding: 8px;
    background-color: #0D324D;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    color: #F9CB40;
    font-weight: bold;
    margin-left: 25%;
}

/* Hover e foco */
#cepcerto-form input[type="button"]:hover {
    background-color: #F9CB40;
    color: #0D324D;
}

#cepcerto-form input[type="text"]:focus,
#cepcerto-form input[type="number"]:focus {
    border-color: #ccc;
    outline: none;
}

/* Layout em duas colunas */
#cepcerto-form .form-row {
    display: flex;
    justify-content: space-between;
}

#cepcerto-form .form-row div {
    width: 48%;
}

/* Ajuste no botão */
#cepcerto-form #calculate-shipping {
    margin-top: 10px;
}

/* Estilo de erro para os campos de entrada */
.input-error {
    border-color: #DF3B57 !important;
}
.error-message {
    color: #DF3B57;
    font-size: 12px;
    padding: 2px;
    text-align: center;
    margin-top: 5px;
    display: none;
}    

input[type="radio"] {
    transform: scale(1.5); /* Ajuste o valor para o tamanho desejado */
    margin-right: 10px; /* Espaçamento entre o rádio e o texto */
}

/* Opcional: Ajusta a aparência do rádio quando focado */
input[type="radio"]:focus {
    outline: 2px solid #007BFF; /* Altera a cor da borda quando em foco */
}

/* Estilo do resultado de frete */
#frete-resultado {
    margin-top: 10px;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-size: 12px;
    border: 1px solid #e1e1e1;
    display: none;
}

#frete-resultado .result-row {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

#frete-resultado .result-row input[type="radio"] {
    margin-right: 4px;
    transform: scale(1.2);
    accent-color: #0D324D;
    cursor: pointer;
}

#frete-resultado p {
    margin: 0;
    color: #333;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
}

.result-row {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.result-row label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.result-row input[type="radio"] {
    transform: scale(1.5);
    margin-right: 10px;
}

.frete-opcao {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.result-row:hover {
    background-color: #e9ecef;
    border-color: #ccc;
}