body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    background-image: url(../img/background.jpg);
    background-size: cover;
    background-position: center;
    flex-direction: column; /* Para que el h1 y el contenedor estén en columna */
    gap: 30px; /* Espacio entre el h1 y el login-container */
}

h1 {
    color: rgb(0, 0, 0);
    font-size: 2.5rem; /* Tamaño grande para el título */
    margin: 0;
    text-align: center; /* Centra el texto */
    text-shadow: 
        2px 2px 0px #8baebabd,  /* Borde blanco */
        -2px -2px 0px #8baebabd, 
        2px -2px 0px #8baebabd,
        -2px 2px 0px #8baebabd;  /* Borde blanco */
}

.login-container {
    background: #0098c7bd;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 250px; /* Limita el tamaño máximo del contenedor */
}

h2 {
    margin-bottom: 20px;
    color: #f4f4f4;
}

label {
    display: block;
    margin: 10px 0 5px;
    text-align: left;
    color: #f4f4f4;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #042c81;
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1741ff;
}

/* Botones flotantes */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

/* Estilo para enlaces para que no se vean subrayados */
.floating-buttons a {
    text-decoration: none;
    display: inline-flex;
}

/* Botones flotantes */
.floating-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#new-patient {
    background-color: #196bbe;
}

#emergency {
    background-color: #00779b;
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.floating-btn:active {
    transform: translateY(0);
}

.floating-btn i {
    font-size: 20px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 10px;
        left: 10px;
    }
    
    .floating-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .floating-btn i {
        font-size: 18px;
    }
}
