/* Main CSS Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Import Component-Specific Styles */
@import 'profile-card.css';
@import 'navigation-tabs.css';
@import 'feed-page.css';  /* <-- Add this line */

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.5;
}

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

/* Main Navigation */
.main-nav {
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    color: #3b82f6;
}

.brand-name {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #f9fafb;
}

/* Custom Animations */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Custom Gradient Classes */
.bg-gradient-salesforce {
    background: linear-gradient(90deg, #0c4a6e 0%, #164e63 100%);
}

.bg-gradient-service-cloud {
    background: linear-gradient(90deg, #7e22ce 0%, #be185d 100%);
}

.bg-gradient-community-cloud {
    background: linear-gradient(90deg, #ea580c 0%, #b91c1c 100%);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #9ca3af;
}

.loading-spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid #6b7280;
    border-top-color: #3b82f6;
    animation: spin 1s infinite linear;
}

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

/* Error States */
.error-container {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    margin: 1rem 0;
}

.error-icon {
    color: #ef4444;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.error-title {
    color: #f87171;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.error-message {
    color: #fca5a5;
    font-size: 0.875rem;
}

/* Button Styles */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.button-primary {
    background-color: #3b82f6;
    color: #ffffff;
}

.button-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.button-secondary {
    background-color: #4b5563;
    color: #ffffff;
}

.button-secondary:hover {
    background-color: #374151;
    transform: translateY(-1px);
}

.button-outline {
    background-color: transparent;
    border: 1px solid #4b5563;
    color: #e5e7eb;
}

.button-outline:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    transform: translateY(-1px);
}

/* Responsive utilities */
@media (max-width: 640px) {
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 641px) {
    .hide-desktop {
        display: none;
    }
}