:root {
    /* Primary Colors - Clean modern palette */
    --bs-primary: #24c628;
    --bs-primary-rgb: 36, 198, 40;
    --bs-secondary: #6c757d;
    --bs-success: #24c628;
    --bs-success-rgb: 36, 198, 40;
    --bs-danger: #f44336;
    --bs-warning: #ff9800;
    --bs-info: #2196F3;
    --bs-light: #f8f9fa;
    --bs-dark: #1a1a1a;
    
    /* Custom Brand Colors */
    --brand-primary: #24c628;
    --brand-accent: #24c628;
    --brand-danger: #f44336;
    --card-shadow: none;
    --card-shadow-hover: none;
    --border-radius: 0;
    --border-radius-sm: 0;
    
    /* Card Colors - Override Bootstrap defaults */
    --bs-card-bg: #fdf9f9;
    --bs-card-border-color: transparent;
    --bs-card-border-width: 0;
    --bs-card-border-radius: 0;
    --bs-card-inner-border-radius: 0;
    --bs-card-cap-bg: #fdf9f9;
    --bs-card-cap-color: #1a1a1a;
    --bs-card-height: auto;
    --bs-card-color: #1a1a1a;
    --bs-card-spacer-y: 1.5rem;
    --bs-card-spacer-x: 1.5rem;
    --bs-card-title-spacer-y: 0.5rem;
    --bs-card-title-color: #1a1a1a;
    --bs-card-subtitle-color: #666;
    --bs-card-group-margin: 0.75rem;
    
    /* Link Colors */
    --bs-link-color: #1a1a1a;
    --bs-link-hover-color: #24c628;
    
    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-size: 0.95rem;
    font-family: var(--font-family-base);
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.5;
    padding-top: 60px;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--bs-link-color);
    text-decoration: none;
}

a:hover {
    color: var(--bs-link-hover-color);
    text-decoration: none;
}

/* Button Updates */
.btn {
    border-radius: 0;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 0;
    transition: all 0.2s ease;
}

.btn-primary {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: #1fa824;
    --bs-btn-hover-border-color: #1fa824;
    --bs-btn-active-bg: #1fa824;
    --bs-btn-active-border-color: #1fa824;
    --bs-btn-disabled-bg: #ccc;
    --bs-btn-disabled-border-color: #ccc;
}

.btn-success {
    --bs-btn-bg: var(--brand-accent);
    --bs-btn-border-color: var(--brand-accent);
    --bs-btn-hover-bg: #1fa824;
    --bs-btn-hover-border-color: #1fa824;
    --bs-btn-active-bg: #1fa824;
    --bs-btn-active-border-color: #1fa824;
}

.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--brand-primary);
    --bs-btn-active-border-color: var(--brand-primary);
    --bs-btn-active-color: #fff;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 0;
}

blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
    color: #666;
    background-color: #f8f9fa;
    border-radius: 0;
    margin: 1rem 0;
}

/* Header - Clean minimal design */
#top-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 60px;
    transition: none;
}

#top-navbar.scrolled {
    box-shadow: none;
}

#top-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a1a !important;
    text-decoration: none;
}

#top-navbar .navbar-brand:hover {
    color: var(--brand-accent) !important;
}

#top-navbar .navbar-brand img {
    max-height: 2rem;
}

#top-navbar .nav-link {
    color: #1a1a1a;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    transition: all 0.2s ease;
    position: relative;
}

#top-navbar .nav-link:hover {
    color: var(--brand-accent);
    background-color: rgba(36, 198, 40, 0.1);
}

#top-navbar .nav-link .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    z-index: 10;
}

#top-navbar .btn {
    padding: 0.375rem 0.75rem;
    margin-left: 0.5rem;
    position: relative;
}

#top-navbar .btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    line-height: 1;
    z-index: 10;
}

/* Main Content Container */
.main-content {
    padding-top: 1rem;
    min-height: 100vh;
}

/* Feed Layout - Instagram-like */
.feed-container {
    max-width: 470px;
    margin: 0 auto;
    padding: 1rem;
}

/* Card Styles - Modern clean cards */
.card, .post-card, .create-post-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: none;
    background: #fdf9f9;
    color: #1a1a1a;
}

