/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #f1f5f9;
    /* Light Slate 100 */
    --sidebar-bg: #ffffff;
    /* White */
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #64748b;
    /* Slate 500 */
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --border-color: #e2e8f0;
    /* Slate 200 */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --header-height: 80px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.top-header {
    height: var(--header-height);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 50;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.header-left {
    display: flex;
    align-items: center;
    width: 250px;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    /* Dark Slate 900 */
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.2s, opacity 0.2s;
}

.logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Dual Search Bar */
.search-bar-dual {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 6px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.search-bar-dual:focus-within {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.search-section {
    flex: 1;
    position: relative;
    padding: 0 0.5rem;
}

.search-section.location {
    flex: 0.9;
    padding-right: 0.25rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: #1e293b;
    font-weight: 400;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: #94a3b8;
}

.search-divider {
    width: 1px;
    height: 32px;
    background-color: #f1f5f9;
    margin: 0 0.25rem;
}

.clear-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #cbd5e1;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.1s;
}

.clear-btn:hover {
    color: #94a3b8;
}

.search-submit-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, #334155, #1e293b);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    flex-shrink: 0;
}

.search-submit-btn:hover {
    background: #0f172a;
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    /* Allow flexible width */
    min-width: 250px;
}

/* Nav Pill (Matches Search Bar) */
.nav-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 4px 4px 4px 12px;
    /* Less padding on right for button */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    gap: 0.25rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.nav-pill:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.nav-item-plain {
    background: none;
    border: none;
    padding: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    transition: color 0.2s;
}

.nav-item-plain:hover {
    color: var(--accent-color);
}

.nav-item-plain.icon-only {
    padding: 0.5rem;
    color: var(--text-primary);
}

.nav-divider-small {
    width: 1px;
    height: 16px;
    background-color: #e2e8f0;
    margin: 0 0.25rem;
}

.nav-btn-highlight {
    background-color: #1e293b;
    /* Dark Slate */
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.nav-btn-highlight:hover {
    background-color: #0f172a;
    transform: translateY(-1px);
}


/* Layout Main Content */
.app-container {
    display: flex;
    height: calc(100vh - var(--header-height));
    width: 100%;
    max-width: 100vw;
    background: #ffffff;
    overflow-x: hidden;
}

/* 1. Filters Sidebar (Left) */
.filters-sidebar {
    width: 280px;
    border-right: 1px solid #ebebeb;
    overflow-y: auto;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-content {
    padding: 1.5rem;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #2d2e2f;
    margin-bottom: 1rem;
}





.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.see-all {
    font-size: 0.8rem;
    color: #0073bb;
    text-decoration: none;
    font-weight: 600;
}

.pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill-btn {
    padding: 6px 12px;
    border: 1px solid #dcdcdc;
    background: white;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2d2e2f;
    cursor: pointer;
    transition: all 0.15s;
}

.pill-btn:hover {
    border-color: #2d2e2f;
    background: #f7f7f7;
}

/* Category Dropdown */
.sort-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-family: inherit;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s;
}

.sort-btn:hover {
    background: #f1f5f9;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    min-width: 180px;
    margin-top: 0.5rem;
    padding: 0.5rem;
    overflow: hidden;
}

.dropdown-menu.active {
    display: block;
    animation: fadeInScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.menu-item {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    font-family: inherit;
}

.menu-item:hover {
    background: #f8fafc;
    color: #0f172a;
    padding-left: 1.25rem;
}

.menu-item.active {
    background: #f1f5f9;
    color: #0f172a;
    font-weight: 700;
}

/* 2. Results Feed (Center) */
.results-feed {
    width: 650px;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    background: #ffffff;
    flex-shrink: 0;
}



/* Feed List V2 - Horizontal Cards */
.feed-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card-v2 {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ebebeb;
    transition: opacity 0.2s;
}

.result-card-v2:first-child {
    padding-top: 0;
}

.result-card-v2:hover {
    opacity: 0.95;
}

.result-image-container {
    width: 220px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f7f7f7;
}

.result-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d2e2f;
    margin-bottom: 0.25rem;
}

.result-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    width: 18px;
    height: 18px;
    background: #d32323;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-count {
    color: #6e7072;
    font-size: 0.9rem;
}

.result-neighborhood {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #2d2e2f;
}

.results-status {
    color: #d32323;
    font-weight: 700;
}

.status-time {
    color: #6e7072;
    font-weight: 400;
}

.result-tags {
    display: flex;
    gap: 0.5rem;
    margin: 0.25rem 0;
}

.tag-badge {
    padding: 4px 12px;
    background: #f7f7f7;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d2e2f;
}

.result-description {
    font-size: 0.9rem;
    color: #2d2e2f;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.more-link {
    color: #0073bb;
    text-decoration: none;
    font-weight: 600;
}



/* 3. Map Section (Right) */
.map-container {
    flex: 1;
    position: relative;
    border-left: 1px solid #ebebeb;
    overflow-x: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.redo-search-btn {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: white;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}

.redo-search-btn:hover {
    background-color: #f8fafc;
    color: #0f172a;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Custom styling for the Voyager map tiles to achieve a bright, vibrant blue water color */
.modern-map-tiles {
    filter: hue-rotate(-15deg) saturate(2.5) brightness(0.95) contrast(1.1);
}

/* Follow/Unfollow Buttons */
.follow-btn {
    background: #0084ff;
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 132, 255, 0.2);
}

.follow-btn:hover {
    background: #0073e6;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 132, 255, 0.3);
}

.unfollow-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.unfollow-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.store-badge {
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Map Markers */
.map-marker-container {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-outer {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    border: 2px solid #ffffff;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.marker-outer.standard:hover {
    transform: scale(1.15);
}

.marker-outer.featured {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 183, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.marker-inner {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-inner.standard {
    background: #1e293b;
    /* Dark Slate 800 */
}

.marker-inner.featured {
    background: #f59e0b;
    /* Amber 500 */
}

/* Leaflet Overrides for better Map Text Readability */
.leaflet-container {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
}

.leaflet-popup-content-wrapper {
    background: #ffffff;
    color: #0f172a;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 0.25rem;
}

.leaflet-popup-content {
    font-size: 1.05rem;
    line-height: 1.5;
    margin: 0.75rem 1rem;
    color: #475569;
}

.leaflet-popup-content b {
    font-size: 1.2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.35rem;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.leaflet-popup-tip {
    background: #ffffff;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal {
    background: var(--sidebar-bg);
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

/* Details Drawer (Square Box within map) */
.details-drawer {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 480px;
    height: 520px;
    max-height: calc(100% - 3rem);
    background: #ffffff;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(calc(100% + 2rem));
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.details-drawer.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

/* Internal scrollable area for drawer */
.details-content-scroll {
    overflow-y: auto;
    flex: 1;
}

.details-hero {
    height: 180px;
    position: relative;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 1.5rem;
    color: white;
}

.drawer-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: transform 0.2s;
}

.drawer-close-btn:hover {
    transform: scale(1.1);
}

.category-pill {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 5px 12px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0f172a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.details-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.details-meta-row {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    align-items: center;
}

.details-content {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    /* Single column flow for right sidebar */
    gap: 2rem;
}

.about-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text {
    line-height: 1.7;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Info Cards Horizontal Scroll or Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.info-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: block;
    text-transform: uppercase;
}

.info-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* Share Button */
.action-btn {
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
    font-family: inherit;
}

.action-btn:hover {
    background: #1e293b;
}

/* Upcoming Events Styled */
.event-item-large {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.2s;
    cursor: pointer;
}

.event-item-large:hover {
    border-color: var(--accent-color);
}

.date-badge {
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.date-month {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.date-day {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
}

.event-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.event-attendees {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* =========================================
   User Profile Page Styles
   ========================================= */

.profile-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    overflow-y: auto;
    /* Allow scrolling */
    height: calc(100vh - 64px);
    /* Subtract header */
}

/* Profile Header Card */
.profile-header-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    margin-bottom: 2rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.profile-cover {
    height: 200px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    position: relative;
}

.profile-info-section {
    padding: 0 2rem 2rem 2rem;
    display: flex;
    gap: 2rem;
    position: relative;
}

.profile-avatar-container {
    margin-top: -60px;
    /* Overlap cover */
    position: relative;
    flex-shrink: 0;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
    object-fit: cover;
}

.profile-details {
    padding-top: 1rem;
    flex: 1;
}

.profile-name-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.profile-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.profile-badge {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.profile-bio {
    color: #334155;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
}

.profile-stats {
    display: flex;
    gap: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.profile-actions {
    padding-top: 1rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.btn-primary-outline {
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    background: transparent;
    border-radius: 8px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    background: transparent;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: #0f172a;
    background: #f8fafc;
}

/* Tabs */
.profile-tabs {
    display: flex;
    padding: 0 2rem;
    border-top: 1px solid #e2e8f0;
}

.tab-item {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.tab-item:hover {
    color: #0f172a;
}

.tab-item.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* Layout Grid */
.profile-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-widget h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.75rem;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #475569;
    font-size: 0.95rem;
}

.info-list li .icon {
    font-size: 1.1rem;
}

.info-list a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.photo-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.photo-grid-mini img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.photo-grid-mini img:hover {
    opacity: 0.9;
}