/* Reset y estructura base */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: sans-serif;
    color: #fff;
    background-image: url(../images/Voces/mujeres.jpeg);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	position: relative;
	z-index: 1;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.admin-page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 150px; /* para dar espacio debajo del header */
}

/* Contenedor principal */
.admin-container {
    flex: 1;
    max-width: 100%;
    padding: 2rem;
    margin: auto;
    background: #1f2120;
    border-radius: 8px;
    box-shadow: 0 4px 12px #0e110d;
    margin-bottom: 100px;
}

/* Secciones */
.admin-section {
    margin-bottom: 40px;
}

/* Alertas */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
}
.alert.success {
    background-color: #19bc70;
    color: white;
}

/* Tabla */
.table-wrapper {
    overflow-x: auto;
    width: 100%;
}
.admin-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
    min-width: 600px;
}
.admin-table th,
.admin-table td {
    border: 1px solid #ccc;
    padding: 8px 12px;
    text-align: left;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-table td img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}
.admin-table tr:hover td {
    background-color: #2a2a2a;
}

/* Botones */
.btn-edit,
.btn-delete,
.btn-primary {
    padding: 8px 14px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
}
.btn-edit {
    background-color: #198754;
}
.btn-delete {
    background-color: #dc3545;
}
.btn-primary {
    background-color: #0d6efd;
}

/* Footer bien alineado */
footer {
    background-color: #0e110d;
    padding: 40px 20px;
    color: #ddd;
    margin-top: auto;
}
footer .container {
    max-width: 1200px;
    margin: auto;
}
footer ul {
    list-style: none;
    padding: 0;
}
footer li {
    margin-bottom: 10px;
}
footer i {
    margin-right: 8px;
}
footer .container-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
footer img {
    height: 40px;
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }
    .admin-table {
        min-width: 500px;
    }
}
