.admin-panel {
    width: 50%;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.form-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-weight: bold;
}
input[type="file"] {
    width: 100%;
    
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
    background-color: #0056b3;
}

form p {
    display: block; /* Asegura que el <p> se muestre como bloque */
    color: #333; /* Color del texto */
}



/*Tabla*/table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #f2f2f2;
}
button {
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    color: white;
    font-weight: bold;
}
.btn-eliminar {
    background-color: red !important;
    color: white !important;
    margin-right: 15px;
}

.btn-actualizar {
    background-color: yellow !important;
    color: black !important;

}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fefaf6;
    margin: 0;
    padding: 20px;
    color: #4a4a4a;
}

.admin-panel {
    max-width: 1000px;
    margin: auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6e6e6;
}

h1, h2 {
    color: #6d5c7d;
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #7a6c93;
}

input[type="file"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #dcd6f7;
    background-color: #f7f4fc;
    color: #4a4a4a;
}

textarea {
    resize: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

table th {
    background-color: #e4d1ff;
    color: #4a4a4a;
    font-weight: bold;
    padding: 12px;
}

table td {
    padding: 12px;
    border: 1px solid #eee;
    vertical-align: middle;
}

table img {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    font-size: 14px;
}

.btn-eliminar {
    background-color: #f7a9a8;
    color: #fff;
}

.btn-eliminar:hover {
    background-color: #f28b89;
}

.btn-actualizar {
    background-color: #a2d5f2;
    color: #fff;
}

.btn-actualizar:hover {
    background-color: #7ecde9;
}

.btn-ver {
    background-color: #b9fbc0;
    color: #4a4a4a;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

.btn-ver:hover {
    background-color: #a2f2ab;
}

.enlace-carrusel {
    text-align: center;
    margin-top: 30px;
}

select:focus,
input[type="file"]:focus,
textarea:focus {
    outline: none;
    border-color: #cdb4db;
    box-shadow: 0 0 5px rgba(205, 180, 219, 0.4);
}
