* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* background: linear-gradient(to bottom, #1d4ed8, #1e40af); */
    color: #000000;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Fondo con elipses azules sutiles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 0% 100%, rgba(30, 64, 175, 0.300) 8%, transparent 60%),
                radial-gradient(ellipse at 100% 100%, rgba(30, 64, 175, 0.300) 8%, transparent 60%);
    z-index: -1;
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.1) rotate(1deg);
    }
}

.login-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 3rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 2rem; 
}

.logo img {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
    background-color: #bbbaba79;
    border-radius: 20%;
    padding: 5px;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.login-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #333333;
    letter-spacing: 1px;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555555;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    color: #000000;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(0, 0, 0, 0.45) 50%),
                      linear-gradient(135deg, rgba(0, 0, 0, 0.45) 50%, transparent 50%);
    background-position: calc(100% - 1.2rem) calc(50% - 4px), calc(100% - 0.8rem) calc(50% - 4px);
    background-size: 8px 8px, 8px 8px;
    background-repeat: no-repeat;
    padding-right: 2.5rem;
}

.form-input:focus {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-hint {
    margin-top: 0.75rem;
    color: #1d4ed8;
    font-size: 0.85rem;
    line-height: 1.3;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to bottom, #1d4ed8, #1e40af);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-position 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    background-size: 200% 200%;
}

.login-button:hover {
    background: linear-gradient(to bottom, #2563eb, #1d4ed8);
    background-position: bottom center;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.forgot-password {
    text-align: center;
}

.forgot-link {
    color: #555555;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.5rem 0;
}

.forgot-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: #333333;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.forgot-link:hover {
    color: #333333;
    transform: translateY(-1px);
}

.forgot-link:hover::before {
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }

    .login-title {
        font-size: 1.5rem;
    }
}

/* Cursor personalizado */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
}

/* Animaciones adicionales */
.form-input:focus {
    transform: translateY(-2px) scale(1.02);
}

