/* Centrando el formulario */
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle, #00ff88 0%, #121212 100%);
    font-family: 'Arial', sans-serif;
    color: white;
}

#login-form {
    background-color: rgba(34, 34, 34, 0.8); /* Fondo semi-transparente */
    padding: 40px;
    width: 350px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    text-align: center; /* Centra el contenido horizontalmente */
    display: flex;
    flex-direction: column; /* Para que los elementos del formulario se apilen */
    align-items: center; /* Centra los elementos horizontalmente */
}

#login-form img {
    width: 100px;
    margin-bottom: 20px;
}

#login-form h2 {
    margin-bottom: 20px;
    color: #00ff88; /* Verde brillante */
}

#login-form input {
    width: 100%; /* Ajusta la anchura de los campos */
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

#login-form input:focus {
    outline: none;
    border: 1px solid #00ff88;
}

#login-form button {
    background-color: #00ff88;
    color: #121212;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#login-form button:hover {
    background-color: #00cc6e;
}

.footer {
    margin-top: 20px;
    font-size: 14px;
    text-align: center; /* Asegura que el texto esté centrado */
}

.footer a {
    color: #00ff88;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}


/* Modal de error: oculto por defecto */
.modal {
    display: none; /* Oculto inicialmente */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(34, 34, 34, 0.9); /* Fondo semi-transparente */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    text-align: center;
    z-index: 1000; /* Sobre otros elementos */
}

.modal button {
    background-color: #00ff88;
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal button:hover {
    background-color: #00cc6e;
}

/* Superposición (overlay): oculto por defecto */
.modal-overlay {
    display: none; /* Oculto inicialmente */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    z-index: 999; /* Debajo del modal */
}


/* Barra superior */
.navbar {
    width: 100%;
    background-color: #2d2d2d;
    padding: 15px;
    color: white;
    display: flex;
    justify-content: space-between; /* Distribuir el contenido */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.navbar h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.navbar button {
    background-color: #00ff88;
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-right:35px; /* Añade margen a la derecha */
    transition: background-color 0.3s ease;
}

.navbar button:hover {
    background-color: #00cc6e;
}


/* Espaciado para evitar superposición con la barra superior */
.content {
    margin-top: 70px; /* Ajuste para que el contenido no quede debajo de la barra */
    text-align: center;
}

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2rem;
}

/* Tabla dinámica */
table {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    background-color: rgba(34, 34, 34, 0.9);
}

table th, table td {
    border: 1px solid #00ff88;
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #2d2d2d;
    color: #00ff88;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: rgba(20, 20, 20, 0.8);
}

table tr:hover {
    background-color: #00ff88;
    color: #121212;
    cursor: pointer;
}

/* Botón Registrado en Beta */
.beta-button {
    display: flex;
    align-items: center; /* Centrar ícono y texto verticalmente */
    justify-content: center; /* Centrar horizontalmente */
    gap: 8px; /* Espacio entre ícono y texto */
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.beta-button:hover {
    background-color: #0056b3;
}

.beta-button.disabled {
    background-color: gray; /* Color para el botón deshabilitado */
    cursor: not-allowed;
    opacity: 0.6;
}


/* Botones de estado */
.status-button {
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.status-button.active {
    background-color: #00ff88;
    color: #121212;
}

.status-button.inactive {
    background-color: #ff3333;
    color: white;
}
