/**
 * Entity Index Page - Interactive Version Styles
 * entity.townmore.com
 */

/* ============================================================================
   CSS Variables
   ============================================================================ */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;

    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

/* ============================================================================
   Base
   ============================================================================ */
.entity-index-page {
    min-height: 100vh;
    background: #fff;
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background: var(--bg-light) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Section Headers */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header-center {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h2 i {
    color: var(--primary);
}

.section-title p {
    color: var(--text-muted);
    margin: 0;
}

.section-title.light h2,
.section-title.light p {
    color: #fff;
}

.section-title.light h2 i {
    color: var(--warning);
}

.section-header-center h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.section-header-center p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ============================================================================
   Hero Slideshow
   ============================================================================ */
.hero-slideshow-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
}

.hero-swiper {
    height: 100%;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    color: #fff;
    padding: 40px 0;
}

.hero-slide-avatar {
    position: relative;
    flex-shrink: 0;
}

.hero-slide-avatar img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
}

.hero-slide-avatar .verified-badge {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 36px;
    height: 36px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 3px solid #fff;
}

.hero-slide-info {
    flex: 1;
}

.entity-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.hero-slide-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-slide-info .slogan {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.hero-slide-info .location {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.hero-slide-info .location i {
    color: var(--danger);
    margin-right: 6px;
}

.hero-slide-info .rating-stars {
    margin-bottom: 0;
}

.hero-slide-info .rating-stars i {
    color: var(--warning);
    font-size: 18px;
}

.hero-slide-info .rating-value,
.hero-slide-info .rating-count {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Navigation */
.hero-prev, .hero-next {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: var(--transition);
}

.hero-prev:hover, .hero-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-prev::after, .hero-next::after {
    font-size: 18px !important;
}

.hero-pagination {
    bottom: 100px !important;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 36px;
    border-radius: 6px;
}

/* Hero Search Overlay */
.hero-search-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 10;
}

.hero-search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow-xl);
}

.search-input-wrapper i {
    color: var(--text-muted);
    font-size: 18px;
    margin-right: 12px;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 12px 0;
}

.search-input-wrapper button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-input-wrapper button:hover {
    background: var(--primary-dark);
}

/* ============================================================================
   My Entities - Simple Cards (no flip)
   ============================================================================ */
.my-entities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.my-entity-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.my-entity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.my-entity-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.my-entity-front {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 16px;
}

.my-entity-back {
    display: block;
    padding: 0 20px 20px;
    border-top: 1px solid var(--border);
}

.back-content {
    padding-top: 16px;
}

.back-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.back-content .rating-stars {
    margin-bottom: 16px;
}

.back-actions {
    display: flex;
    gap: 10px;
}

.back-actions .btn {
    flex: 1;
    text-align: center;
}

.back-actions .btn-light {
    background: var(--primary);
    color: #fff;
    border: none;
}

.back-actions .btn-light:hover {
    background: var(--primary-dark);
}

.back-actions .btn-outline-light {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.back-actions .btn-outline-light:hover {
    background: var(--primary);
    color: #fff;
}

.entity-avatar {
    position: relative;
    flex-shrink: 0;
}

.entity-avatar img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.draft-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--warning);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.entity-info {
    flex: 1;
    min-width: 0;
}

