
.perfil-link{
text-decoration:none;
color:inherit;
display:inline;
}


.user-header{
display:flex;
align-items:center;
gap:12px;
margin-bottom:12px;
padding-left:10px;
margin-top:10px;

}

.user-photo{
position:relative;
}

.user-photo img{
width:70px;
height:70px;
border-radius:50%;
object-fit:cover;
border:3px solid #dcdcdc;
}

.upload-icon{
position:absolute;
bottom:5px;
right:5px;
background:#333;
width:30px;
height:30px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:11px;
cursor:pointer;
color:#fff;
}

.user-info{
display:flex;
flex-direction:column;
}

.user-name{
display:block;
font-weight:700;
font-size:15px;
margin-left:-20px;
margin-top:-5px;
}

.user-name a{
text-decoration:none;
color:inherit;
display:inline;
}

.user-handle{
font-size:13px;
color:#888;
margin-left:-5px;
margin-top:-10px;
}


/* BOTÃO LOGIN / ENGRENAGEM */






.user-menu{
    position:fixed;
    top:20px;
    right:16px;
    z-index:1000;
}

/* ÍCONE */



.login-icon:active,
.gear-icon:active{
    transform:scale(0.9);
}

/* DROPDOWN */

.gear-dropdown{
    position:absolute;
    top:55px;
    right:0;
	width:320px;
    background:#fff;
    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,0.15);

    padding:8px 0;
    display:none;

    min-width:170px;
}

.gear-dropdown a{
    display:block;
    padding:10px 15px;

    text-decoration:none;
    color:#333;

    font-size:14px;

    transition:.15s;
}

.gear-dropdown a:hover{
    background:#f3f3f3;
}

/* LOGIN POPUP */

/* MODAL OVERLAY */
/* OVERLAY */
.login-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .25s;
    z-index: 9999;
}
.login-overlay.show{
    opacity: 1;
    pointer-events: all;
}

/* MODAL BOX */
.login-modal{
    width: 360px;
    max-width: 92%;
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.25);
    font-family:'Montserrat', sans-serif;
}

/* HEADER */
.login-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 18px;
}
.login-header button{
    background:none;
    border:none;
    font-size: 20px;
    cursor:pointer;
}

/* FORM */
.login-box .input{
    width:100%;
    padding:12px;
    border-radius:10px;
    border:1px solid #ddd;
    margin-bottom:14px;
    font-size:14px;
}

.row{
    display:flex;
    justify-content:space-between;
    font-size:13px;
    margin-bottom:15px;
}
.row a{
    color:#ff7e5f;
    text-decoration:none;
}

.login-box .btn{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    background:linear-gradient(90deg,#ff7e5f,#f7b347);
    color:white;
    font-weight:700;
    font-size:16px;
    cursor:pointer;
}
.login-box .btn:hover{
    opacity:0.9;
}

.bottom{
    text-align:center;
    margin-top:15px;
    font-size:14px;
}
.bottom a{
    color:#ff7e5f;
    font-weight:600;
    text-decoration:none;
}

/* ERROR */
#loginError{
    color:red;
    margin-bottom:10px;
    font-weight:600;
}






















#registerForm{
margin-top:15px;
}

#registerForm .step{
display:flex;
flex-direction:column;
}

/* CAMPOS */

#registerForm input{
width:100%;
padding:12px 14px;
border-radius:10px;
border:1px solid #ddd;
font-size:14px;
font-family:'Montserrat', sans-serif;
background:#f7f7f7;
transition:.2s;
margin-bottom:12px;
box-sizing:border-box;
}

#registerForm input:last-child{
margin-bottom:0;
}
















.register-form{
margin-top:10px;
}


.step{
display:flex;
flex-direction:column;
gap:10px;
}

.step-buttons{
display:flex;
justify-content:center;
gap:12px;
margin-top:15px;
}


.step-buttons button{
padding:12px 20px;
border:none;
border-radius:12px;
background:linear-gradient(90deg,#ff7e5f,#f7b347);
color:white;
font-weight:700;
font-size:14px;
cursor:pointer;
min-width:120px;
transition:.2s;
}

.step-buttons button:hover{
transform:scale(1.03);
}

.step-buttons button:active{
transform:scale(.96);
}

.step-buttons button:first-child{
background:#ddd;
color:#333;
}


.step-indicator{
display:flex;
align-items:center;
justify-content:center;
margin-bottom:20px;
gap:8px;
}

.step-indicator.active{
background:#2ecc71;
color:#fff;
}

.step-circle{
width:28px;
height:28px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:13px;
font-weight:700;
background:#ddd;
color:#666;
}

.step-circle.active{
background:linear-gradient(90deg,#ff7e5f,#f7b347);
color:#fff;
}

.step-line{
width:30px;
height:2px;
background:#ddd;
}













.register-form .input:focus{
outline:none;
border-color:#ff7e5f;
background:white;
box-shadow:0 0 0 2px rgba(255,126,95,0.15);
}



	







.input-erro{
border:2px solid red;
background:#fff5f5;
}





.input-wrapper{
position:relative;
}

.input-wrapper input{
padding-right:35px;
}

.input-icon{
position:absolute;
right:10px;
top:50%;
transform:translateY(-50%);
font-size:16px;
display:none;
}

.input-error{
border-color:#ff4d4d !important;
background:#fff0f0 !important;
}

.input-ok{
border-color:#2ecc71 !important;
background:#f0fff5 !important;
}

.icon-error{
color:#ff4d4d;
}

.icon-ok{
color:#2ecc71;
}











.steps{
display:flex;
align-items:center;
justify-content:center;
margin-bottom:25px;
}

.step-indicator{
width:28px;
height:28px;
border-radius:50%;
background:#ddd;
display:flex;
align-items:center;
justify-content:center;
font-size:13px;
font-weight:bold;
position:relative;
margin:0 25px;
}

/* linha entre bolinhas */

.step-indicator:not(:last-child)::after{
content:"";
position:absolute;
top:50%;
left:28px;
width:50px;
height:3px;
background:#ddd;
transform:translateY(-50%);
}

/* etapa atual (mesma cor do botão) */

.step-indicator.active{
background:linear-gradient(90deg,#ffb347,#ff7a00);
color:#fff;
}

/* etapas concluídas */

.step-indicator.done{
background:#007bff;
color:#fff;
}

/* linha concluída */

.step-indicator.done::after{
background:#007bff;
}















.cadastroMensagem{
color: red;
font-size: 13px;
margin-top: -15px;   /* sobe o texto */
margin-bottom: 10px;
text-align: left;
}