/* ============================================
   css/tema_oscuro.css
   ============================================ */

/* Fuente neon */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

/* ============================================
   Estructura base
   ============================================ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #121212;
    color: #f1f1f1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

main {
    flex: 1;
    width: 100%;
}

/* ============================================
   Variables del tema
   ============================================ */
:root {
    --color-acento: #ff00ff;
    --color-acento-claro: #ff4d6d;
    --color-sidebar: #1a1a1a; /* Fondo para la barra lateral */
    --color-sidebar-item-hover: #333333;
    --color-admin-bg: #1e1e1e;
    --background: #0f172a;
    --surface: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --gradient: linear-gradient(135deg, #ff4d6d 0%, #ff8fa3 100%);
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --color-letrero: #505050;
}

/* ============================================
   T赤tulo general
   ============================================ */
.titulo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    text-transform: uppercase;
    color: var(--color-acento);
    text-shadow:
        0 0 8px var(--color-acento),
        0 0 20px var(--color-acento),
        0 0 40px var(--color-acento),
        0 0 80px var(--color-acento);
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-align: center;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}
/* ============================================
   T赤tulo index
   ============================================ */
.letrero {
    font-family: sans-serif;
    font-weight: 100;
    font-size: 2.9rem;
    letter-spacing: 0px;
    margin-bottom: 10px;
    text-align: left;
   
}
/* ============================================
   SUBT赤tulo general
   
   ============================================ */
.subtitulo {
    padding: 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.7rem;
    text-transform: uppercase;
    color: var(--color-acento);
    text-shadow:
        0 0 8px var(--color-acento),
        0 0 20px var(--color-acento),
        0 0 40px var(--color-acento),
        0 0 80px var(--color-acento);
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-align: center;
    transition: color 0.6s ease, text-shadow 0.6s ease;
}


/* Hero Section */
.hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 30px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}
/* Features Section */
.features {
    padding: 100px 0;
}

.btn-uno {
    display: inline-flex;
    margin-top: 30px;
    align-items: center;
    gap: 5px;
    background: var(--gradient);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-uno:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 77, 109, 0.4);
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-card {
    background: var(--surface);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

/* ============================================
   Contenedor del formulario
   ============================================ */
.form-container {
    background: #1e1e1e;
    padding: 30px;
    max-width: 600px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

/* ============================================
LAYOUT DEL ADMINISTRADOR (admin-layout)
============================================ */
.admin-layout {
    /* Desactivamos el text-align: center global del body */
     
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

/* Barra Lateral (Sidebar) */
#sidebar-menu {
    width: 240px; 
    background-color: var(--color-sidebar); 
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
    min-height: 100vh;
    flex-shrink: 0; /* Evita que se encoja */
    padding: 20px 0;
}

.sidebar-header {
    padding: 0 20px 20px;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    color: var(--color-acento);
    font-size: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #333;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s, border-left 0.3s;
    font-size: 1em;
}

.menu-item a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--color-acento-claro); /* Iconos con acento de color */
}

/* Hover y Activo */
.menu-item a:hover {
    background-color: var(--color-sidebar-item-hover);
    color: white;
}

.menu-item.active a {
    background: var(--color-acento); /* Fondo con color acento */
    color: #121212; /* Texto oscuro en elemento activo */
    font-weight: bold;
    border-left: 5px solid var(--color-acento-claro);
}

.menu-item.active a i {
    color: #121212; /* Icono oscuro en elemento activo */
}

/* Área de Contenido Principal del Admin */
#content-area {
    flex-grow: 1; /* Ocupa el espacio restante */
    padding: 8px;
    /*background-color: var(--color-admin-bg); /* Mismo color del form-container */
    overflow-y: auto; /* Permite scroll solo en el contenido si es necesario */
    display: flex; /* Centrar el contenido dentro */
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;

}
.dashboard-logo img {
    width: 35%;;
    text-align: center-top;
    margin-top: 5px; 
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* opcional: sombra */
    /*filter: drop-shadow(0 0 20px var(--color-acento));*/
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}


/* ============================================
   Entradas de texto y selectores
   ============================================ */
.label-titulo {
    font-weight: bold;
    color: #e0e0e0;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 85%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid var(--color-acento-claro);
    background-color: #2c2c2c;
    color: #f1f1f1;
    font-size: 14px;
    transition: border-color 0.4s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-acento-claro);
    background-color: #333;
}

