/* Personal Dashboard Styles */
.personal-dashboard {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-header {
    background: linear-gradient(135deg, #0CC0DF 0%, #0a9fb8 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.dashboard-widget {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.dashboard-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.quick-action-btn {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none !important;
}

.stat-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.status-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Activity Timeline Styles */
#activityTimeline {
    scrollbar-width: thin;
    scrollbar-color: #0CC0DF #f1f1f1;
}

#activityTimeline::-webkit-scrollbar {
    width: 6px;
}

#activityTimeline::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#activityTimeline::-webkit-scrollbar-thumb {
    background: #0CC0DF;
    border-radius: 3px;
}

#activityTimeline::-webkit-scrollbar-thumb:hover {
    background: #0a9fb8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .dashboard-header {
        padding: 20px !important;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem !important;
    }
    
    .dashboard-widget {
        padding: 20px !important;
    }
    
    .personal-dashboard {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .dashboard-header {
        padding: 15px !important;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem !important;
    }
    
    .dashboard-widget {
        padding: 15px !important;
    }
    
    .quick-action-btn {
        padding: 12px !important;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .dashboard-widget {
        background: #1f2937 !important;
        color: #f9fafb !important;
        border-color: #374151 !important;
    }
    
    .stat-card {
        background: #111827 !important;
        border-color: #374151 !important;
    }
    
    .status-card {
        background: #111827 !important;
        border-color: #374151 !important;
    }
}

/* Loading animations */
@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
}

/* Widget specific styles */
.widget-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.widget-content {
    line-height: 1.6;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #0CC0DF;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.warning {
    background: #f59e0b;
}
