/* Panel de administrador */
.admin-panel {
    width: 50%;
    margin: 50px auto;
    padding: 25px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Grupos del formulario */
.form-group {
    margin-bottom: 20px;
}

/* Labels */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Input file */
input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Botón enviar */
button[type="submit"] {
    padding: 10px 20px;
    background: linear-gradient(90deg, #ff6b6b, #ff9f9f);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

button[type="submit"]:hover {
    transform: scale(1.05);
}

/* Mensajes del formulario */
form p {
    display: block;
    color: #ccc;
    margin-top: 10px;
}

/* TABLA */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

/* Encabezado */
th {
    background: linear-gradient(90deg, #ff6b6b, #ff9f9f);
    color: white;
    padding: 12px;
    text-align: center;
}

/* Celdas */
td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

/* Filas alternas */
tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Hover en filas */
tr:hover {
    background-color: #ffe5e5;
    transition: 0.3s;
}

/* Botones */
button {
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
}

/* Botón eliminar */
.btn-eliminar {
    background-color: #ff4d4d !important;
    color: white !important;
    margin-right: 10px;
}

.btn-eliminar:hover {
    background-color: #cc0000 !important;
}

/* Botón actualizar */
.btn-actualizar {
    background-color: #ffc107 !important;
    color: black !important;
}

.btn-actualizar:hover {
    background-color: #e0a800 !important;
}