
form.cadastro {
    background-color: #ffffff;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width:100%;
    max-width:900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position:relative;
   
}

form.cadastro h3 {
    font-size: 1.8rem;
    text-align: center;
    color: #333;
    margin-bottom: 1rem;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    
}

.col {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content:space-between;
    padding:20px;
}
.col.dados-login{
border-left:3px #f0f0f0 solid;
  
}

.form-group {
    width:100%;
    display: flex;
    flex-direction: column;
    position:relative;
   
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.campo-input, .input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.campo-input:focus, .input:focus {
    border-color: #007bff;
    outline: none;
}

.campo {
    position: relative;
}

.campo i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

form.cadastro .bt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: #007bff;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 1rem;
}

form.cadastro .bt:hover {
    background-color: #0056b3;
}

form.cadastro .msg {
    position:absolute;
    top:100%;
}
.imagem-preview{
    align-items: center;
    
}

.imagem-preview img {
    width: 138px;
    height: 138px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.imagem-preview img:hover {
    transform: scale(1.05);
}

input[type="file"] {
    display: none;
}
.close-popup{
    position:absolute;
    right:20px;
    font-size:25px;
    color:#696969;
    text-decoration:none;
}
.close-popup:hover{
    color:red;
}
@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
    }

    .bt {
        font-size: 0.95rem;
    }

    .campo i {
        right: 0.75rem;
    }
    .col.dados-login{
border-left:none;
  
}
}