textarea {
    height: 100px;
    resize: vertical;
}

/* ============================================
   Botones
   ============================================ */
button,
.submit-button {
    background: var(--color-acento-claro);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover,
.submit-button:hover {
    background: #e03e5c;
}

/* ============================================
   Mensajes
   ============================================ */
.mensaje {
    width: 80%;
    max-width: 600px;
    margin: 15px auto;
    padding: 10px;
    border-radius: 5px;
}

.exito {
    background: #1b5e20;
    color: #c8e6c9;
    border: 1px solid #2e7d32;
}

.error {
    background: #b71c1c;
    color: #ffcdd2;
    border: 1px solid #f44336;
}

/* ============================================
   Grupo de g谷nero
   ============================================ */
.grupo-genero {
    width: 70%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 15px auto;
    background-color: #2c2c2c;
    padding: 7px;
    border: 1px solid var(--color-acento-claro);
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.15);
}

.grupo-genero input[type="radio"] {
    display: none;
}

.grupo-genero span {
    display: inline-block;
    background-color: #2c2c2c;
    border: 1px solid var(--color-acento-claro);
    border-radius: 30px;
    padding: 7px 15px;
    color: #fff;
    font-size: 0.95em;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

/* Hover personalizado por opci車n */
.grupo-genero input[value="Masculino"]:hover ~ span {
    background-color: #0077ff;
    color: #fff;
    box-shadow: 0 0 10px #0077ff;
}

.grupo-genero input[value="Femenino"]:hover ~ span {
    background-color: #ff00ff;
    color: #000;
    box-shadow: 0 0 10px #ff4d6d;
}

.grupo-genero input[value="Otro"]:hover ~ span {
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00);
    color: #121212;
    box-shadow: 0 0 10px rgba(255, 255, 0, 0.7);
}

.grupo-genero input[value="Prefiero no decirlo"]:hover ~ span {
    background-color: #5CE65C;
    color: #f1f1f1;
    box-shadow: 0 0 10px #505050;
}

/* Activo */
.grupo-genero input[type="radio"]:checked + span {
    background-color: var(--color-acento);
    color: #000;
    box-shadow: 0 0 10px #ff00ff;
}

/* ============================================
   Filas del formulario
   ============================================ */
.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 88%;
    margin: 0 auto 10px;
}

.form-row label {
    text-align: center;
    margin-right: 10px;
    color: #ccc;
}

.form-row select {
    width: 130px;
}

.input-edad {
    width: 40px !important;
    text-align: right !important;
    background-color: #2c2c2c;
    border: 1px solid #444;
    color: #fff;
}

/* ============================================
   Aceptaci車n de t谷rminos
   ============================================ */
.aceptacion {
    font-size: 12px;
    text-align: center;
    margin: 20px 0;
    color: #ccc;
}

.aceptacion label {
    display: inline-block;
    max-width: 90%;
    line-height: 1.4;
}

.aceptacion a {
    color: var(--color-acento-claro);
    text-decoration: none;
}

.form-image {
    text-align: center;
    margin-bottom: 5px; /* separa la imagen de los campos */
}
.login-logo {
    width: 230px;   /* ancho de la imagen */
    height: auto;   /* mantiene proporción */
    border-radius: 10px; /* opcional: bordes redondeados */
    box-shadow: 0 0 10px rgba(0,0,0,0.5); /* opcional: sombra */
    opacity: 0;
    animation: fadeInLogo 0.8s ease-in forwards;
}
@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aceptacion a:hover {
    text-decoration: underline;
}
/* ====== Moderación de Secretos ====== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1200px;
}

.secreto-card {
    height: 400px;
    background-color: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.secreto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.2);
}

.card-header {
    flex-shrink: 0;
    padding: 15px;
    text-align: center;
    color: #fff;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1em;
}

.card-header small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    opacity: 0.9;
}

.card-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    color: #f1f1f1;
    font-size: 0.95em;
    line-height: 1.5;
    text-align: left;
}

.card-footer {
    flex-shrink: 0;
    margin-top: auto;
    justify-content: space-around;
    padding: 10px;
    border-top: 1px solid #333;
    background-color: #151515;
}

.btn-aprobar {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-aprobar:hover {
    background-color: #218838;
}

.btn-rechazar {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-rechazar:hover {
    background-color: #c82333;
}


.btn-accion {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.btn-accion.aprobar {
    background-color: #28a745;
}

.btn-accion.eliminar {
    background-color: #dc3545;
}

.btn-accion:hover {
    opacity: 0.8;
}

/* === Colores por estado === */
.secreto-card.pendiente {
    border-left: 5px solid #ffc107;
}

