/**
 * Dashboard CSS
 * 
 * @package ProshnoBinimoy
 */

/* Dashboard Stats Cards */
.stat-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    font-size: 1.5rem;
}

/* Progress Bar */
.progress-bar {
    transition: width 0.5s ease;
}

.progress-bar-container {
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #059669, #0d9488);
    height: 100%;
    border-radius: 9999px;
    transition: width 0.5s ease;
}

/* Badge Selectable */
.badge-selectable {
    transition: all 0.2s ease;
    cursor: pointer;
}

.badge-selectable:hover {
    transform: translateY(-2px);
}

.badge-selectable.selected {
    transform: scale(1.02);
    box-shadow: 0 0 0 2px #059669;
}

/* Draft Cards */
.draft-card {
    transition: all 0.2s ease;
    border-left-width: 4px;
}

.draft-card:hover {
    background: #f9fafb;
    transform: translateX(4px);
}

/* Profile Sidebar Links */
.profile-sidebar-link {
    transition: all 0.2s ease;
}

.profile-sidebar-link:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

/* Activity Feed */
.activity-item {
    transition: all 0.2s ease;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.activity-item:hover {
    background: #f9fafb;
}

.activity-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tab Styles */
.tab-btn {
    transition: all 0.2s ease;
}

.tab-active {
    border-bottom: 2px solid #059669;
    color: #059669;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-card i {
        font-size: 1.25rem;
    }
    
    .stat-card .text-xl {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}