/* CSS para o loader do CEP */
#cep-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cep-loader-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    max-width: 300px;
}

.cep-loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: cep-spin 1s linear infinite;
    margin: 0 auto 15px;
}

.cep-loader-text {
    margin: 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

@keyframes cep-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Efeito de desfoque para o conteúdo principal */
.register-page-container.loading {
    filter: blur(2px);
    transition: filter 0.3s ease;
}

/* Prevenir scroll durante loading */
body.loading {
    overflow: hidden;
}

@media(max-width: 576px) {
    .register-page-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

#postcode {
    margin-bottom: 10px;
}

span {
    font-size: 14px;
    margin: 0px;
}

.register-page-container {
    margin-top: 80px;
}

.register-card {
    border: 1px solid #939393;
    background: #FCFCFC;
    box-shadow: 3px 3px 4px 0px #C0C0C0;
    border-radius: 5px;
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.register-card input {
    margin-top: 0px;
    margin-bottom: 16px;
}

.register-card h4 {
    color: #00192F;
    font-weight: 700;
}

.card-header-container {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    margin-bottom: 35px
}

.card-header-container h1 {
    font-weight: bold;
    color: #00192F;
}

.main-personal-info {
    /* /* display: flex; */
    justify-content: center;
    /* align-items: center;
    flex-direction: column; */
}


.main-personal-info input {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid rgb(138, 138, 138);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.24);
    height: 50px;
    padding: 9px 20px 9px 20px
}

#zip-code-group-append {
    height: 50px;
    border: 1px solid rgb(138, 138, 138);
    border-radius: 0px 5px 5px 0px;
}

.form-select {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid rgb(138, 138, 138);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.24);
    height: 50px;
    font-style: italic;
    font-size: 14px;
    color: #5c5c5c;
    overflow: hidden;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M19.4967 7.989L11.9997 15.297L4.50275 7.989C4.3688 7.85817 4.18899 7.78492 4.00175 7.78492C3.81451 7.78492 3.63469 7.85817 3.50075 7.989C3.43589 8.05255 3.38437 8.12839 3.34919 8.2121C3.31402 8.29581 3.2959 8.3857 3.2959 8.4765C3.2959 8.5673 3.31402 8.65719 3.34919 8.74089C3.38437 8.8246 3.43589 8.90045 3.50075 8.964L11.4762 16.74C11.6163 16.8765 11.8042 16.9529 11.9997 16.9529C12.1953 16.9529 12.3832 16.8765 12.5232 16.74L20.4987 8.9655C20.5641 8.90191 20.616 8.82587 20.6514 8.74188C20.6869 8.6579 20.7051 8.56766 20.7051 8.4765C20.7051 8.38534 20.6869 8.2951 20.6514 8.21111C20.616 8.12713 20.5641 8.05109 20.4987 7.9875C20.3648 7.85667 20.185 7.78342 19.9977 7.78342C19.8105 7.78342 19.6307 7.85667 19.4967 7.9875V7.989Z' fill='gray'/></svg>");
    background-size: auto;
    padding: 9px 20px 9px 20px
}

.form-select:focus {
    border: 2px solid black;
    box-shadow: none;
    height: 50px;
    padding: 9px 20px 9px 20px;
}

/* .form-select::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 38px;
    height: 100%;
}

.form-select select {
    width: 100%;
    height: 100%;
    padding: 9px 20px 9px 20px;

} */

.address-info {
    display: flex;
    justify-content: center;
}

.address-info input {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid rgb(138, 138, 138);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.24);
    height: 50px;
    padding: 9px 20px 9px 20px
}

#zip-code-search {
    color: rgb(138, 138, 138);
}


.btn-register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
}

.btn-register-container button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    height: 50px;
    border-radius: 5px;
    padding: 10px;
    margin-top: 25px;
    margin-bottom: 20px;
    background-color: #EC398B;
    color: #fff;
    border: none
}

.btn-register-container p {
    width: 100%;
}

.btn-register button:active {
    background-color: #092136;
}

.btn-register-container a {
    color: #EC398B;
    font-weight: 700;
}

.biological-sex-container {
    margin-top: 20px;
}

@media(min-width: 768px) {
    .register-page-container {
        margin-top: 0px;
    }

    .link-container p {
        margin-top: 20px;
    }
}