.secreto-card.aprobado {
    border-left: 5px solid #28a745;
}

.secreto-card.rechazado {
    border-left: 5px solid #dc3545;
}
.pagination {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: #ff00ff;
}

.page-link.active {
    background-color: #007bff; /* Color primario */
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

/* Contenedor principal */
.filter-bar {
    margin-bottom: 8px;
}

/* Encabezado: título + filtros en una sola fila */
.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #2a2a2a;
    padding: 5px;
    border-radius: 8px;
    gap: 15px;
}

/* Formulario */
.filter-form {
    display: flex;
    flex: 1;
}

/* Fila de filtros */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}

/* Inputs y selects */
.filter-row input,
.filter-row select {
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1e1e1e;
    color: #fff;
}

/* Anchos adaptables */
.filter-row input[type="text"] {
    width: 180px;
}

.filter-row select {
    width: 150px;
}

.filter-row input[type="number"] {
    width: 80px;
}

/* Botones */
.btn-primary {
    width: 88px;
    height: 33px;
    padding: 3px 10px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: white;
    cursor: pointer;
}

.btn-secondary {
    width: 88px;
    height: 28px;
    padding: 3px 10px;
    border-radius: 4px;
    background: #007bff;
    color: white;
    text-decoration: none;
    
}

/* Barra de filtros explorar*/
.explorar-filter-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.explorar-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1100px;
    justify-content: center;
}
/* Fila de filtros */
.explorar-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 10px;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
}
.explorar-filter-group-edad {
    
    display: flex; 
    gap: 5px; 
}

.explorar-filter-group-edad input[type="number"] {
     
    width: 70px !important;
    min-width: 0; 
}

.explorar-filter-form input[type="text"],
.explorar-filter-form select,
.explorar-filter-form input[type="number"] {
    background: #141414;
    color: #eee;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 8px 10px;
    /*min-width: 140px;*/
}

.explorar-filter-form button[type="submit"] {
    background: #9b59b6;
    color: #fff;
    border: 1px solid #7d4499;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.explorar-filter-form button[type="submit"]:hover {
    background: #a861c8;
}

