@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: #fff;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(255, 255, 255);
    background-image: url(/images/backgroundblue.jpg);
    background-size: cover;
    background-position: center;
    padding: 20px;
    position: relative;
}

.imagem_fundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/images/backgroundblue.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    position: relative;
    width: 750px;
    height: 450px;
    border: 2px solid #077e9c;
    box-shadow: 0 0 25px #077e9c;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.container .form-box {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.form-box.Login {
    left: 0;
    padding: 0 40px;
}

.form-box.Login .animation {
    transform: translateX(0%);
    transition: .7s;
    opacity: 1;
    transition-delay: calc(.1s * var(--S));
}

.container.active .form-box.Login .animation {
    transform: translateX(-120%);
    opacity: 0;
    transition-delay: calc(.1s * var(--D));
}

.form-box.Register {
    right: 0;
    padding: 0 60px;
}

.form-box.Register .animation {
    transform: translateX(120%);
    transition: .7s ease;
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s * var(--S));
}

.container.active .form-box.Register .animation {
    transform: translateX(0%);
    opacity: 1;
    filter: blur(0px);
    transition-delay: calc(.1s * var(--li));
}

.form-box h2 {
    font-size: 32px;
    text-align: left;
    color: #ffffffda;
    margin-bottom: 20px;
    padding-left: 10px;
}

.form-box .input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin-top: 25px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    color: #f3f6f7;
    font-weight: 600;
    border-bottom: 2px solid #077e9c;
    padding-right: 23px;
    transition: .5s;
}

.input-box input:focus,
.input-box input:valid {
    border-bottom: 2px solid #0894b8;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 16px;
    color: #00d0ff;
    transition: .5s;
    pointer-events: none;
}

.input-box input:focus ~ label,
.input-box input:valid ~ label {
    top: -5px;
    color: #0894b8;
    font-size: 14px;
}

.input-box box-icon {
    position: absolute;
    top: 50%;
    right: 0;
    font-size: 18px;
    transform: translateY(-50%);
    color: #077e9c;
    z-index: 2;
}

.input-box input:focus ~ box-icon,
.input-box input:valid ~ box-icon {
    color: #0894b8;
    transform: translateY(-50%) scale(1.1);
}

.lembrar-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.lembrar-me input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0;
}

.lembrar-me label {
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
}

.btn {
    position: relative;
    width: 100%;
    height: 45px;
    background: transparent;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #077e9c;
    box-shadow: 0px 0px 10px #47cdd1c4;
    overflow: hidden;
    z-index: 1;
    color: #00ddff;
    transition: all 0.3s ease;
}

.btn::before {
    content: "";
    position: absolute;
    height: 300%;
    width: 100%;
    background: linear-gradient(#077e9c, #0894b8, #077e9c, #0894b8);
    top: -100%;

    left: 0;
    z-index: -1;
    transition: .5s;
}

.btn:hover:before {
    top: 0;
}

.btn:hover {
    color: #fff;
    border-color: #0894b8;
}

.esqueceu-senha {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
}

.esqueceu-senha a {
    color: #04e2ff;
    text-decoration: none;
    font-weight: 600;
}

.esqueceu-senha a:hover {
    text-decoration: underline;
}

.regi-link {
    font-size: 14px;
    text-align: center;
    margin: 20px 0 10px;
}

.regi-link a {
    text-decoration: none;
    color: #abc3c9;
    font-weight: 600;
}

.regi-link a:hover {
    text-decoration: underline;
}

.info-content {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.info-content.Login {
    right: 0;
    text-align: right;
    padding: 0 40px 60px 150px;
}

.info-content.Login .animation {
    transform: translateX(0);
    transition: .7s ease;
    transition-delay: calc(.1s * var(--S));
    opacity: 1;
    filter: blur(0px);
}

.container.active .info-content.Login .animation {
    transform: translateX(120%);
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s * var(--D));
}

.info-content.Register {
    left: 0;
    text-align: left;
    padding: 0 150px 60px 38px;
    pointer-events: none;
}

.info-content.Register .animation {
    transform: translateX(-120%);
    transition: .7s ease;
    opacity: 0;
    filter: blur(10px);
    transition-delay: calc(.1s * var(--S));
}

.container.active .info-content.Register .animation {
    transform: translateX(0%);
    opacity: 1;
    filter: blur(0);
    transition-delay: calc(.1s * var(--li));
}

.info-content h2 {
    text-transform: uppercase;
    font-size: 36px;
    line-height: 1.3;
    color: #02ccff;
}

.info-content p {
    font-size: 16px;
    color: #fdfdfd;
}

.container .curved-shape {
    position: absolute;
    right: 0;
    top: -5px;
    height: 600px;
    width: 850px;
    background: linear-gradient(45deg, #077e9c, #0894b8);
    transform: rotate(10deg) skewY(40deg);
    transform-origin: bottom right;
    transition: 1.5s ease;
    transition-delay: 1.6s;
}

.container.active .curved-shape {
    transform: rotate(0deg) skewY(0deg);
    transition-delay: .5s;
}

.container .curved-shape2 {
    position: absolute;
    left: 250px;
    top: 100%;
    height: 700px;
    width: 850px;
    background: #077e9c;
    border-top: 3px solid #0894b8;
    transform: rotate(0deg) skewY(0deg);
    transform-origin: bottom left;
    transition: 1.5s ease;
    transition-delay: .5s;
}

.container.active .curved-shape2 {
    transform: rotate(-11deg) skewY(-41deg);
    transition-delay: 1.2s;
}

footer {
    width: 100%;
    text-align: center;
    padding: 20px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
}

.image-svf img {
    height: 55px;
    bottom: 10px;
}

.image-svf p {
    margin: 10px 0 0;
    font-size: 1.2rem;
    color: white;
}

/* Sistema de Mensagens */
.message-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    animation: slideIn 0.3s ease-out;
}

.message-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.message-success {
    background: rgba(76, 175, 80, 0.9);
    border-left: 4px solid #4caf50;
    color: white;
}

.message-error {
    background: rgba(244, 67, 54, 0.9);
    border-left: 4px solid #f44336;
    color: white;
}

.message-warning {
    background: rgba(255, 152, 0, 0.9);
    border-left: 4px solid #ff9800;
    color: white;
}

.message-info {
    background: rgba(33, 150, 243, 0.9);
    border-left: 4px solid #2196f3;
    color: white;
}

.message-text {
    flex: 1;
    margin-right: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.message-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 90%;
        height: auto;
        min-height: 500px;
    }
    
    .form-box.Login,
    .form-box.Register {
        padding: 20px;
    }
    
    .info-content.Login,
    .info-content.Register {
        padding: 20px;
    }
    
    .curved-shape,
    .curved-shape2 {
        display: none;
    }
}