/**
 * Estilos Principales - Directorio de Proveedores
 * Identidad Visual
 */

:root {
    /* Colores de la Identidad */
    --color-primary: #133464;
    --color-action: #FCA311;
    --color-highlight: #D8FF76;
    --color-favorite: #FF2687;
    --color-background: #FFFFFF;
    
    /* Colores complementarios */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-border: #E0E0E0;
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-action);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Navbar */
.navbar {
    background-color: var(--color-primary);
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.navbar-menu a {
    color: white;
    font-weight: 500;
}

.navbar-menu a:hover {
    color: var(--color-action);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.btn-primary {
    background-color: #FCA311;
    color: #133464;
}

.btn-primary:hover {
    background-color: #e0940f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: #133464;
}

.btn-action {
    background-color: var(--color-action);
    color: var(--color-primary);
}

.btn-action:hover {
    background-color: #e0940f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-highlight {
    background-color: var(--color-highlight);
    color: var(--color-primary);
}

.btn-highlight:hover {
    background-color: #c5e860;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-favorite {
    background-color: var(--color-favorite);
    color: white;
}

.btn-favorite:hover {
    background-color: #e61f77;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    padding: 0 1rem;
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Cards */
.card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    background-color: #F9FAFB;
    border-top: 1px solid var(--color-border);
}

/* Badge Destacado */
.badge-destacado {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--color-highlight);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

/* Formularios */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-action);
    box-shadow: 0 0 0 3px rgba(252, 163, 17, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5rem 1.5rem;
    padding-right: 2.5rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-left: 4px solid var(--color-success);
}

.alert-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--color-error);
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--color-warning);
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border-left: 4px solid var(--color-action);
}

/* Notificaciones (Campanita) */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-favorite);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 0;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.breadcrumb a:hover {
    color: var(--color-action);
}

/* Paginación */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 0.375rem;
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background-color: var(--color-action);
    border-color: var(--color-action);
    color: white;
}

.pagination .active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: var(--color-action);
}

/* Galería de Imágenes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Mapa (Leaflet) */
#map {
    height: 400px;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Estrellas de calificación */
.rating-stars {
    color: #FBBF24;
    font-size: 1.25rem;
}

/* Utilidades */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%;
    }
}

/* Loader */
.loader {
    border: 4px solid #f3f4f6;
    border-top: 4px solid var(--color-action);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hidden */
.hidden {
    display: none;
}

/* ============================================
   Dashboard Styles
   ============================================ */

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 60px);
    background: #f5f5f5;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: white;
    border-right: 1px solid var(--color-border);
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.sidebar-menu {
    padding: 20px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition-normal);
    position: relative;
}

.menu-item:hover {
    background: #f8f9fa;
    color: var(--color-primary);
}

.menu-item.active {
    background: rgba(19, 52, 100, 0.1);
    color: var(--color-primary);
    border-right: 3px solid var(--color-primary);
}

.menu-item i {
    width: 24px;
    margin-right: 12px;
    font-size: 18px;
}

.menu-item .badge {
    margin-left: auto;
    background: var(--color-action);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.menu-item .badge.badge-pink {
    background: var(--color-favorites);
}

/* Content Area */
.dashboard-content {
    flex: 1;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-normal);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.stat-info h3 {
    font-size: 32px;
    color: var(--color-primary);
    margin: 0 0 5px 0;
}

.stat-info p {
    color: var(--color-text-light);
    margin: 0;
    font-size: 14px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--color-border);
}

.card-header h2 {
    font-size: 18px;
    color: var(--color-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body {
    padding: 20px 25px;
}

.btn-link {
    color: var(--color-action);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

.btn-link:hover {
    text-decoration: underline;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: #f8f9fa;
}

.data-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--color-text);
    font-size: 14px;
    border-bottom: 2px solid var(--color-border);
}

.data-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: #f8f9fa;
}

.data-table a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.data-table a:hover {
    text-decoration: underline;
}

/* Badges */
.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
}

.badge-secondary {
    background: #f0f0f0;
    color: #666;
}

.badge-pink {
    background: var(--color-favorites);
    color: white;
}

