* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    color: #e6f1ff;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.background-logo {
    position: absolute;
    font-size: 30vw;
    font-weight: bold;
    color: rgba(22, 72, 128, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    user-select: none;
}

nav {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
}

nav a {
    color: #64ffda;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

nav a:hover {
    text-decoration: underline;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    position: relative;
}

.login-form {
    background-color: #112240;
    padding: 40px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    border: 1px solid #1e2e4e;
}

.logo-circle {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 160px;
    overflow: visible;
    /* Este cambio permite que se vea el círculo completo */
    z-index: 2;
}

.logo-circle::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: #1a365d;
    border: 1px solid #2c5282;
    top: -120px;
    /* Mueve el círculo hacia arriba para que se vea completo */
    left: 0;
    z-index: -1;
}

.logo-circle img {
    position: relative;
    width: 180px;
    height: 180px;
    top: 50px;
    left: 50px;
    border-radius: 50%;
    background-color: #0a192f;
    padding: 10px;
    border: 1px solid #1e2e4e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #64ffda;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #ccd6f6;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 12px 15px;
    background-color: #0a192f;
    border: 1px solid #1e2e4e;
    border-radius: 5px;
    color: #e6f1ff;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #64ffda;
    box-shadow: 0 0 0 2px rgba(100, 255, 218, 0.2);
}

.password-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64ffda;
    font-size: 12px;
    user-select: none;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #3182ce;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background-color: #4299e1;
}

@media (max-width: 768px) {
    .login-form {
        padding: 35px 25px;
        margin: 0 20px;
    }

    .logo-circle {
        top: -90px;
        width: 200px;
        height: 100px;
    }

    .logo-circle::before {
        width: 200px;
        height: 200px;
    }

    .logo-circle img {
        width: 130px;
        height: 130px;
        top: 30px;
        left: 35px;
    }
}

@media (max-width: 480px) {
    .logo-circle {
        top: -70px;
        width: 160px;
        height: 80px;
    }

    .logo-circle::before {
        width: 160px;
        height: 160px;
    }

    .logo-circle img {
        width: 100px;
        height: 100px;
        top: 20px;
        left: 30px;
    }
}

.wave-animated {
    position: fixed;
    top: 0;
    width: 80px;
    height: 100vh;
    background-color: rgba(34, 92, 146, 0.2);
    z-index: -1;
    pointer-events: none;
}

.wave-animated.left {
    left: 0;
}

.wave-animated.right {
    right: 0;
    transform: scaleX(-1); /* Reflejo para simetría */
}