.explorar-filter-form a {
    background: #232323;
    color: #eee;
    border: 1px solid #333;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}

.explorar-filter-form a:hover {
    background: #3a3a3a;
}

/* Contenedor de secretos */
.contenedor-secretos {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 0 16px 60px;
}

/* Card */
.explorar-card-secreto {
    width:60%;
    margin: 0 auto 26px;
    background-color: #141414;
    border: 2px solid #2c2c2c;
    border-radius: 12px;
    margin-bottom: 26px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.explorar-genero-masculino { border-color: #007bff; }
.explorar-genero-femenino  { border-color: #ff66b2; }
.explorar-genero-otro      { border-color: #b266ff; }
.explorar-genero-nodice    { border-color: #8a8a8a; }

.explorar-barra-titulo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 0.95rem;
}

.explorar-genero-masculino .explorar-barra-titulo { background: rgba(0,123,255,0.08); }
.explorar-genero-femenino .explorar-barra-titulo  { background: rgba(255,102,178,0.08); }
.explorar-genero-otro .explorar-barra-titulo      { background: rgba(178,102,255,0.08); }
.explorar-genero-nodice .explorar-barra-titulo    { background: rgba(138,138,138,0.06); }

.explorar-titulo-line { color: #fff; }
.explorar-titulo-line .id { color: #cfcfcf; font-size: 0.8rem; margin-left: 8px; }

.explorar-contenido-secreto {
    padding: 18px 16px;
    color: #e6e6e6;
    line-height: 1.6;
    white-space: pre-wrap;
    font-size: 1rem;
}

.explorar-barra-inferior {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid #222;
    font-size: 0.95rem;
    color: #cfcfcf;
}

.explorar-botones {
    display: flex;
    gap: 12px;
}

.explorar-boton {
    background: none;
    border: none;
    color: #cfcfcf;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 6px;
    border-radius: 6px;
}

.explorar-boton:hover {
    color: #fff;
}

.explorar-reacciones {
    display: flex;
    gap: 10px;
}


/* Cargar más */
.cargar-mas-container {
    text-align: center;
    margin: 18px 0 40px;
}

#cargarMasBtn {
    background: #2b2b2b;
    color: #fff;
    border: 1px solid #333;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

#cargarMasBtn:hover {
    background: #3b3b3b;
}

.fin-lista {
    text-align: center;
    color: #9b9b9b;
    margin-top: 14px;
    font-style: italic;
}

/* Responsive */
@media (max-width:600px) {
    .explorar-filter-form input[type="text"],
    .explorar-filter-form select,
    .explorar-filter-form input[type="number"] {
        min-width: 45%;
        flex-grow: 1;
    }

    .explorar-filter-group-edad {
        display: flex;
        gap: 8px;
        flex-grow: 1;
        min-width: 45%;
    }

    .explorar-contenido-secreto {
        font-size: 0.98rem;
        padding: 14px;
    }
}

/* Modal para reportes */

.modal-reportar {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.modal-reportar.active {
    display: block;
}

.modal-reportar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.modal-reportar-box {
    position: relative;
    max-width: 420px;
    margin: 10vh auto;
    background: #121212;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    animation: modalIn 0.2s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-reportar-box::-webkit-scrollbar {
    width: 6px;
}
.modal-reportar-box::-webkit-scrollbar-thumb {
    background: #333; /* O usa tu $accent_color */
    border-radius: 10px;
}

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-reportar-box h3 {
    margin: 0 0 6px;
}

.modal-sub {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 14px;
}

.motivos label {
    display: block;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 6px;
    background: #1b1b1b;
}

.motivos input {
    margin-right: 8px;
}

.motivos label:hover {
    background: #242424;
}

#motivoExtra {
    width: 100%;
    margin-top: 10px;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    resize: vertical;
    min-height: 70px;
}

.acciones {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.btn-cancelar,
.btn-enviar {
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-cancelar {
    background: #2a2a2a;
    color: #ccc;
}

.btn-enviar {
    background: #b74cff;
    color: #fff;
}

.btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-msg {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}
/* Estilos específicos para el modal de compartir */
.share-preview-container {
    background: #000;
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #333; /* Color base que cambiaremos con JS */
}
.img-preview {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: none; /* Se muestra cuando carga */
}
.acciones-share {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.btn-share-action {
    background: #1a1a20;
    color: white;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.btn-share-action:hover {
    background: #252530;
    border-color: #666;
}
.loader-s { color: #888; font-style: italic; }

.redes-sociales-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}
.btn-rs {
    padding: 10px 5px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
}
.btn-rs:hover { transform: scale(1.05); opacity: 0.9; }

/* Colores de marca */
.wa { background-color: #25D366; }
.tg { background-color: #0088cc; }
.fb { background-color: #1877F2; }
.ms { background-color: #0084FF; }
.x  { background-color: #000000; border: 1px solid #333; }
.in { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

.acciones-share-pie {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.btn-secundario {
    background: #1a1a20;
    color: #ccc;
    border: 1px solid #333;
    padding: 8px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.85rem;
}




/* ============================================
   Responsivo
   ============================================ */
@media (max-width: 900px) {
    /* Ajustes para el Layout de Admin en tabletas y móviles */
    .admin-layout {
        flex-direction: column; /* Coloca la barra lateral encima del contenido */
    }

    #sidebar-menu {
        width: 100%; /* La barra ocupa todo el ancho */
        min-height: auto;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }
    
    .menu-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .menu-item {
        flex: 1 1 auto; /* Permite que los ítems se ajusten y crezcan */
        max-width: 180px;
        text-align: center;
    }

    .menu-item a {
        padding: 10px 10px;
        justify-content: center;
    }
    
    .menu-item a i {
        margin-right: 8px;
    }
    
    #content-area {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    /* Estilos para el Formulario (Móviles) */
    .form-container {
        width: 90%;
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-row label {
        width: auto;
        text-align: left;
        margin-bottom: 5px;
    }

    input[type="text"],
    input[type="number"],
    select,
    textarea {
        width: 100%;
    }
}
