/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.user-distance {
    margin-left: 50px;
    /* adjust spacing as needed */
    /* optional: change text color */
}

.wpee-new-highlight {
    background-color: #fa97be;
    transition: background-color 1.5s ease-out;
}

.notification-item strong {
    display: block;
    margin-bottom: 5px;
}

.pagination a,
.pagination strong {
    margin: 0 5px;
    text-decoration: none;
    color: #0073aa;
}

.pagination strong {
    font-weight: bold;
}

.stats-container {
    padding: 0 20px;
    /* left and right padding */
}

.stats-title {
    text-align: center;
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 100px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.2s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 30px;
    color: #ff6b6b;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    color: #555;
}


.member-photos-section {
    padding: 15px 20px;
    /* added padding */
}

#photo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#photo-lightbox .lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

#photo-lightbox .close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: #fff;
    cursor: pointer;
}



.photo-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
}

.photo-slider {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease-in-out;
}

.photo-slide {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
}

.photo-img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background-size: cover;
    /* ensures full coverage */
    background-position: center;
    /* center the image */
    background-repeat: no-repeat;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    border-radius: 4px;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}


.see-more-slide {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    border-radius: 12px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.see-more-slide a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    text-align: center;
}


/* Unique image grid */
.unique-image-grid-wpee {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 10px;
}

.unique-image-grid-wpee .grid-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.unique-image-grid-wpee .grid-item:hover {
    transform: translateY(-5px);
}

.unique-image-grid-wpee .wpca-view-picture img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.unique-image-grid-wpee .user-info {
    padding: 8px 5px;
}

.unique-image-grid-wpee .user-info img.user-profile-pic {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 5px;
}

.unique-image-grid-wpee .user-info .username {
    font-size: 14px;
    font-weight: 500;
    vertical-align: middle;
}

/* Optional pagination */
.unique-image-grid-wpee .pagination {
    margin-top: 20px;
    text-align: center;
}

.unique-image-grid-wpee .pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 3px;
    background: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
}

.unique-image-grid-wpee .pagination a.active {
    background: #0073aa;
    color: #fff;
}

.photo-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    /* Space between tags and photo grid */
}

.photo-tags .tag {
    padding: 8px 16px;
    border-radius: 50px;
    /* Fully rounded */
    background-color: #f0f0f0;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-tags .tag.active {
    background-color: #0073e6;
    /* Highlight color */
    color: #fff;
}

.photo-tags .tag:hover {
    background-color: #0073e6;
    color: #fff;
}


.photo-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}


.upload-btn {
    padding: 10px 18px;
    background: #008cff;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}



/* Container for video grid */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    /* responsive columns */
    gap: 20px;
    /* spacing between videos */
    padding: 10px;
}

/* Individual video items */
.video-item {
    background: #f9f9f9;
    /* light background */
    border-radius: 12px;
    /* rounded corners */
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.video-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Video itself */
.video-item video {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
    /* separator from user info */
}

/* User info section */
.user-info {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    gap: 8px;
    text-decoration: none;
}

/* User profile pic */
.user-profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ccc;
}

/* Username */
.username {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Pagination styling */
.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination a {
    padding: 6px 12px;
    margin: 0 4px;
    text-decoration: none;
    background: #eee;
    border-radius: 6px;
    color: #333;
}

.pagination a.active {
    background: #0073aa;
    color: #fff;
}

.dsp-user-details-wrapper {
    background: #2b2b2b;
    padding: 20px;
    border-radius: 14px;
    color: #fff;
    margin: 30px auto;
    /* center horizontally */
    max-width: 100%;
    /* set max width */
    width: 100%;
    /* full width until max-width */
    box-sizing: border-box;
}

.dsp-user-details-wrapper p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.4;
}

