﻿/* profile-mobile.css - Modern, mobile-optimized styling for user profiles */
:root {
    --primary-color: #8b4513;
    --primary-light: #a0522d;
    --primary-dark: #733a0f;
    --secondary-color: #d2691e;
    --accent-color: #f4a460;
    --background-color: #f9f9f9;
    --card-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #eeeeee;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --header-height: 56px;
    --bottom-bar-height: 52px;
    --animation-speed: 0.3s;
    --safe-area-bottom: env(safe-area-inset-bottom, 0);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--bottom-bar-height) + var(--safe-area-bottom));
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Page Container */
.profile-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    margin-top: var(--header-height);
    padding-bottom: calc(var(--bottom-bar-height) + var(--spacing-lg));
}

/* Profile Header */
.profile-header {
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    display: flex;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.profile-location {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.profile-bio {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Stats Pills Row */
.profile-stats-row {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

    .stat-pill svg, .stat-pill .icon {
        color: var(--primary-color);
        width: 16px;
        height: 16px;
    }

    .stat-pill .stat-value {
        font-weight: 600;
        color: var(--primary-color);
        font-size: 1.1rem;
    }

/* Rating Cards */
.rating-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.rating-card {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.rating-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.rating-percentage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.rating-percentage-symbol {
    font-size: 1rem;
    margin-left: 2px;
}

.rating-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.venue-rating-card {
    border-top: 3px solid var(--primary-color);
}

.product-rating-card {
    border-top: 3px solid var(--secondary-color);
}

/* Content Section */
.profile-content-section {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.section-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.section-tabs {
    display: flex;
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--border-color);
}

.section-tab {
    padding: var(--spacing-sm) var(--spacing-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background-color: transparent;
    border-bottom: 2px solid transparent;
    transition: all var(--animation-speed);
    flex: 1;
    text-align: center;
}

    .section-tab.active {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

.content-container {
    display: none;
    padding: var(--spacing-md);
    animation: fadeIn 0.3s;
}

    .content-container.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Review Filter */
.review-filter {
    margin-bottom: var(--spacing-md);
}

    .review-filter select {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        background-color: var(--card-color);
        font-size: 0.9rem;
        color: var(--text-color);
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
    }

/* Review Cards */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.review-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .review-card:active {
        transform: translateY(-2px);
    }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.review-producer {
    flex: 1;
}

    .review-producer h3 {
        font-size: 1rem;
        margin-bottom: 2px;
        color: var(--primary-color);
    }

.review-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.review-rating {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.review-accuracy {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .review-accuracy svg {
        width: 12px;
        height: 12px;
    }

.accuracy-high {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.accuracy-medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.accuracy-low {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.review-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

    .review-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.review-content {
    padding: var(--spacing-md);
}

    .review-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-color);
    }

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-products-toggle {
    background-color: transparent;
    border: none;
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.review-products {
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
}

.product-review-item {
    background-color: var(--card-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

    .product-review-item:last-child {
        margin-bottom: 0;
    }

.product-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.product-rating {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.product-quick-take {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: var(--spacing-xs) 0;
}

.product-photo {
    margin-top: var(--spacing-xs);
    width: 100%;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

    .product-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Photos Grid */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .photo-item:active {
        transform: translateY(-2px);
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.photo-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: var(--spacing-sm);
    color: white;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.photo-item:hover .photo-info-overlay,
.photo-item:active .photo-info-overlay {
    opacity: 1;
}

.photo-title {
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-category-tag {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 2px;
}

/* Tours List */
.tours-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tour-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .tour-card:active {
        transform: translateY(-2px);
    }

.tour-header {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

    .tour-header h3 {
        margin: 0;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

.tour-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tour-map-preview {
    height: 120px;
    background-color: #f0f0f0;
    position: relative;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.tour-stops {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.stop-count {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.tour-preview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tour-stop-preview {
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--primary-color);
}

.tour-more {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tour-actions {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
}

.view-tour-btn,
.share-tour-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color var(--animation-speed);
}

    .view-tour-btn:hover,
    .share-tour-btn:hover {
        background-color: var(--primary-dark);
    }

.view-tour-btn {
    flex: 3;
    margin-right: var(--spacing-sm);
}

.share-tour-btn {
    flex: 1;
    background-color: var(--text-secondary);
}

    .share-tour-btn:hover {
        background-color: var(--text-color);
    }

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

    .empty-state svg {
        color: var(--text-light);
        margin-bottom: var(--spacing-md);
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: var(--spacing-md);
    }

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background-color var(--animation-speed);
}

    .primary-button:hover {
        background-color: var(--primary-dark);
    }

/* Share Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    animation: modalAppear 0.3s;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h3 {
        margin: 0;
        color: var(--primary-color);
    }

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-body {
    padding: var(--spacing-lg);
}

.share-buttons {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--animation-speed);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

    .share-button:hover {
        transform: translateY(-5px);
        background-color: rgba(139, 69, 19, 0.05);
    }

    .share-button svg {
        width: 32px;
        height: 32px;
        margin-bottom: var(--spacing-sm);
    }

    .share-button span {
        font-weight: 500;
        color: var(--primary-color);
    }

/* Notification */
.notification {
    position: fixed;
    bottom: calc(var(--bottom-bar-height) + var(--spacing-md));
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    max-width: 90%;
    text-align: center;
}

    .notification.success {
        background-color: var(--success-color);
    }

    .notification.error {
        background-color: var(--error-color);
    }

    .notification.info {
        background-color: var(--primary-color);
    }

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (min-width: 480px) {
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .profile-container {
        padding: 0 var(--spacing-lg);
    }

    .photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* profile-mobile.css - Modern, mobile-optimized styling for user profiles */
:root {
    --primary-color: #8b4513;
    --primary-light: #a0522d;
    --primary-dark: #733a0f;
    --secondary-color: #d2691e;
    --accent-color: #f4a460;
    --background-color: #f9f9f9;
    --card-color: #ffffff;
    --text-color: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #eeeeee;
    --success-color: #4caf50;
    --warning-color: #ff9800;
    --error-color: #f44336;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --header-height: 56px;
    --bottom-bar-height: 52px;
    --animation-speed: 0.3s;
    --safe-area-bottom: env(safe-area-inset-bottom, 0);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: calc(var(--bottom-bar-height) + var(--safe-area-bottom));
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Page Container */
.profile-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    margin-top: var(--header-height);
    padding-bottom: calc(var(--bottom-bar-height) + var(--spacing-lg));
}

/* Profile Header */
.profile-header {
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    display: flex;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-sm);
    margin-right: var(--spacing-md);
    flex-shrink: 0;
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.profile-location {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.profile-bio {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Stats Pills Container */
.profile-stats-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-xs) 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    .profile-stats-pills::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

.stat-pill {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--card-color);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-color);
    white-space: nowrap;
    flex-shrink: 0;
}

    .stat-pill svg, .stat-pill .icon {
        color: var(--primary-color);
        width: 16px;
        height: 16px;
    }

    .stat-pill .stat-value {
        font-weight: 600;
        color: var(--primary-color);
        margin-right: 4px;
    }

/* Rating Cards */
.rating-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.rating-card {
    background-color: var(--card-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.rating-card-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

.rating-percentage {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.rating-percentage-symbol {
    font-size: 1rem;
    margin-left: 2px;
}

.rating-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-xs);
}

.venue-rating-card {
    border-top: 3px solid var(--primary-color);
}

.product-rating-card {
    border-top: 3px solid var(--secondary-color);
}

/* Content Tabs */
.profile-tabs {
    display: flex;
    background-color: var(--card-color);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    flex: 1;
    padding: var(--spacing-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background-color: transparent;
    border-bottom: 2px solid transparent;
    transition: all var(--animation-speed);
}

    .tab-button.active {
        color: var(--primary-color);
        border-bottom: 2px solid var(--primary-color);
    }

/* Content Area */
.profile-content {
    background-color: var(--card-color);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

    .tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Review Filter */
.review-filter {
    margin-bottom: var(--spacing-md);
}

    .review-filter select {
        width: 100%;
        padding: var(--spacing-sm) var(--spacing-md);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        background-color: var(--card-color);
        font-size: 0.9rem;
        color: var(--text-color);
        appearance: none;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
        background-repeat: no-repeat;
        background-position: right 12px center;
    }

/* Review Cards */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.review-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .review-card:active {
        transform: translateY(-2px);
    }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.review-producer {
    flex: 1;
}

    .review-producer h3 {
        font-size: 1rem;
        margin-bottom: 2px;
        color: var(--primary-color);
    }

.review-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.review-rating {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.review-accuracy {
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .review-accuracy svg {
        width: 12px;
        height: 12px;
    }

.accuracy-high {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.accuracy-medium {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

.accuracy-low {
    background-color: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.review-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

    .review-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.review-content {
    padding: var(--spacing-md);
}

    .review-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        color: var(--text-color);
    }

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.review-products-toggle {
    background-color: transparent;
    border: none;
    font-size: 0.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

.review-products {
    padding: var(--spacing-md);
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
}

.product-review-item {
    background-color: var(--card-color);
    border-radius: var(--radius-sm);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

    .product-review-item:last-child {
        margin-bottom: 0;
    }

.product-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
}

.product-info {
    flex: 1;
}

.product-name {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.product-rating {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.product-quick-take {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-secondary);
    margin: var(--spacing-xs) 0;
}

.product-photo {
    margin-top: var(--spacing-xs);
    width: 100%;
    height: 120px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

    .product-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Favorites List */
.favorites-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.producer-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .producer-card:active {
        transform: translateY(-2px);
    }

.producer-logo {
    width: 100%;
    height: 100px;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    overflow: hidden;
}

    .producer-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.placeholder-logo {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producer-info {
    padding: var(--spacing-sm);
}

    .producer-info h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
        color: var(--primary-color);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.producer-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.producer-rating {
    display: inline-block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-color);
}

    .producer-rating::before {
        content: "★ ";
        margin-right: 2px;
    }

/* Tours List */
.tours-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tour-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .tour-card:active {
        transform: translateY(-2px);
    }

.tour-header {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

    .tour-header h3 {
        margin: 0;
        font-size: 1.1rem;
        color: var(--primary-color);
    }

.tour-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.tour-map-preview {
    height: 120px;
    background-color: #f0f0f0;
    position: relative;
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.tour-stops {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.stop-count {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.tour-preview {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tour-stop-preview {
    background-color: rgba(139, 69, 19, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--primary-color);
}

.tour-more {
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.tour-actions {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md);
}

.view-tour-btn,
.share-tour-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color var(--animation-speed);
}

    .view-tour-btn:hover,
    .share-tour-btn:hover {
        background-color: var(--primary-dark);
    }

.view-tour-btn {
    flex: 3;
    margin-right: var(--spacing-sm);
}

.share-tour-btn {
    flex: 1;
    background-color: var(--text-secondary);
}

    .share-tour-btn:hover {
        background-color: var(--text-color);
    }

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

    .empty-state svg {
        color: var(--text-light);
        margin-bottom: var(--spacing-md);
    }

    .empty-state p {
        color: var(--text-secondary);
        margin-bottom: var(--spacing-md);
    }

.primary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background-color var(--animation-speed);
}

    .primary-button:hover {
        background-color: var(--primary-dark);
    }

/* Share Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 500px;
    animation: modalAppear 0.3s;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h3 {
        margin: 0;
        color: var(--primary-color);
    }

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-body {
    padding: var(--spacing-lg);
}

.share-buttons {
    display: flex;
    justify-content: space-around;
    gap: var(--spacing-md);
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform var(--animation-speed);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

    .share-button:hover {
        transform: translateY(-5px);
        background-color: rgba(139, 69, 19, 0.05);
    }

    .share-button svg {
        width: 32px;
        height: 32px;
        margin-bottom: var(--spacing-sm);
    }

    .share-button span {
        font-weight: 500;
        color: var(--primary-color);
    }

/* Notification */
.notification {
    position: fixed;
    bottom: calc(var(--bottom-bar-height) + var(--spacing-md));
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    max-width: 90%;
    text-align: center;
}

    .notification.success {
        background-color: var(--success-color);
    }

    .notification.error {
        background-color: var(--error-color);
    }

    .notification.info {
        background-color: var(--primary-color);
    }

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(139, 69, 19, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Media Queries */
@media (min-width: 480px) {
    .favorites-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .profile-container {
        padding: 0 var(--spacing-lg);
    }

    .favorites-list {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Additional styles for interactive stat pills and modals */

/* Make stat pills look clickable and add hover effect */
.stat-pill {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .stat-pill:hover,
    .stat-pill:active {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .stat-pill:active {
        background-color: var(--primary-light);
        color: white;
    }

        .stat-pill:active svg,
        .stat-pill:active .icon {
            color: white;
        }

/* Modal Container */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    pointer-events: none;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--animation-speed);
    pointer-events: none;
}

.modal-container.active .modal-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    background-color: var(--card-color);
    width: 100%;
    max-width: 768px;
    max-height: calc(95vh - var(--bottom-bar-height) - var(--header-height));
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: translateY(100%);
    transition: transform var(--animation-speed);
    pointer-events: none;
    display: none;
}

.modal-container.active .modal-content.active {
    transform: translateY(0);
    pointer-events: auto;
    display: block;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h2 {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-color);
        margin: 0;
    }

.close-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .close-modal:active {
        background-color: rgba(0, 0, 0, 0.05);
    }

.modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    max-height: calc(95vh - var(--bottom-bar-height) - var(--header-height) - 60px);
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
}

/* Modal Open Body State */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Modal Footer Space */
.modal-footer-space {
    height: calc(var(--bottom-bar-height) + var(--spacing-lg));
}

/* Followers and Following Lists */
.followers-list,
.following-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.user-card {
    display: flex;
    align-items: center;
    padding: var(--spacing-md);
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}

    .user-card:active {
        transform: translateY(-2px);
    }

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-md);
}

    .user-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.user-meta {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.follow-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
}

    .follow-button.following {
        background-color: var(--text-light);
    }

/* Checkins List */
.checkins-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.checkin-card {
    background-color: var(--background-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--animation-speed);
}

    .checkin-card:active {
        transform: translateY(-2px);
    }

.checkin-header {
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.checkin-producer {
    flex: 1;
}

    .checkin-producer h3 {
        font-size: 1rem;
        margin-bottom: 4px;
        color: var(--primary-color);
    }

.checkin-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.checkin-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

.checkin-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

    .checkin-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.checkin-content {
    padding: var(--spacing-md);
}

.checkin-message {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-bottom: 0;
}

.checkin-footer {
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
}

.checkin-stats {
    display: flex;
    gap: var(--spacing-md);
}

.checkin-likes,
.checkin-comments {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

    .checkin-likes svg,
    .checkin-comments svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }

/* Photos Grid in Modal */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* Media Queries to improve grid layout on larger screens */
@media (min-width: 480px) {
    .photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .photos-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Center modal on larger screens */
    .modal-content {
        max-width: 600px;
        margin: 0 auto;
    }
}
/* Add this to profile-mobile.css */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-button {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 12px;
    transition: background-color 0.2s;
    text-decoration: none;
    color: white;
}

    .auth-button:hover {
        background-color: rgba(255, 255, 255, 0.3);
    }

.auth-text {
    margin-left: 5px;
    font-size: 14px;
    font-weight: 500;
}