body {
    background: linear-gradient(135deg, #fff 0%, #0b5728 100%);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

.login-container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.card {
    background: #ded7d7;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.login-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.text-muted {
    color: #666;
    font-weight: 600;
    font-size: 14px;
}

.input-container {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 10px 15px;
    padding-left: 40px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    background: #f9f9f9;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #FF5733;
    background: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 87, 51, 0.5);
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

input[type="submit"] {
    background: linear-gradient(135deg, #FF5733, #F06081);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 5px 10px rgba(240, 96, 129, 0.3);
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #E04C2A, #FF3366);
    box-shadow: 0 10px 15px rgba(255, 51, 102, 0.4);
    transform: translateY(-3px);
}

.forgot {
    display: block;
    margin-top: 10px;
    color: #008d36;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.forgot:hover {
    color: #005f25;
}

.footer-links {
    margin-top: 20px;
    font-size: 14px;
}

.footer-links a {
    color: #008d36;
    text-decoration: none;
}

.footer-links a:hover {
    color: #005f25;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fondo Dinámico */
body::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
    z-index: 1;
    animation: pulsate 3s infinite;
}

@keyframes pulsate {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}
/* Contenedor del logo */
.logo-container {
    width: 100%;       /* Ancho completo */
    max-width: 300px;  /* Máximo tamaño del logo */
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

/* Imagen responsive */
.logo-container img {
    width: 100%;       /* La imagen ocupará el 100% del contenedor */
    height: auto;      /* Mantiene la proporción */
    max-width: 100%;   /* Evita que la imagen se desborde */
    display: block;
    margin: 0 auto;
}

/* Media Queries para Responsividad */
@media (min-width: 400px) {
    .card {
        max-width: 300px;
    }
}

@media (min-width: 600px) {
    .card {
        max-width: 500px;
    }
}