.role-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.role-tag.owner {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.role-tag.member {
    background: rgba(100, 116, 139, 0.1);
    color: var(--secondary);
}

.entity-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entity-type-sm {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.entity-type-sm i {
    margin-right: 4px;
}

/* Animation */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================================
   Popular Carousel
   ============================================================================ */
.carousel-nav {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.popular-swiper {
    padding: 10px 0 40px;
}

.popular-card {
    display: block;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.popular-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.popular-card-image {
    position: relative;
    height: 180px;
    background: var(--border);
}

.popular-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-badge i {
    color: var(--warning);
}

.verified-tick {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--success);
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.popular-card-body {
    padding: 20px;
}

.entity-type-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.popular-card-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-card-body .location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.popular-card-body .location i {
    color: var(--danger);
    margin-right: 4px;
}

.review-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.review-count i {
    margin-right: 6px;
}

/* ============================================================================
   Category Tabs
   ============================================================================ */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.category-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 30px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.category-tab i {
    font-size: 1.5rem;
    color: var(--secondary);
    transition: var(--transition);
}

.category-tab span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.category-tab:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-tab:hover i {
    color: var(--primary);
}

.category-tab.active {
    background: var(--primary);
    border-color: var(--primary);
}

.category-tab.active i,
.category-tab.active span {
    color: #fff;
}

/* Category Panels */
.category-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.category-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.category-card-image {
    position: relative;
    flex-shrink: 0;
}

.category-card-image img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.verified-badge-sm {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #fff;
}

.category-card-info {
    flex: 1;
    min-width: 0;
}

.category-card-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.category-card-info p i {
    color: var(--danger);
    margin-right: 4px;
}

.category-card-info .rating-stars {
    font-size: 0.75rem;
}

.category-card-info .rating-stars i {
    font-size: 11px;
}

.category-card-arrow {
    color: var(--text-light);
    transition: var(--transition);
}

.category-card:hover .category-card-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.category-footer {
    text-align: center;
}

.empty-category {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-category i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* ============================================================================
   Recent Masonry
   ============================================================================ */
.recent-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 20px;
}

.recent-item {
    border-radius: var(--radius);
    overflow: hidden;
}

.recent-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.recent-card {
    display: block;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.recent-card-image {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.recent-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recent-card:hover .recent-card-image img {
    transform: scale(1.05);
}

.recent-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.time-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.time-badge i {
    margin-right: 4px;
}

.recent-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
}

.recent-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.entity-type-mini {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.entity-type-mini i {
    margin-right: 4px;
}

.verified-mini {
    color: var(--success);
}

.recent-card-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.recent-item.large .recent-card-body h4 {
    font-size: 1.4rem;
}

.recent-card-body .slogan {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-card-body .location {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 8px;
}

.recent-card-body .location i {
    color: var(--danger);
    margin-right: 4px;
}

.recent-card-body .rating-stars i {
    color: var(--warning);
    font-size: 12px;
}

.recent-card-body .rating-value,
.recent-card-body .rating-count,
.recent-card-body .no-reviews {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

/* ============================================================================
   Stats & CTA
   ============================================================================ */
.stats-cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1e293b 100%);
    padding: 80px 0;
    color: #fff;
}

.stats-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box i {
    font-size: 2rem;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
}

.cta-banner {
    text-align: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-banner h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-banner p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================================================
   Empty States & CTAs
   ============================================================================ */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--shadow);
}

.empty-state-icon i {
    font-size: 2rem;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.login-cta-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 50px;
    text-align: center;
    color: #fff;
}

.login-cta-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.login-cta-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.login-cta-content p {
    opacity: 0.85;
    margin-bottom: 24px;
}

.login-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================================================
   Rating Stars (Global)
   ============================================================================ */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-stars i {
    color: var(--warning);
    font-size: 14px;
}

.rating-value {
    font-weight: 600;
    margin-left: 8px;
}

.rating-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.no-reviews {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 1200px) {
    .recent-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .recent-item.large {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .hero-slideshow-section {
        height: 60vh;
        min-height: 450px;
    }

    .hero-slide-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-slide-avatar img {
        width: 120px;
        height: 120px;
    }

    .hero-slide-info h2 {
        font-size: 1.75rem;
    }

    .hero-slide-info .rating-stars {
        justify-content: center;
    }

    .section-padding {
        padding: 60px 0;
    }

    .stats-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .recent-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 767px) {
    .hero-slideshow-section {
        height: auto;
        min-height: 500px;
    }

    .hero-prev, .hero-next {
        display: none;
    }

    .hero-slide-info h2 {
        font-size: 1.5rem;
    }

    .search-input-wrapper {
        flex-direction: column;
        padding: 16px;
        border-radius: var(--radius);
    }

    .search-input-wrapper i {
        display: none;
    }

    .search-input-wrapper input {
        width: 100%;
        text-align: center;
    }

    .search-input-wrapper button {
        width: 100%;
        margin-top: 12px;
    }

    .category-tabs {
        gap: 8px;
    }

    .category-tab {
        padding: 12px 16px;
        min-width: auto;
    }

    .category-tab span {
        font-size: 0.75rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .recent-masonry {
        grid-template-columns: 1fr;
    }

    .stats-cta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-box {
        padding: 20px;
    }

    .stat-number {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .category-tab {
        flex: 1 1 calc(33.333% - 8px);
    }

    .category-tab i {
        font-size: 1.25rem;
    }

    .my-entities-grid {
        grid-template-columns: 1fr;
    }
}