.dsp-user-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.dsp-user-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.dsp-user-field {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.dsp-user-label {
    font-weight: lighter;
    font-size: 16px;
     color: #a4a4a4;
    margin-bottom: 4px;
    opacity: 0.8;
}

.dsp-user-value {
    font-weight: normal;
    font-size: 15px;
}


.custom-user-details-wrapper {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.custom-sub-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.custom-block-content {
    text-align: center;
}

.custom-empty-info {
    color: #FF0000;
    font-weight: 600;
}

.custom-user-detail-list {
    padding-left: 0 !important;
    padding-top: 10px;
    /* padding: 0; */
    list-style: none;
}

.custom-user-detail-item {
    margin-bottom: 15px;
}

.custom-detail-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.custom-detail-value {
    color: #ffffff;
}

.custom-pill {
    display: inline-block;
    background-color: transparent;
    /* transparent background */
    color: #ffffff;
    /* white text */
    border: 1px solid #ccc;
    /* gray border */
    padding: 5px 10px;
    margin: 3px 3px 3px 0;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.2;
}

.custom-divider {
    border: none;
    /* remove default border */
    height: 1px;
    /* thickness of the line */
    background-color: #ccc;
    /* gray color */
    margin: 15px 0;
    /* spacing top and bottom */
}

.meetme-card {
    display: flex;
    background: #424242;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    gap: 20px;
    align-items: flex-start;
}

/* LEFT IMAGE WRAPPER */
.meetme-left {
    width: 600px;
    position: relative;
}

.meetme-image-wrapper {
    position: relative;
}

.meetme-image-wrapper img {
    width: 600px;
    height: 700px;
    border-radius: 16px;
    object-fit: cover;
}

.meetme-btns-bottom {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.btn-like,
.btn-cross {
    border: none;
    padding: 16px 18px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    transition: 0.2s ease;
}

.btn-like {
    background: #28c76f;
}

.btn-cross {
    background: #ea5455;
}

.btn-like:hover {
    background: #20b15f;
}

.btn-cross:hover {
    background: #d84141;
}

/* RIGHT DETAILS */
.meetme-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meetme-username {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #f0f0f0;
}

.meetme-location {
    font-size: 14px;
    font-weight: 500;
    color: #f0f0f0;
}

.meetme-details {
    display: flex;
    flex-direction: column;
    gap: 12px; /* space between rows */
}

.detail-row {
    display: flex;
    justify-content: space-between; /* title left, value right */
    align-items: center;
    padding: 8px 5px;
}

.detail-title {
    font-weight: 500;
    font-size: 14px;
    color: #ffffff;
}

.detail-value {
    font-weight: 500;
     font-size: 14px;
    color: #ffffff;
}

.meetme-description {
    background: #f8f8f8;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    color: #444;
}

@media (max-width: 768px) {
    .meetme-card {
        flex-direction: column;
    }

    .meetme-left,
    .meetme-image-wrapper img {
        width: 100%;
        height: auto;
    }
}

.user-photos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns per row */
    gap: 10px;
    margin-top: 10px;
}

/* Each photo item */
.user-photo-item {
    display: block;
    width: 100%;
    padding-top: 100%; /* square ratio */
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.user-photo-item:hover {
    transform: scale(1.05);
}

/* Background image inside photo item */
.user-photo-item .photo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

/* Empty state */
.user-photos-empty {
    text-align: center;
    color: #FF0000;
    margin-top: 10px;
    font-size: 14px;
}

/* Responsive: single column on small screens */
@media (max-width: 768px) {
    .user-photos-grid {
        grid-template-columns: 1fr;
    }
}


/* Grid container */
.live-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    padding: 10px 0;
}

/* Card styling */
.live-card {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    background: #000;
    position: relative;
}

/* Image container */
.live-card-img {
    position: relative;
    width: 100%;
    height: 260px;
}

.live-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay bottom area */
.live-card-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Username */
.live-card-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* Join button */
.live-card-overlay .joinLiveBtn {
    background: #ff1e38;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.25s;
}

.live-card-overlay .joinLiveBtn:hover {
    background: #d91229;
}

.live-start-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff1e38;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.2s;
}

.live-start-btn:hover {
    background-color: #d91229;
}


.stat-viewed-me-custom-modal {
    display:none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 20px;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.stat-viewed-me-custom-modal-content {
    background: #fff;
    border-radius: 14px;
    max-width: 900px;
    margin: 5% auto;
    padding: 0;
    overflow: hidden;
}
.stat-viewed-me-custom-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.stat-viewed-me-custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}


.stat-viewed-me-custom-modal-header .stat-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.stat-viewed-me-custom-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}



.stat-viewed-me-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 👈 exactly 3 cards */
    gap: 15px;
}

.stat-viewed-me-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform .2s ease;
}


.stat-viewed-me-custom-modal-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #555;
}

.stat-viewed-me-custom-modal-close:hover {
    color: #000;
}

.stat-viewed-me-card:hover {
    transform: translateY(-4px);
}

.viewed-me-img {
    position: relative;
    display: block;
}

.viewed-me-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.stat-user-online-dot {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border-radius: 50%;
    border: 2px solid #fff;
}

.stat-viewed-me-info {
    padding: 12px;
    text-align: center;
}

.stat-viewed-me-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.stat-viewed-me-info .stat-custom-location {
    font-size: 13px;
    color: #777;
    margin: 5px 0 10px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-view {
    background: #111;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
}

.btn-view:hover {
    background: #000;
}

.fav {
    font-size: 16px;
    color: #999;
    cursor: pointer;
}

.fav.active {
    color: #e74c3c;
}

@media (max-width: 1024px) {
    .stat-viewed-me-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stat-viewed-me-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*user detail pop up*/

.user-details-custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.user-details-custom-modal-content {
    background:#1A1E20;
    width: 90%;
    max-width: 700px;
    margin: 5% auto;
    padding: 20px;
    position: relative;
    border-radius: 8px;
    max-height: 80vh;        /* 90% of viewport height */
    overflow-y: auto;   
}

.user-details-custom-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}
