:root {
    --sidebar-bg: #0B2540;
    --accent: #1AA7B0;
    --bg: #F4F6F8;
    --card-bg: #FFFFFF;
    --text: #0B2540;
    --border: #E0E4E8;
    --sidebar-text: #B0C4DE;
    --sidebar-hover: rgba(26, 167, 176, 0.1);
    --sidebar-active: rgba(26, 167, 176, 0.2);
    --danger: #EF4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
}

/* ── LOGIN / REGISTRO ── */
.pagina-login {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg);
}

.tarjeta-login {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px;
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(11,37,64,0.08);
}

.tarjeta-login h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--text);
}

.tarjeta-login h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #64748B;
    font-weight: 400;
}

.input {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(26,167,176,0.15);
}

.input::placeholder {
    color: #94A3B8;
}

.btn {
    width: 100%;
    padding: 12px;
    border: none;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    border-radius: 8px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primario {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,167,176,0.2);
}

.btn-primario:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26,167,176,0.3);
}

.btn-secundario {
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secundario:hover:not(:disabled) {
    background: var(--border);
}

.btn-peligro {
    background: var(--danger);
    color: #fff;
}

.btn-peligro:hover:not(:disabled) {
    opacity: 0.85;
}

.error {
    color: var(--danger);
    text-align: center;
    margin-top: 12px;
    font-size: 0.9rem;
}

#toggle-texto {
    text-align: center;
    margin-top: 16px;
}

#toggle-texto a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
}

#toggle-texto a:hover {
    text-decoration: underline;
}

