/* Dashboard Luxury Dark - Bento Grid System */

/* Status badges - Modernized */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.status-activo,
.status-active {
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-color: var(--success);
}

.status-inactivo,
.status-inactive {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border-color: var(--danger);
}

.status-pendiente {
    background-color: rgba(245, 158, 11, 0.15);
    color: var(--warning);
    border-color: var(--warning);
}

/* Bento Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Bento Card Base */
.card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Bento Specific Sizes */
.bento-profile {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-actions {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-stats {
    grid-column: span 2;
    grid-row: span 2;
}

/* Profile Card Styling */
.dashboard-profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.profile-avatar {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--border-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background);
    box-shadow: var(--shadow-md);
}

.profile-info h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text);
}

.profile-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dashboard-profile-content {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.profile-detail i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.profile-detail span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Quick Actions Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--background-alt);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-bounce);
    text-align: center;
}

.quick-action-btn:hover {
    background: var(--surface-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.quick-action-btn i {
    width: 1.5rem;
    height: 1.5rem;
}

.quick-action-btn span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Stats Styling */
.stats-section {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.stats-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

/* Feature Cards & Generic Components */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.card {
    background-color: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--background);
    border-radius: var(--radius) var(--radius) 0 0;
}

.card-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.card-body {
    padding: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-profile,
    .bento-actions,
    .bento-stats {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .bento-profile,
    .bento-actions,
    .bento-stats {
        grid-column: span 1;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-action-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}