.card:hover, .post-card:hover {
    box-shadow: none;
    transform: none;
}

.card-body {
    padding: 1.5rem;
    background: #fdf9f9;
    color: #1a1a1a;
}

.card-header {
    background: #fdf9f9;
    border-bottom: 0;
    padding: 1.5rem 1.5rem 0.75rem 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6 {
    margin: 0;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.1rem;
}

.card-header i {
    color: var(--brand-primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.card-footer {
    background: #fdf9f9;
    border-top: 0;
    padding: 0.75rem 1.5rem 1.5rem 1.5rem;
    color: #666;
}

/* Profile/User Section in Cards */
.post-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.post-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-avatar .avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-user-info h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

.post-user-info .text-muted {
    font-size: 0.8rem;
    margin-top: 0.125rem;
}

/* Post Content Area */
.post-content {
    padding: 1rem;
    line-height: 1.5;
}

.post-image {
    width: 100%;
    border-radius: 0;
    margin: 0.75rem 0;
}

/* Post Actions - Only Heart/Like system */
.post-actions {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.post-actions .btn {
    color: #666;
    padding: 0.375rem 0.75rem;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.post-actions .btn:hover {
    background-color: rgba(36, 198, 40, 0.1);
    color: var(--brand-accent);
}

.post-actions .btn-like {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.post-actions .btn-like.liked {
    color: var(--brand-danger);
}

.post-actions .btn-like .heart-icon {
    font-size: 1.1rem;
}

.post-actions .like-count {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9rem;
}

/* Brand/Business Cards */
.business-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    transition: none;
    margin-bottom: 1rem;
    background: #fdf9f9;
}

.business-card:hover {
    box-shadow: none;
    transform: none;
}

.business-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.business-card .card-body {
    padding: 1rem;
}

.business-card .brand-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.business-card .product-name {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.business-card .price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.business-card .action-btn {
    width: 100%;
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 0;
    font-weight: 600;
    transition: all 0.2s ease;
}

.business-card .action-btn:hover {
    background: #1fa824;
    transform: none;
}

.business-card .action-btn.btn-success {
    background: var(--brand-accent);
}

.business-card .action-btn.btn-success:hover {
    background: #1fa824;
}

/* Create Post Form - Match feed-item styling */
.create-post-card {
    background: #fdf9f9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: none;
}

.create-post-card:hover {
    box-shadow: none;
    transform: none;
}

.create-post-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.create-post-card .avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.create-post-content {
    padding: 1rem;
}

.create-post-card .form-control {
    border: none;
    font-size: 1rem;
    padding: 0;
    resize: none;
    background: transparent;
    box-shadow: none;
    min-height: 100px;
}

.create-post-card .form-control::placeholder {
    color: #999;
    font-size: 1rem;
}

.create-post-card .form-control:focus {
    box-shadow: none;
    background: transparent;
    border: none;
    outline: none;
}

.create-post-actions {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.create-post-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 0;
}

/* Forms */
.form-control {
    border: 1px solid #e1e5e9;
    border-radius: 0;
    padding: 0.75rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-control:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(36, 198, 40, 0.2);
    background: #ffffff;
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.input-group-text {
    border: 1px solid #e1e5e9;
    border-radius: 0;
    background: #fdf9f9;
    color: #666;
    border-right: 0;
}

.input-group .form-control {
    border-left: 0;
}

.input-group .form-control:focus {
    border-left: 0;
}

.form-text {
    color: #666;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-check-input {
    border-radius: 0;
    border: 1px solid #e1e5e9;
}

.form-check-input:checked {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.form-select {
    border: 1px solid #e1e5e9;
    border-radius: 0;
    padding: 0.75rem;
    background: #ffffff;
}

.form-select:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(36, 198, 40, 0.2);
}

/* Offcanvas - Clean mobile menu */
.offcanvas {
    border: none;
    border-radius: 0;
    background: #ffffff;
}

.offcanvas-header {
    border-bottom: 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: #fdf9f9;
}

.offcanvas-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.offcanvas-body {
    padding: 0;
}

/* User Section - Integrated with menu */
.offcanvas .user-section {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: #fdf9f9;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.offcanvas .user-section .user-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.offcanvas .user-section .avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1fa824 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.offcanvas .user-section .user-details h6 {
    margin: 0;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.offcanvas .user-section .user-details small {
    color: #666;
    font-size: 0.8rem;
}

.offcanvas .user-actions {
    display: flex;
    gap: 0.5rem;
}

.offcanvas .user-actions .btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 0;
    border-radius: 0;
    transition: all 0.2s ease;
}

.offcanvas .user-actions .btn-outline-primary {
    background: transparent;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
}

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

.offcanvas .user-actions .btn-outline-danger {
    background: transparent;
    color: var(--brand-danger);
    border: 1px solid var(--brand-danger);
}

.offcanvas .user-actions .btn-outline-danger:hover {
    background: var(--brand-danger);
    color: white;
}

/* Auth Section - Integrated with menu */
.offcanvas .auth-section {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: #fdf9f9;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
}

.offcanvas .auth-section h6 {
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.offcanvas .auth-section .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border: 0;
    border-radius: 0;
    transition: all 0.2s ease;
}

/* Menu Separator */
.offcanvas .menu-separator {
    height: 1px;
    background: #e9ecef;
    margin: 0;
    border: 0;
}

/* Navigation Links */
.offcanvas-body .nav-link {
    color: #1a1a1a;
    padding: 0.875rem 1.5rem;
    border-bottom: 0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.offcanvas-body .nav-link:hover {
    color: var(--brand-primary);
    background-color: rgba(36, 198, 40, 0.08);
    border-radius: 0;
    padding-left: 1.5rem;
}

.offcanvas-body .nav-link.active {
    color: var(--brand-primary);
    font-weight: 600;
    background-color: rgba(36, 198, 40, 0.12);
}

.offcanvas-body .nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    color: #666;
    font-size: 1rem;
}

.offcanvas-body .nav-link:hover i,
.offcanvas-body .nav-link.active i {
    color: var(--brand-primary);
}

/* Language Dropdown in Offcanvas */
.offcanvas .language-section {
    padding: 1rem 1.5rem;
    background: #fdf9f9;
}

.offcanvas .language-section .btn.dropdown-toggle {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0;
    background: white;
    color: #1a1a1a;
    font-weight: 500;
    text-align: left;
    transition: all 0.2s ease;
}

.offcanvas .language-section .btn.dropdown-toggle:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.offcanvas .language-section .dropdown-menu {
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 0;
    box-shadow: none;
    margin-top: 0;
}

.offcanvas .language-section .dropdown-item {
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.offcanvas .language-section .dropdown-item:hover {
    background-color: rgba(36, 198, 40, 0.08);
    color: var(--brand-primary);
}

.offcanvas .language-section .flag {
    margin-right: 0.5rem;
}

/* Feed Item Specific Styles */
.feed-item {
    background: #fdf9f9;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: none;
}

.feed-item:hover {
    box-shadow: none;
}

.feed-item-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.feed-item-header .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 0.75rem;
    overflow: hidden;
}

.feed-item-header .user-info .username {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a1a;
    margin: 0;
}

.feed-item-header .user-info .brand-selection {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.feed-item-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.feed-item-content {
    padding: 1rem;
}

.feed-item-brand {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feed-item-product {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.feed-item-price {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.feed-item-actions {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-item-action-btn {
    flex: 1;
    background: var(--brand-primary);
    color: white;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-right: 0.75rem;
}

.feed-item-action-btn:hover {
    background: #1fa824;
    transform: none;
}

.feed-item-action-btn.btn-green {
    background: var(--brand-accent);
}

.feed-item-action-btn.btn-green:hover {
    background: #1fa824;
}

.feed-item-action-btn.btn-red {
    background: var(--brand-danger);
}

.feed-item-action-btn.btn-red:hover {
    background: #d32f2f;
}

.feed-item-like {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.feed-item-like .heart {
    font-size: 1.2rem;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.feed-item-like.liked .heart {
    color: var(--brand-danger);
}

.feed-item-like-count {
    font-weight: 600;
}

/* Copy Code Section */
.promo-section {
    background: #1a1a1a;
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.copy-code-btn {
    background: var(--brand-accent);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: all 0.2s ease;
}

.copy-code-btn:hover {
    background: #1fa824;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .feed-container {
        padding: 0.5rem;
        max-width: 100%;
    }
    
    #top-navbar {
        padding: 0.375rem 0;
        height: 56px;
    }
    
    body {
        padding-top: 56px;
    }
    
    .main-content {
        padding-top: 0.75rem;
    }
    
    .feed-item-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }
    
    .feed-item-action-btn {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .feed-item-like {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hero */
.hero {
    min-height: 60vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
}

/* Breadcrumbs */
.breadcrumb-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.breadcrumb {
    font-size: 0.875rem;
}

/* Articles */
.articles-section {
    margin-bottom: 4rem;
}

.articles-item-date {
    font-size: 0.75rem;
}

.articles-list {
    margin-bottom: 2rem;
}

.articles-list h4 {
    padding-top: 1rem;
}

.article-categories {
    margin-bottom: 2rem;
}

.article-date {
    font-size: .75rem;
    color: #444;
}

.article-image {
    margin-bottom: 2rem;
    text-align: center;
}

/* About project */
.about-project {
    margin: 0 auto 4rem auto;
    max-width: 40rem;
}

/* Search page */
.search-form {
    margin-bottom: 2rem;
    width: 100%;
}

.search-results {
    margin-bottom: 2rem;
    width: 100%;
}

/* Full page */
.full-page {
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 50rem;
    margin: 0 auto 2rem auto;
}

.text-content h1 {
    margin-bottom: 2rem;
}

.text-block {
    margin-bottom: 4rem;
}

.contact-block {
    margin-bottom: 4rem;
}

.pagination-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pagination-container nav {
    margin-bottom: .5rem;
}

/* Footer */
footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .nav {
    margin-bottom: 4rem;
}

footer .footer-search {
    margin-bottom: 4rem;
}

footer .footer-search form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

footer .copyright {
    margin-bottom: 4rem;
}

/* Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
    overflow: scroll;
    padding-top: 5rem;
    top: 0;
}

#cookieForm {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.cookieText {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.75rem;
}

.cookieText h2 {
    font-size: 1rem;
}

.cookieText label {
    margin-right: 0.5rem;
}

.cookieButtons {
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    min-width: 15rem;
}

.cookieButtons .btn {
    margin-bottom: .25rem;
}

/* User Mention Tags */
.user-mention {
    color: var(--brand-accent) !important;
    font-weight: 600;
    text-decoration: none;
    background: rgba(36, 198, 40, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 0;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.2;
}

.user-mention:hover {
    color: #1fa824 !important;
    background: rgba(36, 198, 40, 0.15);
    text-decoration: none;
    transform: none;
}

/* Other */
#top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: none;
    z-index: 10;
    cursor: pointer;
}

/* Loading states */
.resize-none {
    resize: none;
}

#loading-indicator {
    opacity: 0.8;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .cookie-consent {
        overflow: visible;
        padding: 2rem;
        top: auto;
    }

    #cookieForm {
        flex-direction: row;
    }

    .cookieText {
        margin-bottom: 0rem;
        font-size: 1rem;
    }

    .cookieText h2 {
        font-size: 1.5rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {}

/* Cover Photo Styles */
.cover-photo-section {
    margin-bottom: 1.5rem;
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
}

.cover-photo-container .current-cover img {
    border: 0;
    box-shadow: none;
}

.cover-photo-container .no-cover {
    border: 2px dashed #dee2e6;
    border-radius: 0;
}

.cover-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cover-photo-container .current-cover img {
        height: 150px !important;
    }
    
    .cover-photo-section img {
        height: 200px !important;
    }
}

/* Alert styles for cover upload feedback */
#coverResult {
    border: none;
    border-radius: 0;
}

#coverResult.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 0;
}

#coverResult.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 0;
}

#coverResult.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 0;
}

/* Bootstrap Alert Overrides */
.alert {
    border: 0;
    border-radius: 0;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.alert-dismissible .btn-close {
    padding: 1rem 1.5rem;
    background: none;
    border: 0;
    opacity: 0.7;
}

.alert-dismissible .btn-close:hover {
    opacity: 1;
}

/* User Profile Styles */
/* Full Width Cover Photo Styles */
.cover-photo-full-width {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

.cover-photo-full-width .cover-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.cover-photo-full-width .cover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
    padding: 3rem 0 2rem 0;
}

.cover-photo-full-width .cover-content {
    text-align: center;
    color: white;
}

.cover-photo-full-width .cover-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.cover-photo-full-width .cover-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.cover-photo-full-width .cover-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.cover-photo-full-width .stat-item {
    font-size: 0.95rem;
    color: white;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.cover-photo-full-width .cover-actions .btn {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    transition: all 0.2s ease;
}

.cover-photo-full-width .cover-actions .btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: none;
}

/* Profile Tabs Styles */
.profile-tabs {
    background: #fdf9f9;
    border-radius: 0;
    box-shadow: none;
    padding: 0.5rem;
}

.profile-tabs .nav-pills .nav-link {
    border-radius: 0;
    font-weight: 600;
    color: #666;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.profile-tabs .nav-pills .nav-link:hover {
    background: #f8f9fa;
    color: #1a1a1a;
}

.profile-tabs .nav-pills .nav-link.active {
    background: #1a1a1a;
    color: white;
}

.profile-tabs .nav-pills .nav-link .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    min-width: 20px;
    height: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-tabs .nav-pills .nav-link.active .badge {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white;
}

.profile-tabs .nav-pills .nav-link:not(.active) .badge {
    background: #1a1a1a;
    color: white;
}

.tab-content {
    margin-top: 1rem;
}

/* Q&A Items - Match project feed style */
.qa-item {
    background: #fdf9f9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: none;
}

.qa-item:hover {
    box-shadow: none;
    transform: none;
}

.qa-item .question {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.qa-item .question h5 {
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.qa-item .question h5::before {
    content: "Q:";
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(36, 198, 40, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.qa-item .answer {
    padding: 1rem;
}

.qa-item .answer-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
    position: relative;
    padding-left: 2rem;
}

.qa-item .answer-content::before {
    content: "A:";
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(26, 26, 26, 0.08);
    padding: 0.25rem 0.5rem;
    border-radius: 0;
    line-height: 1;
}

.qa-item .question-meta {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.qa-item .question-meta i {
    font-size: 0.75rem;
}

/* Empty states - Match project card style */
.empty-state {
    background: #fdf9f9;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
    margin-bottom: 1rem;
}

.empty-state .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.empty-state .empty-icon i {
    color: #ddd;
}

.empty-state h3 {
    color: #666;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.empty-state p {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments for cover and profiles */
@media (max-width: 768px) {
    .cover-photo-full-width .cover-image {
        height: 300px;
        object-position: center center;
    }
    
    .cover-photo-full-width .cover-overlay {
        padding: 2rem 0 1.5rem 0;
    }
    
    .cover-photo-full-width .cover-title {
        font-size: 2rem;
    }
    
    .cover-photo-full-width .cover-subtitle {
        font-size: 1rem;
    }
    
    .cover-photo-full-width .cover-stats {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .profile-tabs .nav-pills .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .qa-item .question,
    .qa-item .answer {
        padding: 0.75rem;
    }
    
    .qa-item .answer-content {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .qa-item .question h5 {
        font-size: 0.9rem;
        gap: 0.375rem;
    }
    
    .qa-item .question h5::before,
    .qa-item .answer-content::before {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .cover-photo-full-width .cover-image {
        height: 300px;
        object-position: center center;
    }
    
    .cover-photo-full-width .cover-title {
        font-size: 1.75rem;
    }
    
    .cover-photo-full-width .cover-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .profile-tabs .nav-pills .nav-link {
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.75rem 0.5rem;
    }
    
    .profile-tabs .nav-pills .nav-link i {
        font-size: 1.1rem;
    }
}

/* Dropdown Styles */
.dropdown-menu {
    border: 1px solid #e1e5e9;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: #1a1a1a;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(36, 198, 40, 0.08);
    color: var(--brand-primary);
}

.dropdown-item.active {
    background-color: var(--brand-primary);
    color: white;
}

.dropdown-divider {
    margin: 0;
    border-top: 1px solid #e1e5e9;
}

/* Modern Button Enhancements */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

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

.btn-outline-secondary {
    --bs-btn-color: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
}

.btn-outline-success {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-hover-color: #fff;
}

.btn-outline-danger {
    --bs-btn-color: var(--brand-danger);
    --bs-btn-border-color: var(--brand-danger);
    --bs-btn-hover-bg: var(--brand-danger);
    --bs-btn-hover-border-color: var(--brand-danger);
    --bs-btn-hover-color: #fff;
}

/* Modern Card Layouts */
.card-body.p-4 {
    padding: 2rem !important;
}

/* Quick Actions Styling */
.btn:has(small) {
    text-align: left;
    padding: 1rem 1.25rem;
    height: auto;
    line-height: 1.4;
}

.btn small {
    opacity: 0.8;
    font-weight: 400;
    font-size: 0.8rem;
}

/* Profile Overview Enhancements */
.avatar-placeholder {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1fa824 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Modern Spacing */
.container.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.card.mb-4 {
    margin-bottom: 2rem !important;
}

/* Text Hierarchy */
.h3.mb-2 {
    font-weight: 700;
    color: #1a1a1a;
}

/* Form Enhancements */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .card-body.p-4 {
        padding: 1.5rem !important;
    }
    
    .btn:has(small) {
        padding: 0.875rem 1rem;
    }
    
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .d-flex.justify-content-between .btn {
        width: 100%;
    }
    
    .questions-list {
        max-height: 400px !important;
    }
    
    .question-item {
        margin-bottom: 1rem !important;
        padding: 1rem !important;
    }
    
    .question-number {
        margin-right: 0.75rem !important;
    }
    
    .d-flex.gap-3.justify-content-center {
        flex-direction: column;
        gap: 0.75rem !important;
    }
    
    .d-flex.gap-3.justify-content-center .btn {
        width: 100%;
    }
}

/* Question Management Enhancements */
.questions-list {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) #f1f1f1;
}

.questions-list::-webkit-scrollbar {
    width: 6px;
}

.questions-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.questions-list::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 3px;
}

.questions-list::-webkit-scrollbar-thumb:hover {
    background: #1fa824;
}

.question-item {
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.question-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(36, 198, 40, 0.1);
}

.question-number .badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.answer-text {
    line-height: 1.6;
    color: #495057;
    font-size: 0.95rem;
}

.answer-meta {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

/* Equal Height Cards */
.h-100 {
    height: 100% !important;
}

.card.h-100 .card-body {
    display: flex;
    flex-direction: column;
}

/* Enhanced Form Elements */
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(36, 198, 40, 0.2);
}

/* Badge Enhancements */
.badge.bg-primary {
    background-color: var(--brand-primary) !important;
}

/* Alert Icon Styling */
.alert i {
    font-size: 1.1rem;
}

/* Bottom Action Card */
.text-center .card {
    border: 1px solid rgba(36, 198, 40, 0.1);
    background: linear-gradient(135deg, #fdf9f9 0%, #f8fdf8 100%);
}



/* Question Management Enhancements */
.questions-list {
    scrollbar-width: thin;
    scrollbar-color: var(--brand-primary) #f1f1f1;
}

.questions-list::-webkit-scrollbar {
    width: 6px;
}

.questions-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.questions-list::-webkit-scrollbar-thumb {
    background: var(--brand-primary);
    border-radius: 3px;
}

.questions-list::-webkit-scrollbar-thumb:hover {
    background: #1fa824;
}

.question-item {
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.question-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(36, 198, 40, 0.1);
}

.question-number .badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.answer-text {
    line-height: 1.6;
    color: #495057;
    font-size: 0.95rem;
}

.answer-meta {
    border-top: 1px solid #e9ecef;
    padding-top: 0.75rem;
}

/* Enhanced Form Elements */
.form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 2px rgba(36, 198, 40, 0.2);
}

/* Badge Enhancements */
.badge.bg-primary {
    background-color: var(--brand-primary) !important;
}

/* Alert Icon Styling */
.alert i {
    font-size: 1.1rem;
}

/* Bottom Action Card */
.text-center .card {
    border: 1px solid rgba(36, 198, 40, 0.1);
    background: linear-gradient(135deg, #fdf9f9 0%, #f8fdf8 100%);
}