/* ── LAYOUT DASHBOARD ── */
.dashboard {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── SIDEBAR ── */
.sidebar {
    width: 240px;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-avatar {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.avatar-cuadrado {
    width: 40px;
    height: 40px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
}

.sidebar-avatar .nombre {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-avatar .correo {
    color: var(--sidebar-text);
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin: 4px 12px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: none;
    border-radius: 8px;
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

.nav-item.activo {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(26,167,176,0.3);
}

.sidebar-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.sidebar-footer .nav-item {
    padding-left: 0;
}

/* ── CONTENIDO PRINCIPAL ── */
.contenido {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* ── TOPBAR ── */
.topbar {
    height: 64px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
}

.topbar h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── MAIN (CONTENIDO DINAMICO) ── */
.main {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.tarjeta {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(11,37,64,0.04);
}

.tarjeta h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--text);
}

/* ── TABLA ── */
.tabla {
    width: 100%;
    border-collapse: collapse;
}

.tabla th {
    background: var(--bg);
    padding: 10px 14px;
    text-align: left;
    font-size: 0.8rem;
    color: #64748B;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.tabla td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.tabla tbody tr:hover td {
    background: rgba(26, 167, 176, 0.03);
}

.badge-activo {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-si {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
}

.badge-no {
    background: rgba(100, 116, 139, 0.12);
    color: #64748B;
}

.celda-acciones {
    white-space: nowrap;
}

.btn-chico {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.btn-chico:hover {
    opacity: 0.85;
}

.btn-accion {
    color: #fff;
    border: none;
}

.btn-accion.btn-activar {
    background: var(--accent);
}

.btn-accion.btn-agregar-usuario {
    background: var(--accent);
}

.btn-accion.btn-contrasena {
    background: var(--accent);
}

.btn-accion.btn-editar-usuario {
    background: var(--accent);
}

.btn-accion.btn-eliminar {
    background: var(--danger);
}

/* ── PERMISOS ── */
.permisos-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.permisos-usuarios {
    width: 280px;
    flex-shrink: 0;
}

.permisos-editor {
    flex: 1;
    min-width: 0;
}

.permiso-usuario-item {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.9rem;
}

.permiso-usuario-item:hover {
    background: var(--sidebar-hover);
}

.permiso-usuario-item.seleccionado {
    background: var(--sidebar-active);
    border-left: 3px solid var(--accent);
}

.permiso-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    cursor: pointer;
}

.permiso-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.permiso-checkbox-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ── PUBLICACIONES ── */
.lista-publicaciones {
    border: 1px solid var(--border);
    border-bottom: none;
}

.publicacion-fila {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 24px;
    border-bottom: 1px solid var(--border);
    min-height: 180px;
}

.publicacion-fila:hover {
    background: rgba(26, 167, 176, 0.04);
}

.publicacion-foto {
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
    background-color: #ffffff;
    border-radius: 6px;
}

.publicacion-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.publicacion-titulo {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.publicacion-meta {
    font-size: 0.8rem;
    color: #94A3B8;
    display: flex;
    gap: 20px;
}

.publicacion-meta strong {
    color: #64748B;
    font-weight: 500;
}

.publicacion-detalles {
    font-size: 0.82rem;
    color: #64748B;
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.publicacion-precios {
    text-align: right;
    flex-shrink: 0;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.publicacion-precio {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.publicacion-acciones {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ── FILTROS ── */
.barra-filtros {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.input-filtro {
    padding: 7px 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
    width: 200px;
}

.input-filtro:focus {
    border-color: var(--accent);
}

.filtro-select {
    padding: 7px 10px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
}

.filtro-select:focus {
    border-color: var(--accent);
}

/* ── PAGINACION ── */
.paginacion {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.btn-pagina {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
    min-width: 36px;
    text-align: center;
}

.btn-pagina:hover {
    background: var(--bg);
}

.btn-pagina.activo {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-pagina-flecha {
    font-weight: 600;
}

.btn-pagina-elipsis {
    padding: 6px 4px;
    font-size: 0.85rem;
    color: #94A3B8;
}

.contrasena-form {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 4px 0;
}

.contrasena-form .input {
    margin-bottom: 0;
}

/* ── MODAL CREAR PUBLICACION ── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 40px 20px;
}

.modal-contenido {
    background: var(--card-bg);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 800px;
    padding: 24px;
}

.modal-contenido h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text);
}

.modal-contenido .input,
.modal-contenido select {
    margin-bottom: 0;
}

.modal-fila {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: center;
}

.modal-fila label {
    font-size: 0.9rem;
    color: var(--text);
    min-width: 100px;
    flex-shrink: 0;
}

.modal-fila .input,
.modal-fila select {
    flex: 1;
}

.modal-fila .input-chico {
    flex: none;
    width: 120px;
}

.seccion-form {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.seccion-form h4 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 12px;
}

/* ── AUTOCOMPLETE ── */
.autocomplete-wrapper {
    position: relative;
    flex: 1;
}

.autocomplete-desplegable {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid var(--border);
    border-top: none;
    background: var(--card-bg);
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
}

.autocomplete-item {
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}

.autocomplete-item:hover,
.autocomplete-item.seleccionado {
    background: var(--sidebar-hover);
}

/* ── PREDICTOR DE CATEGORIAS ── */
.pred-lista {
    border: 1px solid var(--border);
}

.pred-item {
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}

.pred-item:hover {
    background: var(--sidebar-hover);
}

.pred-sin-resultados {
    font-size: 0.85rem;
    color: #94A3B8;
    padding: 4px 0;
}

/* ── NAVEGADOR DE CATEGORIAS ── */
.cat-item {
    padding: 8px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
}

.cat-item:hover {
    background: var(--sidebar-hover);
}

/* ── ATRIBUTOS DINAMICOS ── */
.atributo-fila {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.atributo-fila label {
    font-size: 0.85rem;
    color: #64748B;
    min-width: 120px;
    flex-shrink: 0;
}

.atributo-fila .input,
.atributo-fila select {
    flex: 1;
}

.atributo-obligatorio label::after {
    content: " *";
    color: var(--danger);
}

/* ── GALERIA DE FOTOS ── */
.fotos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 100px;
}

.foto-item {
    position: relative;
    width: 100px;
    height: 100px;
    border: 2px solid var(--border);
    cursor: grab;
    user-select: none;
}

.foto-item.dragging {
    opacity: 0.4;
}

.foto-item.drag-over {
    border-color: var(--accent);
}

.foto-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.foto-item .btn-foto-eliminar {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    background: var(--danger);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1;
}

.foto-item .foto-indice {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.7rem;
    text-align: center;
    padding: 2px 0;
}

.btn-agregar-fotos {
    padding: 8px 16px;
    border: 1px dashed var(--border);
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
}

.btn-agregar-fotos:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── MODAL FOOTER ── */
.modal-acciones {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    justify-content: flex-end;
}

.modal-acciones .btn {
    width: auto;
    min-width: 120px;
}

/* ── MEDIA QUERIES (MOBILE RESPONSIVE) ── */
@media (max-width: 768px) {
    .dashboard {
        flex-direction: column;
        height: 100dvh;
    }
    
    .sidebar {
        width: 100%;
        height: 64px;
        min-height: 64px;
        flex-shrink: 0;
        flex-direction: row;
        overflow-x: auto;
        order: 2;
        background: var(--card-bg);
        border-top: 1px solid var(--border);
        z-index: 100;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
    }
    
    .contenido {
        order: 1;
        flex: 1;
        height: auto;
        min-height: 0;
    }

    .sidebar-avatar, .sidebar-footer {
        display: none !important;
    }

    .sidebar-nav {
        display: flex;
        flex-direction: row;
        padding: 0;
        width: 100%;
        height: 100%;
        align-items: stretch;
    }

    .nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 6px 10px;
        margin: 0;
        height: auto;
        border-left: none !important;
        border-top: 3px solid transparent;
        border-bottom: none !important;
        border-radius: 0;
        white-space: nowrap;
        font-size: 0.7rem;
        font-weight: 500;
        color: #64748B;
        gap: 4px;
        box-shadow: none !important;
    }

    .nav-item.activo {
        border-top-color: var(--accent) !important;
        background: linear-gradient(to bottom, rgba(26,167,176,0.08) 0%, transparent 100%);
        color: var(--accent);
    }

    .nav-item::before {
        content: "";
        display: block;
        width: 22px;
        height: 22px;
        background-color: currentColor;
        mask-size: contain;
        mask-repeat: no-repeat;
        mask-position: center;
        -webkit-mask-size: contain;
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center;
    }

    .nav-item[data-seccion="tablero"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9'/%3E%3Crect x='14' y='3' width='7' height='5'/%3E%3Crect x='14' y='12' width='7' height='9'/%3E%3Crect x='3' y='16' width='7' height='5'/%3E%3C/svg%3E");
    }
    
    .nav-item[data-seccion="publicaciones"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8v13H3V8M1 3h22v5H1zM10 12h4'/%3E%3C/svg%3E");
    }

    .nav-item[data-seccion="preguntas"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
    }

    .nav-item[data-seccion="simulador_costos"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='20' rx='2' ry='2'/%3E%3Cline x1='8' y1='6' x2='16' y2='6'/%3E%3Cline x1='16' y1='10' x2='16' y2='10.01'/%3E%3Cline x1='12' y1='10' x2='12' y2='10.01'/%3E%3Cline x1='8' y1='10' x2='8' y2='10.01'/%3E%3Cline x1='16' y1='14' x2='16' y2='14.01'/%3E%3Cline x1='12' y1='14' x2='12' y2='14.01'/%3E%3Cline x1='8' y1='14' x2='8' y2='14.01'/%3E%3C/svg%3E");
    }

    .nav-item[data-seccion="usuarios"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    }

    .nav-item[data-seccion="permisos"]::before {
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4'/%3E%3C/svg%3E");
    }

    .topbar {
        padding: 0 16px;
    }

    .main {
        padding: 16px;
    }

    /* Tablas responsivas mediante scroll horizontal */
    .tarjeta {
        overflow-x: auto;
        padding: 16px;
    }

    /* Publicaciones */
    .publicacion-fila {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        height: auto;
    }
    
    .publicacion-foto {
        width: 100%;
        height: 250px;
        margin-bottom: 16px;
    }
    
    .publicacion-info {
        width: 100%;
    }
    
    .publicacion-detalles {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .publicacion-precios {
        text-align: left;
        margin-top: 12px;
        width: 100%;
    }
    
    .publicacion-acciones {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 16px;
    }
    
    .publicacion-acciones .btn-chico {
        flex: 1;
        text-align: center;
    }

    /* Layout general como permisos y filtros */
    .permisos-layout, .barra-filtros {
        flex-direction: column;
    }
    
    .permisos-usuarios, .input-filtro, .filtro-select {
        width: 100%;
    }

    /* Modal */
    .modal-contenido {
        padding: 16px;
        margin: 10px;
    }
    
    .modal-fila {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .modal-fila .input, .modal-fila select, .modal-fila .input-chico {
        width: 100%;
    }
    
    .modal-acciones {
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-acciones .btn {
        width: 100%;
        margin-left: 0;
    }
    
    .atributo-fila {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .atributo-fila .input, .atributo-fila select {
        width: 100%;
    }
    
    /* Login */
    .tarjeta-login {
        padding: 24px;
        margin: 16px;
        width: auto;
    }
}
