* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    height: 100vh;
    background: linear-gradient(135deg,rgb(255, 255, 255));
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
}

.floating-img {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0;
    animation: appear 3s ease-in-out forwards;
}

@keyframes appear {
    0% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.5); }
}

.card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    width: 800px;
    height: 500px;
}

.card img {
    width: 50%;
    object-fit: cover;
}

.login-form {
    width: 50%;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-form h2 {
    margin-bottom: 20px;
    color:rgb(75, 71, 71);
    font-weight: bold;
    font-size: 26px;
    text-align: center;
}

.input-field {
    width: 100%;
    margin-bottom: 20px;
   
}

.input-field input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #d32f2f;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
}

.input-field input:focus {
    border-color: #9a0007;
}

.login-button {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
    margin-top: 10px;
}

.login-button:hover {
    background-color:rgb(243, 100, 81);
}

.support-button {
    margin-top: 10px;
    background-color: #d32f2f;
    text-decoration: none;
    padding: 12px 20px;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    width: 100%;
    text-align: center;
    display: inline-block;
    transition: background 0.3s;
}

.support-button:hover {
    background-color:rgb(243, 100, 81);
}

.error-message {
    color: red;
    margin-top: 10px;
    font-size: 14px;
    display: none;
    text-align: center;
}
.card img.robot {
    width: 50%;
    object-fit: cover;
    animation: floating 5s ease-in-out infinite;
}
.card img.logo {
    width: 40%;
    object-fit: cover;
}

/* Animación de flotación */
@keyframes floating {
    0% { transform: translateY(0px); }
    30% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}