﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
}
/* Social share links keep icon styling */
.social-icons-row a.social-icon {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

    .social-icons-row a.social-icon:hover {
        transform: scale(1.15);
        opacity: 0.85;
    }
.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .nav-left a, .nav-right a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        font-weight: 500;
    }

.logo img {
    height: 24px;
}

.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .user-profile-nav i {
        font-size: 20px;
        color: #777;
    }

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.profile-banner-container {
    position: relative;
    margin-bottom: 60px;
}

.profile-banner {
    height: 120px;
    background-color: #e6f7e9;
    border-radius: 12px;
    background: url(/images/slide.png) center / cover no-repeat;
    position: relative;
}

.notif-bell {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
}

.profile-pic-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .profile-pic-wrapper i {
        font-size: 24px;
        color: #888;
    }

    .profile-pic-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.edit-profile-btn {
    position: absolute;
    bottom: -45px;
    right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-info {
    text-align: center;
    margin-top: 10px;
}

    .profile-info h1 {
        font-size: 24px;
        font-weight: 700;
        margin: 10px 0;
    }

.bio-box {
    border: 1px dashed #ccc;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.btn-outline {
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.privacy-note {
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

    .privacy-note a {
        color: #333;
        text-decoration: underline;
    }

.btn-share {
    background: white;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.section-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 20px;
    margin-top: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .section-header h2 {
        font-size: 16px;
        font-weight: 700;
        margin: 0;
    }

.discover-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.discover-item {
    background: white;
    border-radius: 12px;
    padding: 15px;
    min-width: 120px;
    text-align: center;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

    .discover-item .close-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        font-size: 12px;
        color: #aaa;
        cursor: pointer;
    }

    .discover-item img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: 8px;
    }

    .discover-item .name {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.btn-follow {
    background: #1a4a32;
    color: white;
    border: none;
    border-radius: 15px;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.btn-see-all {
    background: #eee;
    border: none;
    border-radius: 15px;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
}

.causes-section {
    text-align: center;
    margin-top: 40px;
}

.cause-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cause-icon-shape {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

    .cause-icon-shape.pink {
        background-color: #fce4ec;
    }

    .cause-icon-shape.green {
        background-color: #e8f5e9;
    }

    .cause-icon-shape.blue {
        background-color: #e1f5fe;
    }

.causes-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.highlights-section {
    margin-top: 50px;
}

.highlights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

    .highlights-header h2 {
        font-size: 20px;
        font-weight: 800;
    }

.highlights-empty {
    border: 1px dashed #ccc;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
}

.highlights-empty-graphic {
    width: 140px;
    height: 100px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 12px;
    margin: 0 auto 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.graphic-top {
    background: #e6f7e9;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphic-line {
    height: 6px;
    background: #eee;
    border-radius: 3px;
    margin-top: 8px;
    width: 80%;
}

.graphic-circle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 3px solid #00b964;
    border-top-color: transparent;
    border-radius: 50%;
}

.highlights-empty p {
    font-size: 14px;
    color: #666;
    max-width: 250px;
    margin: 0 auto 20px;
}

.fundraiser-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

    .fundraiser-item img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        object-fit: cover;
    }

.fundraiser-details {
    flex: 1;
}

    .fundraiser-details .meta {
        font-size: 12px;
        color: #777;
        margin-bottom: 4px;
    }

    .fundraiser-details h3 {
        font-size: 14px;
        font-weight: 700;
        margin: 0 0 8px 0;
    }

.progress-bar-bg {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-bottom: 8px;
}

.progress-bar-fill {
    height: 100%;
    background: #00b964;
    border-radius: 2px;
}

.raised-amount {
    font-size: 13px;
    font-weight: 700;
}

.more-options {
    position: absolute;
    top: 15px;
    right: 0;
    color: #aaa;
    cursor: pointer;
}

.activity-section {
    margin-top: 50px;
}

.activity-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

    .activity-header h2 {
        font-size: 20px;
        font-weight: 800;
        margin: 0;
    }

.activity-card {
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
}

.activity-card-header {
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
}

.activity-user-icon {
    width: 36px;
    height: 36px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.activity-user-info .name {
    font-size: 14px;
    font-weight: 700;
}

.activity-user-info .time {
    font-size: 12px;
    color: #777;
}

.activity-content {
    padding: 0 15px 15px;
}

    .activity-content h3 {
        font-size: 18px;
        font-weight: 800;
        text-align: center;
        margin: 10px 0 20px;
    }

.activity-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

    .activity-image-container img {
        width: 100%;
        display: block;
    }

.activity-fundraiser-info {
    background: white;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    .activity-fundraiser-info .title {
        font-size: 13px;
        font-weight: 700;
        max-width: 150px;
    }

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(#00b964 83%, #eee 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    position: relative;
}

    .progress-circle::after {
       
        position: absolute;
        background: white;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.activity-actions {
    padding: 12px 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 20px;
    color: #555;
}

    .activity-actions i {
        cursor: pointer;
    }

.causes-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.cause-item {
    text-align: center;
}

.cause-item-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 8px;
}

    .cause-item-icon.yellow {
        background-color: #fff9c4;
        color: #fbc02d;
    }

    .cause-item-icon.teal {
        background-color: #e0f2f1;
        color: #009688;
    }

    .cause-item-icon.pink-light {
        background-color: #fce4ec;
        color: #ec407a;
    }

.cause-item span {
    font-size: 12px;
    color: #666;
}

.social-handles {
    text-align: center;
    margin-top: 40px;
}

.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

    .social-icon.instagram {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    }

    .social-icon.tiktok {
        background: #000;
    }

    .social-icon.facebook {
        background: #1877f2;
    }

    .social-icon.x {
        background: #000;
    }

    .social-icon.youtube {
        background: #ff0000;
    }

    .social-icon.linkedin {
        background: #0077b5;
    }

    .social-icon.twitch {
        background: #9146ff;
    }

    .social-icon.other {
        background: #eee;
        color: #888;
    }

.promo-banner {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.promo-content {
    max-width: 60%;
    z-index: 2;
}

    .promo-content h3 {
        font-size: 18px;
        font-weight: 800;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .promo-content a {
        color: #333;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
    }

.promo-graphic {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle at center, #eee 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    position: absolute;
}

    .promo-avatar.main {
        width: 40px;
        height: 40px;
        background: #1a4a32;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 5;
    }

/* Generic reusable modal overlay */
.dhuro-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9990;
    align-items: center;
    justify-content: center;
}

    .dhuro-modal-overlay.active {
        display: flex;
    }

.dhuro-modal {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    position: relative;
}

    .dhuro-modal h5 {
        margin: 0 0 16px;
        font-size: 18px;
        font-weight: 700;
    }

    .dhuro-modal .modal-close {
        position: absolute;
        top: 12px;
        right: 14px;
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
        color: #999;
    }

    .dhuro-modal input[type="text"], .dhuro-modal textarea {
        width: 100%;
        padding: 10px 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
        box-sizing: border-box;
        margin-bottom: 14px;
    }

    .dhuro-modal textarea {
        resize: vertical;
        min-height: 80px;
    }

    .dhuro-modal .modal-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-end;
    }

    .dhuro-modal .btn-modal-primary {
        background: #1a4a32;
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 8px 20px;
        font-weight: 600;
        cursor: pointer;
    }

    .dhuro-modal .btn-modal-secondary {
        background: #f0f0f0;
        color: #333;
        border: none;
        border-radius: 20px;
        padding: 8px 20px;
        font-weight: 600;
        cursor: pointer;
    }

/* share link box */
.share-link-box {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .share-link-box input {
        flex: 1;
    }

    .share-link-box button {
        white-space: nowrap;
    }
/* Inline comments section */
.inline-comments-section {
    border-top: 1px solid #eee;
    padding: 12px 15px 15px;
}

.inline-comment-form {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.inline-comment-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    resize: vertical;
    min-height: 36px;
    max-height: 120px;
    font-family: inherit;
    box-sizing: border-box;
}

    .inline-comment-input:focus {
        outline: none;
        border-color: #00b964;
    }

.inline-comment-post {
    background: #1a4a32;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    align-self: flex-end;
}

    .inline-comment-post:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.inline-comments-list {
    max-height: 300px;
    overflow-y: auto;
}

.inline-comment-item {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

    .inline-comment-item:last-child {
        border-bottom: none;
    }

.inline-comment-avatar {
    flex-shrink: 0;
}

.inline-comment-body {
    flex: 1;
    min-width: 0;
}

.inline-comment-author {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 2px;
}

.inline-comment-date {
    font-weight: 400;
    color: #999;
    font-size: 11px;
    margin-left: 6px;
}

.inline-comment-text {
    font-size: 13px;
    color: #444;
    word-wrap: break-word;
}

