@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;600&display=swap');

body.login-body {
    margin: 0;
    padding: 0;
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #ffe0f0, #e0f7fa);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.login-container {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px 35px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 3px solid transparent;
    animation: borderFlow 4s linear infinite;
}

@keyframes borderFlow {
    0% {
        border-image: linear-gradient(45deg, #ffd6ec, #cdefff) 1;
    }
    50% {
        border-image: linear-gradient(135deg, #cdefff, #ffd6ec) 1;
    }
    100% {
        border-image: linear-gradient(45deg, #ffd6ec, #cdefff) 1;
    }
}

.login-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #a678b4;
    letter-spacing: 1px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-input {
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.login-input:focus {
    outline: none;
    transform: scale(1.02);
    box-shadow: 0 0 0 3px #ffdaf1;
}

.login-button {
    background: linear-gradient(to right, #ffb3c6, #bae1ff);
    color: #333;
    font-weight: 600;
    padding: 12px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.login-button:hover {
    transform: translateY(-3px);
}

.register-link {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #a678b4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #ff8fab;
}

.bubbles {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 600px;
    height: 600px;
    z-index: 0;
    background: radial-gradient(circle, #ffd6ec, transparent 70%) center;
    animation: floatBubble 10s ease-in-out infinite;
}

@keyframes floatBubble {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.password-wrapper {
    width: 100%; /* Igual al input */
}

.password-wrapper input {
    width: 90%;
}