.aside-banner-list .aside-banner-img {
    background: #fff;
    object-fit: contain;
    height: 100%;
    width: 100%;
    display: block;
    border-radius: 0;
    box-sizing: border-box;
    padding: 0;
}
.aside-banner-link {
    min-height: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.aside-section-title {
    font-size: 1.13em;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 10px;
    margin-top: 28px;
    text-align: left;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.aside-section-title.sponsors {
    color: #ff9800;
    text-shadow: 0 2px 8px #ff980033;
}
.aside-section-title.sponsors::before {
    content: "★";
    color: #ffb300;
    font-size: 1.1em;
    margin-right: 2px;
}
.aside-section-title.featured {
    color: #388e3c;
    text-shadow: 0 2px 8px #388e3c22;
}
.aside-section-title.publicidad {
    color: #d32f2f;
    text-shadow: 0 2px 8px #d32f2f22;
}
/* ASIDE DERECHO Y SECCIONES */
/* ASIDE RECURSO (panel lateral de resource.php) */
.aside-resource {
    width: 320px;
    min-width: 220px;
    max-width: 98vw;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    z-index: 10;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px #007bff18;
    padding: 18px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
@media (max-width: 1100px) {
    .aside-resource { position: static; margin: 32px auto 0 auto; width: 98vw; }
}
.aside-resource-info, .aside-resource-version {
    background: #f9f9fb;
    border-radius: 10px;
    padding: 14px 16px 10px 16px;
    margin-bottom: 8px;
    font-size: 1em;
    color: #333;
    box-shadow: 0 1px 4px #007bff11;
}
.aside-resource-info div, .aside-resource-version div {
    margin-bottom: 7px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.aside-resource-info b, .aside-resource-version b {
    color: #1976d2;
    font-weight: 500;
}
.resource-stars {
    color: #ffd600;
    font-size: 1.1em;
    margin-left: 4px;
    letter-spacing: 1px;
}
@media (max-width: 1100px) {
    .aside-derecho { position: static; margin: 32px auto 0 auto; width: 98vw; }
}
.aside-box-yellow {
    background: linear-gradient(90deg,#fffbe0 60%,#fff9c4 100%);
    border-radius: 16px;
    box-shadow: 0 2px 16px #ffe08255;
    padding: 24px 22px 18px 22px;
    margin-bottom: 18px;
    border: 2px solid #ffe082;
    text-align: center;
}
.aside-box-title {
    font-size: 1.13em;
    font-weight: bold;
    color: #bfa100;
    margin-bottom: 8px;
}
.aside-box-content {
    color: #7a6a00;
    font-size: 1.05em;
}
.aside-section-title {
    font-size: 1.08em;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 10px;
    margin-top: 24px;
    text-align: left;
}
.aside-banner-list, .aside-featured-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}
.aside-banner-link, .aside-featured-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px #007bff18;
    transition: box-shadow 0.2s;
    background: #fff;
}
.aside-banner-link:hover, .aside-featured-link:hover {
    box-shadow: 0 4px 16px #007bff33;
}
.aside-banner-img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    display: block;
}
/* HEADER MODERNO MARKETPLACE */
.main-header {
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 16px #007bff18;
    position: fixed;
    top: 0; left: 0; z-index: 100;
    height: 62px;
}
.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 32px;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-logo {
    font-weight: bold;
    font-size: 1.25em;
    color: #1976d2;
    margin-right: 18px;
    letter-spacing: 1px;
}
.nav-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05em;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s;
}
.nav-link:hover, .nav-link.active {
    background: #e3f0ff;
    color: #1976d2;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-notif {
    position: relative;
}
.notif-btn {
    position: relative;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.notif-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    background: #d32f2f;
    color: #fff;
    font-size: 0.85em;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 1px 4px #0002;
    z-index: 2;
}
.nav-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e3f0ff;
    background: #f3f3f3;
    box-shadow: 0 1px 4px #0001;
    transition: border 0.2s;
}
.nav-avatar img:hover {
    border: 2px solid #1976d2;
}
.neon-btn {
    background: linear-gradient(90deg,#ff00cc 60%,#1976d2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px #ff00cc22;
    transition: background 0.2s, box-shadow 0.2s;
    text-decoration: none;
    margin-left: 8px;
}
.neon-btn:hover {
    background: linear-gradient(90deg,#1976d2 60%,#ff00cc 100%);
    box-shadow: 0 4px 16px #1976d233;
}
@media (max-width: 700px) {
    .main-nav { padding: 0 8px; }
    .nav-logo { font-size: 1.05em; margin-right: 8px; }
    .nav-link { font-size: 0.98em; padding: 5px 7px; }
    .nav-avatar img { width: 30px; height: 30px; }
    .neon-btn { padding: 7px 10px; font-size: 0.98em; }
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f8fa;
    margin: 0;
    padding: 0;
    color: #222;
}
h1, h2, h3 {
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 18px;
    color: #222;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}
form {
    display: block;
    background: #fff;
    padding: 28px 32px 22px 32px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    margin: 32px auto 24px auto;
    max-width: 420px;
    text-align: left;
}
input, select, textarea {
    margin: 10px 0 18px 0;
    padding: 10px 12px;
    width: 100%;
    border: 1.5px solid #cfd8dc;
    border-radius: 6px;
    font-size: 1em;
    background: #f9f9fb;
    transition: border 0.2s;
    box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #007bff;
    outline: none;
    background: #fff;
}
button, .btn {
    background: linear-gradient(90deg, #007bff 60%, #0056b3 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    width: 100%;
    font-size: 1.08em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 4px;
    box-shadow: 0 2px 8px #007bff22;
    transition: background 0.2s, box-shadow 0.2s;
}
button:hover, .btn:hover {
    background: linear-gradient(90deg, #0056b3 60%, #007bff 100%);
    box-shadow: 0 4px 16px #007bff33;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
li {
    margin: 12px 0;
}
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.dashboard-menu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0001;
    padding: 24px 0 18px 0;
    margin: 32px auto 24px auto;
    max-width: 420px;
}
.dashboard-menu li {
    margin: 0 0 14px 0;
}
.dashboard-menu a {
    display: block;
    padding: 12px 0;
    border-radius: 6px;
    font-size: 1.08em;
    font-weight: 500;
    color: #222;
    transition: background 0.2s, color 0.2s;
}
.dashboard-menu a:hover {
    background: #f0f4ff;
    color: #007bff;
}
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #0001;
    margin: 32px auto 24px auto;
    overflow: hidden;
}
th, td {
    padding: 14px 10px;
    text-align: left;
}
th {
    background: #f0f4ff;
    color: #222;
    font-weight: 600;
    font-size: 1.04em;
}
tr:nth-child(even) { background: #f9f9fb; }
tr:hover { background: #f0f4ff; }
.error, .errors, ul[style*="color:red"] {
    color: #d32f2f !important;
    background: #fff0f0;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 12px 0 18px 0;
    font-size: 1em;
}
.success, p[style*="color:green"] {
    color: #388e3c !important;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 6px;
    padding: 10px 16px;
    margin: 12px 0 18px 0;
    font-size: 1em;
}
@media (max-width: 700px) {
    .container, form, .dashboard-menu, table { max-width: 98vw !important; }
    .featured-list { flex-direction: column; align-items: center; }
    .featured-item { width: 98vw !important; min-width: unset; max-width: unset; }
}

/* Tarjeta moderna de recurso destacado (index.php) */
.featured-list-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin: 30px 0;
}
.featured-card-modern {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px #007bff18;
    max-width: 340px;
    width: 98vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 16px 0;
    margin-bottom: 8px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.featured-card-modern:hover {
    box-shadow: 0 6px 32px #007bff33;
    transform: translateY(-2px) scale(1.012);
}
.featured-card-modern-banner-wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}
.featured-card-modern-banner {
    width: 100%;
    max-width: 320px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 2px 12px #007bff11;
}
.featured-card-modern-price {
    position: absolute;
    top: 10px;
    right: 18px;
    background: #222d;
    color: #fff;
    font-weight: bold;
    font-size: 1.08em;
    padding: 4px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0002;
    z-index: 2;
}
.featured-card-modern-body {
    padding: 0 18px;
    text-align: center;
}
.featured-card-modern-title-main {
    font-size: 1.18em;
    font-weight: 700;
    color: #1976d2;
    margin-bottom: 2px;
    margin-top: 2px;
    line-height: 1.2;
}
.featured-card-modern-meta-main {
    font-size: 1em;
    color: #888;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.featured-card-modern-author {
    font-weight: 500;
}
.featured-card-modern-dot {
    font-size: 1.2em;
    color: #bbb;
}
.featured-card-modern-cat {
    color: #1976d2;
    font-weight: 500;
}
