﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI',sans-serif;
}

body {
    background: linear-gradient(rgba(62,182,251,0.15),rgba(62,182,251,0.1)), url("/img/background/background-blue.webp") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Toggle senha */
.toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa1a7;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

    .toggle:hover {
        background: #f3f5f7;
        color: var(--dark)
    }

.login-container {
    width: 420px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.15);
    overflow: hidden;
    padding: 40px 35px;
    position: relative;
}

    .login-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg,#3eb6fb,#2a9de9);
    }

.logo {
    text-align: center;
    margin-bottom: 35px;

}

    .logo h2 {
        color: #3eb6fb;
        font-size: 32px;
        font-weight: 700;
    }

    .logo p {
        color: #777;
        font-size: 15px;
    }

    .logo img {
        width: 60%; /* 🔹 proporcional ao card (ajustável entre 50–70%) */
        max-width: 220px; /* 🔹 evita crescer demais em telas grandes */
        height: auto; /* 🔹 mantém proporção */
        display: block; /* 🔹 remove espaçamento extra */
        margin: 0 auto 10px; /* 🔹 centraliza e dá leve espaçamento inferior */
    }

.social-section {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
}

.social-btn {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}

    .social-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,.15);
    }

.google {
    background: #DB4437;
}

.facebook {
    background: #4267B2;
}

.microsoft {
    background: #2F2F2F;
}

.or-email {
    text-align: center;
    color: #3eb6fb;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: .3s;
}

    .or-email:hover {
        color: #2a9de9;
    }

#emailForm {
    display: none;
    animation: fade .4s ease;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
        font-weight: 500;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
    }

.form-control {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    font-size: 15px;
    transition: .3s;
}

    .form-control:focus {
        outline: none;
        border-color: #3eb6fb;
        box-shadow: 0 0 0 3px rgba(62,182,251,0.2);
    }

    .form-control.error {
        border-color: #cf2637;
        box-shadow: 0 0 0 3px rgba(207,38,55,0.2);
    }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember {
    display: flex;
    align-items: center;
}

    .remember input {
        margin-right: 8px;
        accent-color: #3eb6fb;
    }

.forgot-password {
    color: #3eb6fb;
    text-decoration: none;
}

    .forgot-password:hover {
        text-decoration: underline;
        color: #2a9de9;
    }

.btn-login {
    background: #3eb6fb;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(62,182,251,0.3);
}

    .btn-login:hover {
        background: #2a9de9;
        transform: translateY(-2px);
    }

.signup {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

    .signup a {
        color: #3eb6fb;
        text-decoration: none;
        font-weight: 500;
    }

        .signup a:hover {
            text-decoration: underline;
            color: #2a9de9;
        }

.floating-element {
    position: absolute;
    background: rgba(62,182,251,0.1);
    border-radius: 50%;
    z-index: -1;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
}

.element-2 {
    width: 80px;
    height: 80px;
    bottom: 60px;
    left: -30px;
}

@media(max-width:480px) {
    .login-container {
        width: 100%;
        padding: 30px 25px;
    }

    .logo h2 {
        font-size: 28px;
    }

    .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ===== Wave Loader ===== */
.wave-loader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 18px;
    gap: 2px;
   
}

    .wave-loader span {
        width: 4px;
        height: 10px;
        background: #fff;
        border-radius: 2px;
        animation: wave 1s infinite ease-in-out;
    }

        .wave-loader span:nth-child(1) {
            animation-delay: 0s;
        }

        .wave-loader span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .wave-loader span:nth-child(3) {
            animation-delay: 0.2s;
        }

        .wave-loader span:nth-child(4) {
            animation-delay: 0.3s;
        }

        .wave-loader span:nth-child(5) {
            animation-delay: 0.4s;
        }

@keyframes wave {
    0%, 40%, 100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
    }
}
