﻿

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Open Sans", verdana;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    /*background-image: linear-gradient(to left, #2e2e2e, #cccccc);*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: -1;
}


.container-login {
    display: flex;
    width: 100%;
    height: 100vh;
}

.left-panel, .right-panel {
    flex: 1;
}

.left-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 7;
}

    .left-panel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.right-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 3;
    align-items: center;
}

.wrapper {
    width: 88%;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    /*border: 1px solid rgba(255, 255, 255, 0.5);*/
    border: 1px solid #ccc;
    /*  backdrop-filter: blur(75px);*/
    -webkit-backdrop-filter: blur(75px);
}

.wrapperEsquerda {
    border-radius: 8px;
    width: 400px;
    padding: 2px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}



form {
    display: flex;
    flex-direction: column;
}

.input-field {
    position: relative;
    border: 1px solid #ccc;
    margin: 15px 0;
    border-radius: 3px;
}

    .input-field label {
        position: absolute;
        top: 5%;
        left: 0;
        transform: translateY(-130%);
        color: #000;
        font-size: 20px;
        pointer-events: none;
        transition: 0.15s ease;
    }

    .input-field input {
        width: 100%;
        height: 40px;
        background-color: #f5f8f9;
        border: none;
        outline: none;
        font-size: 14px;
        /*color: #000;*/
    }

        .input-field input:focus ~ label,
        .input-field input:valid ~ label {
            /*  font-size: 0.8rem;
     
        top: 10px;
        transform: translateY(-120%);*/
        }

.register {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}



    .register button {
        flex: 1;
    }


@media (max-width: 480px) {
    .register {
        flex-direction: column; /* empilha os botões */
        gap: 8px; /* reduz gap entre eles */
    }

        .register button {
            width: 100%; /* cada botão ocupa toda a largura disponível */
        }
}


/*button {
  background: #fff;
  color: #000;
  font-weight: 400;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 3px;
  font-size: 14px;
  border: 2px solid transparent;
  transition: 0.3s ease;
}*/

button:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Responsividade para telas pequenas */
@media (max-width: 768px) {
    .container-login {
        flex-direction: column;
    }

    .left-panel {
        display: none !important;
        width: 0;
        height: 0;
        visibility: hidden;
    }

    .right-panel {
        flex: 1 1 100%;
        width: 100%;
        height: 100vh;
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

    .carousel-container img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: fill;
        transition: opacity 1s ease-in-out;
        opacity: 0;
    }

        .carousel-container img.active {
            opacity: 1;
            z-index: 2;
        }

        .carousel-container img.inactive {
            opacity: 0;
            z-index: 1;
        }


.imagem-responsiva {
    width: 100%;
    height: 400px; /* ou qualquer valor necessário */
    overflow: hidden;
}

    .imagem-responsiva img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* ou "contain" se quiser mostrar tudo */
        object-position: center;
    }
