@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
    box-sizing: border-box;
}

.input-group {
    display: flex;
    width: 100%;
    margin: 4px 0;
}

.input-group input[type="password"],
.input-group input[type="text"] {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    margin: 0; /* Remove margem padrão do input */
}

.input-group-text {
    background-color: #eee;
    border: 1px solid #ddd;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    cursor: pointer;
    min-width: 50px;
    border-radius: 0; /* Remove bordas arredondadas */
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.input-group-text:hover {
    background-color: #e0e0e0;
}

/* Corrige o espaçamento para inputs em formulários */
form .input-group {
    width: 100%;
}

/* Mantém o estilo dos ícones */
.bi-eye-slash {
    display: none;
}

.bi-eye {
    display: inline-block;
}

.show-password .bi-eye {
    display: none;
}

.show-password .bi-eye-slash {
    display: inline-block;
}

/* REMOVER estilos dos botões switch */
.switch-type {
    display: none; /* Esconder completamente os botões switch */
}

/* Botões fixos do overlay (ghost style - brancos transparentes) */
.btn-consultant-login,
.btn-company-login,
.btn-consultant-register,
.btn-company-register {
    border-radius: 20px;
    border: 1px solid #FFFFFF;
    background-color: transparent;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    margin: 8px 0;
    width: 90%;
    max-width: 250px;
    cursor: pointer;
    display: block;
}

.btn-consultant-login:hover,
.btn-company-login:hover,
.btn-consultant-register:hover,
.btn-company-register:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-consultant-login:active,
.btn-company-login:active,
.btn-consultant-register:active,
.btn-company-register:active {
    transform: scale(0.95);
}

/* BOTÕES DENTRO DOS FORMULÁRIOS (Login e Registrar) - VERMELHOS */
form button[type="submit"] {
    border-radius: 20px;
    border: 1px solid #FF4B2B;
    background-color: #FF4B2B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    margin-top: 20px;
    cursor: pointer;
}

form button[type="submit"]:hover {
    background-color: #FF3A1B;
    border-color: #FF3A1B;
}

form button[type="submit"]:active {
    transform: scale(0.95);
}

/* Feed (mantido igual) */
.feed {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 999;
    overflow: hidden;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.feed-content {
    color: #333;
}

.feed-item {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feed-item:hover {
    transform: translateY(-2px);
}

.feed-item h3 {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #FF4B2B;
}

.feed-item p {
    font-size: 12px;
    margin: 0;
    color: #666;
    line-height: 1.4;
}

.feed-item .time {
    font-size: 10px;
    color: #999;
    margin-top: 8px;
}

/* Resto do CSS mantido IGUAL */
body {
    background: #f6f5f7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    margin: -20px 0 50px;
}

h1 {
    font-weight: bold;
    margin: 0;
}

h2 {
    text-align: center;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span {
    font-size: 12px;
}

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

button:focus {
    outline: none;
}

form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 4px 0;
    width: 100%;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25),
            0 10px 10px rgba(0,0,0,0.22);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: calc(100% - 350px);
    min-height: 480px;
    margin-right: 320px;
}

.form-container {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

/* Estados base - Login Consultor ativo */
.sign-in-container {
    left: 0;
    width: 50%;
    z-index: 2;
    opacity: 1;
}

.sign-in-containerc {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.sign-up-containerc {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

/* Quando empresa está ativa (login empresa) */
.container.company-login .sign-in-container {
    opacity: 0;
    z-index: 1;
}

.container.company-login .sign-in-containerc {
    opacity: 1;
    z-index: 2;
}

/* Registro Consultor ativo */
.container.consultant-register .sign-in-container {
    transform: translateX(100%);
    opacity: 0;
}

.container.consultant-register .sign-up-container {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/* Registro Empresa ativo */
.container.company-register .sign-in-containerc {
    transform: translateX(100%);
    opacity: 0;
}

.container.company-register .sign-up-containerc {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
}

/* Overlay e animações */
.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.consultant-register .overlay-container,
.container.company-register .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: #FF416C;
    background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #FF4B2B, #FF416C);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.consultant-register .overlay,
.container.company-register .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.overlay-left {
    transform: translateX(-20%);
}

.container.consultant-register .overlay-left,
.container.company-register .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.consultant-register .overlay-right,
.container.company-register .overlay-right {
    transform: translateX(20%);
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.social-container {
    margin: 20px 0;
}

.social-container a {
    border: 1px solid #DDDDDD;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    height: 40px;
    width: 40px;
}

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

footer p {
    margin: 10px 0;
}

footer i {
    color: red;
}

footer a {
    color: #3c97bf;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 1200px) {
    .feed {
        width: 250px;
    }

    .container {
        max-width: calc(100% - 300px);
        margin-right: 270px;
    }

    .btn-consultant-login,
    .btn-company-login,
    .btn-consultant-register,
    .btn-company-register {
        padding: 10px 20px;
        font-size: 11px;
    }

    form button[type="submit"] {
        padding: 10px 35px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .feed {
        display: none;
    }

    .container {
        max-width: 100%;
        margin-right: 0;
    }

    .btn-consultant-login,
    .btn-company-login,
    .btn-consultant-register,
    .btn-company-register {
        padding: 8px 16px;
        font-size: 10px;
        max-width: 200px;
    }

    form button[type="submit"] {
        padding: 10px 30px;
        font-size: 11px;
    }
}