.badge-destacado {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-destacado);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    margin: 0;
    font-size: 15px;
    color: var(--color-text);
}

.review-rating {
    color: var(--color-warning);
    font-size: 14px;
}

.review-date {
    margin-left: auto;
    font-size: 13px;
    color: var(--color-text-light);
}

.review-anuncio {
    margin: 8px 0;
    font-size: 13px;
    color: var(--color-text-light);
}

.review-text {
    color: var(--color-text);
    line-height: 1.6;
    font-size: 14px;
}

/* Anuncios Grid (Cards) */
.anuncios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.anuncio-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.anuncio-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.anuncio-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.anuncio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anuncio-content {
    padding: 15px;
}

.anuncio-category {
    display: inline-block;
    color: var(--color-action);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.anuncio-content h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.anuncio-content h3 a {
    color: var(--color-text);
    text-decoration: none;
}

.anuncio-content h3 a:hover {
    color: var(--color-primary);
}

.anuncio-provider {
    color: var(--color-text-light);
    font-size: 13px;
    margin: 0 0 12px 0;
}

.anuncio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.anuncio-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.anuncio-rating i {
    color: var(--color-warning);
}

/* Conversaciones List */
.conversaciones-list {
    display: flex;
    flex-direction: column;
}

.conversacion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-fast);
}

.conversacion-item:hover {
    background: #f8f9fa;
}

.conversacion-item.unread {
    background: rgba(252, 163, 17, 0.05);
}

.conv-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.conv-info {
    flex: 1;
}

.conv-info h4 {
    margin: 0 0 5px 0;
    font-size: 15px;
    color: var(--color-primary);
}

.conv-info p {
    margin: 0;
    font-size: 13px;
    color: var(--color-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conv-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.conv-time {
    font-size: 12px;
    color: var(--color-text-lighter);
}

.conv-badge {
    background: var(--color-favorites);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--color-warning);
    color: #92400e;
}

.alert i {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        width: 220px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
    }
    
    .sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 10px;
    }
    
    .menu-item {
        flex-direction: column;
        padding: 10px 15px;
        text-align: center;
        white-space: nowrap;
    }
    
    .menu-item i {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .dashboard-content {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .anuncios-grid {
        grid-template-columns: 1fr;
    }
}

/* Social Icons as Buttons */
.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-icon.facebook {
    background: #1877F2;
    color: white;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    color: white;
}

.social-icon.twitter {
    background: #1DA1F2;
    color: white;
}

.social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.social-icon.linkedin {
    background: #0A66C2;
    color: white;
}

.social-icon.youtube {
    background: #FF0000;
    color: white;
}

/* User Avatar */
.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-action);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--color-text);
    transition: background var(--transition-fast);
}

.dropdown-menu a:hover {
    background: #F9FAFB;
    color: var(--color-primary);
}

.dropdown-menu .divider {
    height: 1px;
    background: var(--color-border);
    margin: 0.5rem 0;
}

/* Alert Global */
.alert-global {
    position: sticky;
    top: 70px;
    z-index: 999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 70px);
    background: #F9FAFB;
}

.dashboard-main {
    padding: 2rem;
}

/* Page Header Dashboard */
.page-header-dashboard {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.page-header-dashboard h1 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.page-header-dashboard p {
    color: var(--color-text-light);
}

/* Stats Cards Dashboard */
.stats-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-dashboard {
    background: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform var(--transition-normal);
}

.stat-card-dashboard:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.stat-icon-dashboard {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.stat-icon-dashboard.primary {
    background: rgba(19, 52, 100, 0.1);
    color: var(--color-primary);
}

.stat-icon-dashboard.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
}

.stat-icon-dashboard.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--color-warning);
}

.stat-icon-dashboard.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-error);
}

.stat-icon-dashboard.favorite {
    background: rgba(255, 38, 135, 0.1);
    color: var(--color-favorite);
}

/* Responsive Dashboard */
@media (max-width: 968px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: fixed;
        top: 70px;
        left: -280px;
        width: 280px;
        height: calc(100vh - 70px);
        z-index: 999;
        transition: left var(--transition-normal);
    }
    
    .dashboard-sidebar.open {
        left: 0;
    }
}