/* Estilo General */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(45deg, #1a1f71, #0d47a1);
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Caja flotante */
.container {
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
}

/* Logo */
.logo {
    width: 120px;
    margin-bottom: 10px;
}

/* Títulos */
h2 {
    color: #fff;
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
}

input, button {
    padding: 12px;
    margin: 8px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

input {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Botones Premium */
button {
    background: linear-gradient(90deg, #ff9800, #ff5722);
    color: white;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(255, 152, 0, 0.5);
}

button:hover {
    background: linear-gradient(90deg, #ff5722, #ff9800);
    transform: scale(1.05);
}

/* Menú Superior Izquierdo */
.menu {
    position: absolute;
    top: 10px;
    left: 10px;
}

.menu-btn {
    background: linear-gradient(90deg, #00bcd4, #008ba3);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

.menu-content {
    display: none;
    position: absolute;
    background: white;
    width: 200px;
    left: 0;
    top: 40px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.menu-content a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.menu-content a:hover {
    background: #00bcd4;
    color: white;
}

.menu:hover .menu-content {
    display: block;
}

/* Tablas */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    color: black;
    border-radius: 5px;
}

th, td {
    padding: 12px;
    border: 1px solid #ddd;
}

th {
    background: #007BFF;
    color: white;
}

/* Botones dentro de la tabla */
table a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.edit-btn {
    background: #ffc107;
}

.delete-btn {
    background: #e91e63;
}

table a:hover {
    opacity: 0.8;
}

