﻿.logonotaria {
    margin-top: 2%;
    position: fixed;
}
/* Estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#mensajeEspere {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    z-index:3;
}
body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background:#8d9dc3;
    color: #333;
}

/* Fondo de partículas animadas */
.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    background-color: rgba(45, 121, 106, 9.6);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    animation: move 10s linear infinite;
}

    .particle:nth-child(1) {
        top: 20%;
        left: 30%;
        animation-duration: 12s;
        animation-delay: 0s;
    }

    .particle:nth-child(2) {
        top: 50%;
        left: 70%;
        animation-duration: 18s;
        animation-delay: 2s;
    }

    .particle:nth-child(3) {
        top: 80%;
        left: 10%;
        animation-duration: 15s;
        animation-delay: 4s;
    }

    .particle:nth-child(4) {
        top: 70%;
        left: 90%;
        animation-duration: 20s;
        animation-delay: 1s;
    }

    .particle:nth-child(5) {
        top: 40%;
        left: 20%;
        animation-duration: 25s;
        animation-delay: 3s;
    }

/* Animación de las partículas */
@keyframes move {
    0% {
        transform: translateY(0px) translateX(0px);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(50vw);
        opacity: 0;
    }
}

/* Estilos del login */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

    .login-box h2 {
        margin-bottom: 20px;
        font-weight: 600;
        color: #333;
    }

.input-group {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

    .input-group input {
        width: 100%;
        padding: 10px 10px;
        font-size: 16px;
        border: none;
        border-bottom: 2px solid #adadad;
        background: none;
        outline: none;
        color: #333;
    }

    .input-group label {
        position: absolute;
        top: 0;
        left: 10px;
        padding: 10px 0;
        font-size: 16px;
        color: #adadad;
        pointer-events: none;
        transition: 0.3s;
    }

    .input-group input:focus ~ label,
    .input-group input:valid ~ label {
        top: -20px;
        left: 5px;
        color: #333;
        font-size: 12px;
    }

.remember-forgot {
   /* display: flex;*/
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
}

    .remember-forgot label {
        display: flex;
        align-items: center;
    }

    .remember-forgot a {
        color: #00bcd4;
        text-decoration: none;
    }

        .remember-forgot a:hover {
            text-decoration: underline;
        }

.btn {
    width: 100%;
    background: #00bcd4;
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

    .btn:hover {
        background: #008c9e;
    }

.btn2 {
    width: 100%;
    background: #93778057;
    border: none;
    padding: 10px;
    border-radius: 25px;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 2%;
}

    .btn2:hover {
        background: #004d9e;
        color: white;
    }


.register {
    margin-top: 20px;
    font-size: 14px;
}

    .register a {
        color: #00bcd4;
        text-decoration: none;
    }

        .register a:hover {
            text-decoration: underline;
        }

/* Hacerlo responsivo */
@media (max-width: 768px) {
    .login-box {
        padding: 30px;
    }

    .input-group label {
        font-size: 14px;
    }
}