/**
 * User Profile Page Styles
 * Unique gaming/community-focused design
 */

/* ========== Profile Page Container ========== */
.profile-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 300px 1fr 280px;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

/* When no right sidebar */
.profile-page.no-right-sidebar {
    grid-template-columns: 300px 1fr;
}

/* ========== Left Sidebar - Profile Card ========== */
.profile-sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

/* Profile Card Header - Gradient Banner */
.profile-card-banner {
    height: 100px;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 50%, #7DE8D1 100%);
    position: relative;
}

.profile-card-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Avatar - Hexagonal Style */
.profile-card-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.profile-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 4px solid var(--bg-primary, #fff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    background: var(--bg-secondary, #f5f5f5);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.profile-card-avatar:hover {
    transform: rotate(3deg) scale(1.02);
}

/* Profile Card Body */
.profile-card-body {
    padding: 16px 20px 24px;
    text-align: center;
}

.profile-card-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 8px 0 4px;
}

.profile-card-title {
    font-size: 13px;
    color: var(--brand-primary, #25CC94);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.profile-card-bio {
    font-size: 14px;
    color: var(--text-secondary, #666);
    line-height: 1.5;
    margin-bottom: 16px;
}

.profile-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary, #666);
}

.profile-card-meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.profile-card-meta-item i {
    color: var(--text-muted, #999);
    width: 16px;
}

/* Profile Stats Card */
.profile-stats-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.profile-stat-item {
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.profile-stat-item:hover {
    background: var(--bg-tertiary, #f0f0f0);
    transform: translateY(-2px);
}

.profile-stat-item.active {
    border-color: var(--brand-primary, #25CC94);
    background: linear-gradient(135deg, rgba(37, 204, 148, 0.1) 0%, rgba(77, 188, 221, 0.1) 100%);
}

.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    line-height: 1;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-stat-label {
    font-size: 11px;
    color: var(--text-secondary, #666);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    font-weight: 600;
}

/* Social Stats (Followers/Following) - non-clickable */
.profile-social-stats .profile-stat-item {
    cursor: default;
}

.profile-social-stats .profile-stat-item:hover {
    transform: none;
}

/* Profile Actions */
.profile-actions-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.profile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
}

.profile-action-btn.primary {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
}

.profile-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 204, 148, 0.4);
}

/* Pages Sidebar Card */
.profile-pages-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.profile-pages-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-pages-card-title i {
    color: var(--brand-primary, #25CC94);
}

.profile-pages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-page-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-primary, #1a1a1a);
    transition: all 0.2s ease;
    background: var(--bg-secondary, #f8f9fa);
}

.profile-page-item:hover {
    background: var(--bg-tertiary, #f0f0f0);
    transform: translateX(4px);
}

.profile-page-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.profile-page-item span {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== Main Content Area ========== */
.profile-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tab Navigation - Pill Style */
.profile-nav {
    display: flex;
    gap: 8px;
    padding: 8px;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    overflow-x: auto;
    scrollbar-width: none;
}

.profile-nav::-webkit-scrollbar {
    display: none;
}

.profile-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-secondary, #666);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.profile-tab i {
    font-size: 15px;
}

.profile-tab:hover {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-primary, #1a1a1a);
}

.profile-tab.active {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
}

/* Feed Container */
.profile-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px;
    color: var(--text-secondary, #666);
    font-size: 15px;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feed-loading i {
    font-size: 24px;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* No Content Message */
.no-content-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.no-content-message i {
    font-size: 56px;
    background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.no-content-message p {
    color: var(--text-secondary, #666);
    font-size: 16px;
    margin: 0;
}

.no-content-message.error i {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Load More */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.load-more-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--bg-primary, #fff);
    color: var(--text-primary, #1a1a1a);
    border: 2px solid var(--border-light, #eee);
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.load-more-container .btn:hover {
    border-color: var(--brand-primary, #25CC94);
    color: var(--brand-primary, #25CC94);
}

/* ========== Content Cards Override ========== */
.profile-feed .content-feed-item {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    margin: 0;
}

/* ========== Comments List ========== */
.profile-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    padding: 20px;
    transition: transform 0.2s ease;
}

.comment-card:hover {
    transform: translateY(-2px);
}

.comment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary, #666);
}

.comment-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.comment-context a {
    color: var(--brand-primary, #25CC94);
    text-decoration: none;
    font-weight: 500;
}

.comment-context a:hover {
    text-decoration: underline;
}

.comment-card-content p {
    margin: 0;
    color: var(--text-primary, #1a1a1a);
    font-size: 15px;
    line-height: 1.6;
}

/* ========== Pages Grid ========== */
.profile-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.page-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-card-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-secondary, #f5f5f5);
    flex-shrink: 0;
}

.page-card-info {
    flex: 1;
    min-width: 0;
}

.page-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 4px 0;
}

.page-card-type {
    font-size: 12px;
    color: var(--brand-primary, #25CC94);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== Events Grid ========== */
.profile-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.event-card {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.event-card-image {
    height: 120px;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 50%, #7DE8D1 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.event-card-content {
    padding: 20px;
}

.event-card-date {
    font-size: 12px;
    color: var(--brand-primary, #25CC94);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.event-card-location {
    font-size: 13px;
    color: var(--text-secondary, #666);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========== Gallery Grid ========== */
.profile-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 204, 148, 0.6) 0%, rgba(77, 188, 221, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    color: #fff;
    font-size: 28px;
}

/* ========== About Section ========== */
.profile-about {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
    padding: 28px;
}

.about-section {
    margin-bottom: 28px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-section-title i {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-section-content {
    color: var(--text-secondary, #666);
    font-size: 15px;
    line-height: 1.7;
}

.about-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light, #eee);
}

.about-info-item:last-child {
    border-bottom: none;
}

.about-info-item i {
    width: 20px;
    text-align: center;
    color: var(--text-muted, #999);
}

.about-info-label {
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    min-width: 120px;
}

.about-info-value {
    color: var(--text-secondary, #666);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .profile-page {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .profile-sidebar-left {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    .profile-card {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .profile-page {
        padding: 12px;
        gap: 16px;
    }

    .profile-sidebar-left {
        grid-template-columns: 1fr;
    }

    .profile-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .profile-stat-item {
        padding: 12px 8px;
    }

    .profile-stat-value {
        font-size: 18px;
    }

    .profile-stat-label {
        font-size: 10px;
    }

    .profile-nav {
        padding: 6px;
        gap: 4px;
    }

    .profile-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .profile-tab span {
        display: none;
    }

    .profile-pages-grid,
    .profile-events-grid {
        grid-template-columns: 1fr;
    }

    .profile-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .gallery-item {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== RIGHT SIDEBAR ========== */
.profile-sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Sidebar Settings Toggle */
.sidebar-settings-toggle {
    position: absolute;
    top: -8px;
    right: 0;
    z-index: 10;
}

/* ========== Sidebar Widget Base ========== */
.sidebar-widget {
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.widget-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header h3 i {
    color: var(--brand-primary, #25CC94);
}

.widget-header .badge-count {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.widget-header .view-all-link {
    font-size: 12px;
    color: var(--brand-primary, #25CC94);
    text-decoration: none;
    font-weight: 600;
}

.widget-header .view-all-link:hover {
    text-decoration: underline;
}

.widget-content {
    padding: 16px 20px;
}

.widget-empty {
    color: var(--text-secondary, #666);
    font-size: 13px;
    text-align: center;
    margin: 0;
    padding: 12px 0;
}

.widget-add-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: var(--brand-primary, #25CC94);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    background: var(--bg-secondary, #f8f9fa);
    transition: all 0.2s ease;
}

.widget-add-link:hover {
    background: var(--bg-tertiary, #f0f0f0);
}

/* ========== Quick Actions Widget ========== */
.quick-actions-widget .widget-content {
    display: flex;
    gap: 10px;
    padding: 16px;
}

.quick-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-action-btn.primary {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
}

.quick-action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 204, 148, 0.4);
}

.quick-action-btn.secondary {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-primary, #1a1a1a);
    border: 2px solid var(--border-light, #eee);
}

.quick-action-btn.secondary:hover {
    border-color: var(--brand-primary, #25CC94);
    color: var(--brand-primary, #25CC94);
}

.quick-action-btn.secondary.following {
    background: linear-gradient(135deg, rgba(37, 204, 148, 0.1) 0%, rgba(77, 188, 221, 0.1) 100%);
    border-color: var(--brand-primary, #25CC94);
    color: var(--brand-primary, #25CC94);
}

/* Block Button */
.quick-action-btn.block-btn {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-muted, #888);
    border: 2px solid var(--border-light, #eee);
}

.quick-action-btn.block-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.quick-action-btn.block-btn.blocked {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.quick-action-btn.block-btn.blocked:hover {
    background: rgba(239, 68, 68, 0.15);
}

/* ========== Badges Widget ========== */
.badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 12px;
    background: var(--bg-secondary, #f8f9fa);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.badge-item:hover {
    transform: translateY(-2px);
    background: var(--bg-tertiary, #f0f0f0);
}

.badge-item.featured {
    background: linear-gradient(135deg, rgba(37, 204, 148, 0.15) 0%, rgba(77, 188, 221, 0.15) 100%);
    border: 2px solid var(--badge-color, #25CC94);
}

.badge-item i {
    font-size: 20px;
    color: var(--badge-color, #25CC94);
}

.badge-item .badge-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary, #666);
    line-height: 1.2;
}

.badge-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light, #eee);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #666);
}

.badge-points i {
    color: #FFD700;
}

/* ========== Social Links Widget ========== */
.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-primary, #1a1a1a);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-link-item:hover {
    background: var(--platform-color, #25CC94);
    color: #fff;
    transform: translateY(-2px);
}

.social-link-item i {
    font-size: 14px;
}

.social-link-item .verified-badge {
    font-size: 10px;
    color: #1DA1F2;
}

/* ========== Activity Timeline Widget ========== */
.activity-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 204, 148, 0.15) 0%, rgba(77, 188, 221, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-icon i {
    font-size: 12px;
    color: var(--brand-primary, #25CC94);
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-text {
    display: block;
    font-size: 13px;
    color: var(--text-primary, #1a1a1a);
    line-height: 1.4;
    word-break: break-word;
}

.activity-time {
    font-size: 11px;
    color: var(--text-secondary, #666);
}

/* ========== Upcoming Events Widget ========== */
.upcoming-events-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upcoming-event-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--bg-secondary, #f8f9fa);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.upcoming-event-item:hover {
    background: var(--bg-tertiary, #f0f0f0);
    transform: translateX(4px);
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
    flex-shrink: 0;
}

.event-date-badge .event-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.event-date-badge .event-day {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.sidebar-widget .event-info {
    flex: 1;
    min-width: 0;
}

.sidebar-widget .event-info .event-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-widget .event-info .event-time {
    font-size: 11px;
    color: var(--text-secondary, #666);
}

.rsvp-status {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.rsvp-status.going {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
}

.rsvp-status.interested {
    background: rgba(253, 126, 20, 0.15);
    color: #fd7e14;
}

/* ========== Favorites Widget ========== */
.favorites-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.favorite-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    background: var(--bg-secondary, #f8f9fa);
}

.favorite-item:hover {
    background: var(--bg-tertiary, #f0f0f0);
    transform: translateX(4px);
}

.favorite-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.favorite-info {
    flex: 1;
    min-width: 0;
}

.favorite-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-type {
    font-size: 11px;
    color: var(--brand-primary, #25CC94);
    text-transform: uppercase;
    font-weight: 600;
}

/* ========== Photos Widget ========== */
.sidebar-widget .photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.sidebar-widget .photo-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.sidebar-widget .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sidebar-widget .photo-item:hover img {
    transform: scale(1.1);
}

/* ========== Quick Actions Buttons ========== */
.quick-actions-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.follow-btn {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
}

.follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 204, 148, 0.4);
}

.follow-btn.following {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--brand-primary, #25CC94);
    border: 2px solid var(--brand-primary, #25CC94);
}

/* Friend button states */
.friend-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}

.friend-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.friend-btn.friends {
    background: var(--bg-secondary, #f8f9fa);
    color: #667eea;
    border: 2px solid #667eea;
}

.friend-btn.pending {
    background: var(--bg-secondary, #f8f9fa);
    color: #f0ad4e;
    border: 2px solid #f0ad4e;
}

.friend-btn.pending-received {
    background: linear-gradient(135deg, #25CC94 0%, #20b584 100%);
    color: #fff;
    border: none;
}

.friend-btn.pending-received:hover {
    box-shadow: 0 4px 15px rgba(37, 204, 148, 0.4);
}

.message-btn {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-primary, #1a1a1a);
    border: 2px solid var(--border-light, #eee);
}

.message-btn:hover {
    border-color: var(--brand-primary, #25CC94);
    color: var(--brand-primary, #25CC94);
}

/* ========== Badge Icon ========== */
.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon i {
    font-size: 18px;
    color: #fff;
}

.featured-indicator {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-indicator i {
    font-size: 8px;
    color: #fff;
}

.badge-item {
    position: relative;
}

/* ========== Widget Footer ========== */
.widget-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid var(--border-light, rgba(0,0,0,0.06));
}

.widget-footer .view-all-link {
    font-size: 12px;
    color: var(--brand-primary, #25CC94);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
}

.widget-footer .view-all-link:hover {
    text-decoration: underline;
}

/* ========== Widget Empty State ========== */
.widget-empty {
    text-align: center;
    padding: 24px 16px;
}

.widget-empty i {
    font-size: 32px;
    color: var(--text-muted, #aaa);
    margin-bottom: 8px;
    display: block;
}

.widget-empty p {
    margin: 0 0 4px 0;
    color: var(--text-secondary, #666);
    font-size: 14px;
}

.widget-empty small {
    color: var(--text-muted, #999);
    font-size: 12px;
}

.widget-empty .btn-sm {
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 12px;
}

/* ========== Widget Edit Button ========== */
.widget-edit-btn {
    width: 28px;
    height: 28px;
    border: none;
    background: var(--bg-secondary, #f8f9fa);
    color: var(--text-secondary, #666);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.widget-edit-btn:hover {
    background: var(--bg-tertiary, #f0f0f0);
    color: var(--brand-primary, #25CC94);
}

/* ========== Social Links List ========== */
.social-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 20px;
}

.social-username {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== Activity Timeline ========== */
.activity-widget .activity-timeline {
    padding: 16px 20px;
}

.activity-content a {
    color: var(--text-primary, #1a1a1a);
    text-decoration: none;
    font-size: 13px;
    display: block;
    line-height: 1.4;
}

.activity-content a:hover {
    color: var(--brand-primary, #25CC94);
}

.activity-content span {
    display: block;
    font-size: 13px;
    color: var(--text-primary, #1a1a1a);
}

.activity-content .activity-time {
    display: block;
    font-size: 11px;
    color: var(--text-muted, #999);
    margin-top: 2px;
}

/* ========== Upcoming Events List ========== */
.events-widget .upcoming-events-list {
    padding: 16px 20px;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
    flex-shrink: 0;
}

.event-date .event-month {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.event-date .event-day {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.upcoming-event-item .event-info {
    flex: 1;
    min-width: 0;
}

.upcoming-event-item .event-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upcoming-event-item .event-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary, #666);
}

.upcoming-event-item .event-status.going {
    color: #28a745;
}

.upcoming-event-item .event-status.interested {
    color: #fd7e14;
}

/* ========== Favorites List ========== */
.favorites-widget .favorites-list {
    padding: 16px 20px;
}

.favorite-item img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

/* ========== Photos Grid ========== */
.photos-widget .photos-grid {
    padding: 16px 20px;
}

/* ========== Sidebar Settings Button ========== */
.sidebar-settings {
    margin-top: 8px;
}

.sidebar-settings-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    background: var(--bg-primary, #fff);
    color: var(--text-secondary, #666);
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-settings-btn:hover {
    background: var(--bg-secondary, #f8f9fa);
    color: var(--brand-primary, #25CC94);
}

/* ========== Sidebar Settings Modal ========== */
.sidebar-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-settings-modal.show {
    opacity: 1;
    visibility: visible;
}

.sidebar-settings-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.sidebar-settings-modal .modal-content {
    position: relative;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.sidebar-settings-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light, #eee);
}

.sidebar-settings-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-settings-modal .modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-secondary, #666);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.sidebar-settings-modal .modal-close:hover {
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-primary, #333);
}

.sidebar-settings-modal .modal-body {
    padding: 24px;
    overflow-y: auto;
}

.sidebar-settings-modal .modal-description {
    color: var(--text-secondary, #666);
    font-size: 14px;
    margin: 0 0 20px 0;
}

.widget-toggles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-toggle-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 10px;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
}

.toggle-label i {
    width: 20px;
    color: var(--brand-primary, #25CC94);
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.sidebar-settings-modal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light, #eee);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sidebar-settings-modal .modal-body hr {
    border: none;
    border-top: 1px solid var(--border-light, #eee);
    margin: 16px 0;
}

.sidebar-settings-modal .modal-body h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin: 0 0 12px 0;
}

/* Master toggle for sidebar visibility */
.sidebar-master-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sidebar-master-toggle:hover {
    background: var(--bg-tertiary, #f0f0f0);
}

.sidebar-master-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--brand-primary, #25CC94);
    cursor: pointer;
}

/* Widget toggle checkboxes */
.widget-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary, #f8f9fa);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.widget-toggle:hover {
    background: var(--bg-tertiary, #f0f0f0);
}

.widget-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary, #25CC94);
    cursor: pointer;
}

.widget-toggle .toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary, #1a1a1a);
}

/* Badge Tooltip */
.badge-tooltip {
    position: fixed;
    background: var(--bg-secondary, #2d2d2d);
    color: var(--text-inverse, #fff);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    max-width: 200px;
    z-index: 1001;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========== Responsive - Right Sidebar ========== */
@media (max-width: 1200px) {
    .profile-page {
        grid-template-columns: 280px 1fr 260px;
    }
}

@media (max-width: 1024px) {
    .profile-page {
        grid-template-columns: 1fr;
    }

    .profile-sidebar-right {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
        order: 3;
    }

    .profile-sidebar-left {
        order: 1;
    }

    .profile-main {
        order: 2;
    }

    .quick-actions-widget {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .profile-sidebar-right {
        display: none;
    }
}

/* ========== Edit Profile Modal ========== */
.edit-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.edit-profile-modal.show {
    opacity: 1;
    visibility: visible;
}

.edit-profile-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.edit-profile-modal .modal-content {
    position: relative;
    background: var(--bg-primary, #fff);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    margin: 20px;
}

.edit-profile-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light, #eee);
}

.edit-profile-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    display: flex;
    align-items: center;
    gap: 10px;
}

.edit-profile-modal .modal-header h3 i {
    color: var(--brand-primary, #25CC94);
}

.edit-profile-modal .modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-secondary, #666);
    cursor: pointer;
    border-radius: 8px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.edit-profile-modal .modal-close:hover {
    background: var(--bg-tertiary, #eee);
    color: var(--text-primary, #333);
}

.edit-profile-modal .modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.edit-profile-modal .form-group {
    margin-bottom: 20px;
}

.edit-profile-modal .form-group:last-child {
    margin-bottom: 0;
}

.edit-profile-modal .form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 8px;
}

.edit-profile-modal .form-group input,
.edit-profile-modal .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-light, #e0e0e0);
    border-radius: 10px;
    font-size: 14px;
    color: var(--text-primary, #1a1a1a);
    background: var(--bg-primary, #fff);
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.edit-profile-modal .form-group input:focus,
.edit-profile-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-primary, #25CC94);
}

.edit-profile-modal .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.edit-profile-modal .form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-muted, #999);
    margin-top: 6px;
}

/* Profile Image Upload */
.profile-image-upload .image-upload-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.profile-image-upload .profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-secondary, #f0f0f0);
}

.profile-image-upload .image-upload-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.profile-image-upload .image-upload-container:hover .image-upload-overlay {
    opacity: 1;
}

.profile-image-upload .upload-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
}

.profile-image-upload .upload-btn i {
    font-size: 24px;
}

.profile-image-upload .form-hint {
    text-align: center;
    margin-top: 12px;
}

.edit-profile-modal .modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-light, #eee);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.edit-profile-modal .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.edit-profile-modal .btn-secondary {
    background: var(--bg-secondary, #f5f5f5);
    color: var(--text-primary, #333);
}

.edit-profile-modal .btn-secondary:hover {
    background: var(--bg-tertiary, #eee);
}

.edit-profile-modal .btn-primary {
    background: linear-gradient(135deg, #25CC94 0%, #4DBCDD 100%);
    color: #fff;
}

.edit-profile-modal .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 204, 148, 0.3);
}

.edit-profile-modal .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* =========================================
   Profile Content Composer
   ========================================= */

.profile-content-composer {
    background: var(--bg-secondary, #fff);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.profile-content-composer.expanded {
    box-shadow: var(--shadow-md, 0 4px 16px rgba(0,0,0,0.15));
}

.composer-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.composer-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--brand-primary);
    flex-shrink: 0;
}

.composer-prompt {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-tertiary, #f5f5f5);
    border-radius: 24px;
    color: var(--text-secondary, #666);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 15px;
}

.composer-prompt:hover {
    background: var(--bg-quaternary, #eaeaea);
    color: var(--text-primary, #333);
}

.composer-expanded {
    margin-top: 16px;
}

.composer-editor-wrapper {
    margin-bottom: 12px;
}

.composer-editor-wrapper textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px;
    border: 1px solid var(--border-light, #e0e0e0);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    background: var(--bg-tertiary, #f9f9f9);
    color: var(--text-primary, #333);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.composer-editor-wrapper textarea:focus {
    outline: none;
    border-color: var(--brand-primary, #25CC94);
    box-shadow: 0 0 0 3px rgba(37, 204, 148, 0.15);
    background: var(--bg-secondary, #fff);
}

.composer-editor-wrapper textarea::placeholder {
    color: var(--text-tertiary, #999);
}

.composer-media-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light, #eee);
}

.composer-options {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.composer-option {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary, #666);
    font-size: 14px;
    cursor: pointer;
}

.composer-option i {
    color: var(--text-tertiary, #999);
}

.composer-option select {
    padding: 6px 10px;
    border: 1px solid var(--border-light, #ddd);
    border-radius: 6px;
    font-size: 13px;
    background: var(--bg-secondary, #fff);
    color: var(--text-primary, #333);
    cursor: pointer;
}

.composer-option select:focus {
    outline: none;
    border-color: var(--brand-primary, #25CC94);
}

.composer-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.composer-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary, #25CC94);
    cursor: pointer;
}

.composer-buttons {
    display: flex;
    gap: 10px;
}

.composer-buttons .btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.composer-buttons .btn-secondary {
    background: var(--bg-tertiary, #e8e8e8);
    color: var(--text-primary, #333);
}

.composer-buttons .btn-secondary:hover {
    background: var(--bg-quaternary, #ddd);
}

.composer-buttons .btn-primary {
    background: linear-gradient(135deg, var(--brand-primary, #25CC94), var(--brand-accent, #4DBCDD));
    color: #fff;
}

.composer-buttons .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 204, 148, 0.3);
}

.composer-buttons .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 600px) {
    .composer-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .composer-options {
        justify-content: space-between;
        width: 100%;
    }

    .composer-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .composer-buttons .btn-primary {
        flex: 1;
    }
}
