body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
    margin: 0;
    padding: 0;
}
.container {
    max-width: 600px;
    margin: 60px auto;
    background: #fff;
    padding: 40px 40px 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    text-align: center;
}
h1, h2, h3 {
    color: #2d3a4b;
    margin-bottom: 10px;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    margin: 10px 5px 10px 0;
    background: linear-gradient(90deg, #1877f2 0%, #0052d4 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(24,119,242,0.08);
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.btn:hover {
    background: linear-gradient(90deg, #0052d4 0%, #1877f2 100%);
    box-shadow: 0 4px 16px rgba(24,119,242,0.15);
}
input, select, textarea {
    width: 90%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #bfc9d9;
    border-radius: 5px;
    font-size: 15px;
    background: #f7fafd;
    transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
    border: 1.5px solid #1877f2;
    outline: none;
}
form {
    margin-top: 20px;
}
ul {
    text-align: left;
    margin: 20px 0 0 0;
    padding-left: 20px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f7fafd;
    border-radius: 8px;
    overflow: hidden;
}
table th, table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0eafc;
    text-align: left;
}
table th {
    background: #e0eafc;
    color: #2d3a4b;
}
table tr:last-child td {
    border-bottom: none;
}
.card {
    background: #f7fafd;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}
img {
    border-radius: 8px;
    margin-top: 10px;
}
/* --- Eliminar estilos personalizados de navbar para usar Bootstrap --- */
/*
.navbar, .navbar-container, .navbar-logo, .navbar-links, .navbar-links li, .navbar-links li a, .btn-logout, .navbar-toggle, .navbar-drawer, .navbar-drawer-overlay, .drawer-header, .drawer-links, .drawer-links li, .drawer-links li a, .drawer-logout, .drawer-close {
    all: unset;
}
*/
.dashboard-container {
    max-width: 1200px;
    width: 95%;
    margin: 40px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.13);
    padding: 50px 40px 40px 40px;
    text-align: center;
}
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 30px;
}
.card {
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(24,119,242,0.10);
    padding: 38px 28px 28px 28px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    background: linear-gradient(135deg, #f7fafd 60%, #e0eafc 100%);
    position: relative;
    overflow: hidden;
}
.card.user-card {
    background: linear-gradient(135deg, #e0eafc 60%, #b6c6e6 100%);
    border-left: 8px solid #1877f2;
}
.card.dash-link:nth-child(2) {
    background: linear-gradient(135deg, #eafaf1 60%, #b6e6c6 100%);
    border-left: 8px solid #44c767;
}
.card.dash-link:nth-child(3) {
    background: linear-gradient(135deg, #f7f3fa 60%, #d6b6e6 100%);
    border-left: 8px solid #a259e6;
}
.card.dash-link:nth-child(4) {
    background: linear-gradient(135deg, #f7fafd 60%, #b6dbe6 100%);
    border-left: 8px solid #00bcd4;
}
.card.dash-link:nth-child(5) {
    background: linear-gradient(135deg, #f7fafd 60%, #e6b6b6 100%);
    border-left: 8px solid #e74c3c;
}
.card.dash-link:nth-child(6) {
    background: linear-gradient(135deg, #f7fafd 60%, #e6d6b6 100%);
    border-left: 8px solid #ffc107;
}
.card h3 {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 26px;
    margin-bottom: 18px;
    color: #2d3a4b;
    font-weight: 700;
}
.card i {
    font-size: 38px;
    color: #1877f2;
}
.card.dash-link:nth-child(2) i { color: #44c767; }
.card.dash-link:nth-child(3) i { color: #a259e6; }
.card.dash-link:nth-child(4) i { color: #00bcd4; }
.card.dash-link:nth-child(5) i { color: #e74c3c; }
.card.dash-link:nth-child(6) i { color: #ffc107; }
.card p {
    font-size: 16px;
    color: #444;
    margin-bottom: 18px;
}
.card .btn {
    font-size: 16px;
    padding: 10px 28px;
    margin-top: auto;
    font-weight: 600;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(24,119,242,0.18);
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, #e0eafc 40%, #f7fafd 100%);
}
@media (max-width: 900px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .card {
        padding: 28px 10px 18px 10px;
    }
}
.marketplace-search {
    display: flex;
    gap: 10px;
    margin: 25px 0 30px 0;
    justify-content: center;
    flex-wrap: wrap;
}
.marketplace-search input[type='text'], .marketplace-search select {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #bfc9d9;
    font-size: 15px;
    background: #f7fafd;
    min-width: 180px;
}
.marketplace-search button {
    min-width: 120px;
}
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-top: 10px;
}
.marketplace-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(31, 38, 135, 0.10);
    padding: 22px 18px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, transform 0.2s;
    min-height: 260px;
}
.marketplace-card:hover {
    box-shadow: 0 6px 24px rgba(24,119,242,0.13);
    transform: translateY(-2px) scale(1.02);
}
.marketplace-card h3 {
    margin: 0 0 8px 0;
    color: #1877f2;
    font-size: 20px;
}
.marketplace-user {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
}
.marketplace-img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
    margin: 8px 0 10px 0;
    box-shadow: 0 1px 6px rgba(24,119,242,0.08);
}
.marketplace-desc {
    font-size: 15px;
    color: #333;
    margin-bottom: 10px;
}
.marketplace-precio {
    font-size: 16px;
    color: #0052d4;
    font-weight: bold;
    margin-top: auto;
}
@media (max-width: 700px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
body.marketplace-dark {
    background: #e0f2ff !important;
    color: #222 !important;
}
.marketplace-main {
    background: transparent !important;
}
.marketplace-sidebar {
    background: #f8fafc !important;
    color: #222 !important;
}
.marketplace-sidebar h4 {
    color: #1877f2 !important;
}
.marketplace-content {
    background: #fff !important;
    color: #222 !important;
}
.marketplace-content h2 {
    color: #1877f2 !important;
}
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
.marketplace-card-dark {
    background: linear-gradient(135deg, #f8fafc 60%, #e0eafc 100%);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(24,119,242,0.08);
    padding: 28px 20px 20px 20px;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid #e0eafc;
}
.marketplace-card-dark:hover {
    box-shadow: 0 8px 32px rgba(24,119,242,0.13);
    transform: translateY(-4px) scale(1.02);
}
/* Bordes para tipo de publicaci¨Žn */
.marketplace-card-dark.borde-verde {
    border: 2px solid #44c767;
    box-shadow: 0 2px 12px rgba(68,199,103,0.15);
}
.marketplace-card-dark.borde-verde:hover {
    box-shadow: 0 8px 32px rgba(68,199,103,0.25);
}
.marketplace-card-dark.borde-rojo {
    border: 2px solid #e74c3c;
    box-shadow: 0 2px 12px rgba(231,76,60,0.15);
}
.marketplace-card-dark.borde-rojo:hover {
    box-shadow: 0 8px 32px rgba(231,76,60,0.25);
}
/* Badge para mostrar el tipo */
.tipo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
}
.tipo-badge.venta {
    background: linear-gradient(135deg, #44c767 0%, #2ecc71 100%);
    color: white;
}
.tipo-badge.solicitud {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}
.marketplace-card-dark h3 {
    color: #2d3a4b !important;
    font-size: 17px;
    margin: 8px 0 4px 0;
}
.marketplace-precio {
    color: #44c767 !important;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 2px;
}
.marketplace-ubicacion {
    color: #1877f2 !important;
    font-size: 14px;
    margin-bottom: 6px;
}
.marketplace-img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 8px;
    margin: 0 0 8px 0;
    box-shadow: 0 1px 6px rgba(24,119,242,0.08);
    background: #18191a;
}
.marketplace-desc {
    color: #444 !important;
    font-size: 14px;
    margin-bottom: 8px;
}
.marketplace-user {
    color: #555 !important;
    font-size: 13px;
    margin-top: auto;
}
@media (max-width: 900px) {
    .marketplace-main {
        flex-direction: column;
    }
    .marketplace-sidebar {
        width: 100%;
        margin: 20px 0 0 0;
        border-radius: 0 0 12px 12px;
    }
    .marketplace-content {
        margin: 20px 0 0 0;
    }
}
.marketplace-logo-mini {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    border: 2px solid #e0eafc !important;
    background: #fff !important;
}
.profile-outer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
    background: #f4f8fb;
    padding: 40px 0;
}
.profile-card {
    background: linear-gradient(135deg, #ffffff 60%, #eaf3fa 100%);
    color: #222;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(24,119,242,0.08);
    padding: 48px 38px 38px 38px;
    min-width: 340px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
.profile-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 18px;
    border: 3px solid #71b4f7;
    background: #fff;
    box-shadow: 0 2px 12px rgba(24,119,242,0.06);
}
.profile-logo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #eaf3fa;
    color: #b0b3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 18px auto;
    border: 3px solid #71b4f7;
}
.profile-title {
    color: #1877f2;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.profile-info {
    font-size: 17px;
    color: #222;
    margin-bottom: 12px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}
.profile-info i {
    color: #1877f2;
    font-size: 18px;
}
.profile-edit-btn {
    background: #44c767;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 18px;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(68,199,103,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.profile-edit-btn:hover {
    background: #2e944b;
    box-shadow: 0 4px 16px rgba(68,199,103,0.18);
}
@media (max-width: 600px) {
    .profile-card {
        padding: 24px 5px 18px 5px;
        min-width: 0;
        max-width: 98vw;
    }
    .profile-title {
        font-size: 22px;
    }
    .profile-logo, .profile-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}
.producto-detalle-outer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
    background: #18191a;
    padding: 40px 0;
}
.producto-detalle-card {
    background: linear-gradient(135deg, #232526 60%, #414345 100%);
    color: #e4e6eb;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(24,119,242,0.13);
    padding: 48px 38px 38px 38px;
    min-width: 340px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
.producto-detalle-img {
    width: 100%;
    max-width: 320px;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(24,119,242,0.10);
}
.producto-detalle-precio {
    color: #44c767;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}
.producto-detalle-titulo {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}
.producto-detalle-ubicacion {
    color: #b0b3b8;
    font-size: 15px;
    margin-bottom: 8px;
}
.producto-detalle-desc {
    font-size: 16px;
    color: #e4e6eb;
    margin-bottom: 12px;
}
.producto-detalle-vendedor {
    font-size: 15px;
    color: #b0b3b8;
    margin-bottom: 18px;
    text-align: left;
    background: #232526;
    border-radius: 8px;
    padding: 12px 14px;
    display: inline-block;
    min-width: 220px;
}
.btn-match {
    background: #1877f2;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 18px;
    padding: 12px 32px;
    box-shadow: 0 2px 8px rgba(24,119,242,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}
.btn-match:hover {
    background: #145db2;
    box-shadow: 0 4px 16px rgba(24,119,242,0.18);
}
.producto-match-info {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 600;
}
@media (max-width: 600px) {
    .producto-detalle-card {
        padding: 24px 5px 18px 5px;
        min-width: 0;
        max-width: 98vw;
    }
    .producto-detalle-img {
        max-width: 98vw;
        max-height: 160px;
    }
    .producto-detalle-titulo {
        font-size: 20px;
    }
}
.btn.btn-sidebar {
    width: 100%;
    background: #1877f2;
    margin: 10px 0 10px 0;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 0;
}
@media (max-width: 700px) {
    .marketplace-main {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .marketplace-sidebar {
        width: 100% !important;
        margin: 0 0 18px 0 !important;
        border-radius: 0 0 18px 18px !important;
        padding: 18px 8px 12px 8px !important;
        box-shadow: none !important;
    }
    .marketplace-categorias .categorias-grid {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: space-between;
    }
    .categoria-btn {
        flex: 1 1 45%;
        min-width: 120px;
        padding: 10px 6px;
        font-size: 14px;
    }
    .btn.btn-sidebar {
        font-size: 14px;
        padding: 8px 0;
    }
    .marketplace-content {
        padding: 10px 4px 10px 4px !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }
    .marketplace-content h2 {
        font-size: 20px !important;
        margin-bottom: 16px !important;
    }
    .marketplace-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .marketplace-card-dark {
        padding: 14px 8px 10px 8px !important;
        min-width: 0 !important;
    }
    .marketplace-img {
        max-width: 100%;
        max-height: 120px;
    }
} 