﻿.input-error {
    border: 1px solid #ef4444;
}

.edit-profile-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: color 0.3s ease;
}

.edit-profile-icon:hover {
    color: #fff;
}

.post-header {
    position: relative;
}

.post-menu-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 8px 0;
    width: 160px;
    z-index: 100;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.post-menu-dropdown.hidden {
    display: none;
}

.post-menu-dropdown .dropdown-item {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
    width: 100%;
}

.post-menu-dropdown .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.post-menu-dropdown .dropdown-item.delete-post {
    color: #ff4d4d;
}

.post-menu-dropdown .dropdown-item svg {
    flex-shrink: 0;
}

/* Gallery Tab Styles */
.gallery-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.gallery-filter-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #333;
}

.gallery-filter-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 32px;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.gallery-filter-tab:hover {
    color: #aaa;
}

.gallery-filter-tab.active {
    color: #ff4d4d;
    border-bottom-color: #ff4d4d;
}

.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-album-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
}

.gallery-album-card>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    border-radius: 12px;
}

.gallery-album-card:hover>img {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 0 0 12px 12px;
}

.album-title {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
}

.create-album-card {
    background: #111;
    /* Darker background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed #333;
    transition: all 0.2s;
    text-align: center;
    padding: 12px;
}

.create-album-card:hover {
    border-color: #555;
    background: #161616;
}

.create-album-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    margin-bottom: 8px;
}

.gallery-media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-media-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-media-item img,
.gallery-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-type-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    align-items: center;
    justify-content: center;
}

.media-stats-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-media-item:hover .media-stats-overlay {
    opacity: 1;
}

.media-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.gallery-media-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-media-item:hover .gallery-media-delete-btn {
    opacity: 1;
}

.gallery-media-delete-btn:hover {
    transform: scale(1.1);
}

.gallery-media-delete-btn svg {
    display: block;
}

.add-photos-btn-small {
    background: #1a1a1a;
    color: white;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Album Menu Styles */
.album-menu-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s;
}

.gallery-album-card:hover .album-menu-btn {
    opacity: 1;
}

.album-menu-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.album-menu-dropdown {
    position: absolute;
    top: 45px;
    right: 8px;
    background: #3a3f4a;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
}

.album-menu-dropdown.show {
    display: block;
}

.album-menu-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.album-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.album-menu-item.delete {
    color: #ff4d4d;
}



/* Album View Modal Styles */
.album-view-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.album-view-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.album-view-content {
    background: #1a1a1a;
    width: 95%;
    max-width: 1300px;
    height: 85vh;
    max-height: 900px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* Left Side - Media */
.album-view-media-section {
    flex: 1;
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
}

.album-main-media-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.album-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.album-nav-prev {
    left: 20px;
}

.album-nav-next {
    right: 20px;
}

.album-delete-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    color: #333;
}

.album-tags-overlay {
    position: absolute;
    bottom: 120px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    /* Hide scrollbar */
    scrollbar-width: none;
    z-index: 5;
}

.album-tags-overlay::-webkit-scrollbar {
    display: none;
}

.album-tag-chip {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.album-thumbs-strip {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 20px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    z-index: 5;
}

.album-thumb-item {
    height: 80px;
    width: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.album-thumb-item.active {
    border-color: #ff4d4d;
}

.album-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Side - Details */
.album-view-details-section {
    width: 400px;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    flex-shrink: 0;
}

.album-details-header {
    padding: 20px;
    border-bottom: 1px solid #333;
}

.album-user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.album-user-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.album-header-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
}

.album-header-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
}

.album-info-text h3 {
    margin: 0;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.album-info-text span {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 2px;
}

.btn-like-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
}

/* Comments Area */
.album-comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-user {
    color: white;
    font-weight: 600;
    font-size: 14px;
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.comment-text {
    color: #ccc;
    font-size: 13px;
    line-height: 1.4;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.comment-meta button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.comment-meta svg {
    cursor: pointer;
}

.comment-meta button:hover {
    color: #888;
}

.comment-reply {
    margin-left: 44px;
    /* Indent */
    margin-top: -10px;
    /* Pull up a bit */
}

/* Footer Input */
.album-footer-input {
    padding: 16px 20px;
    border-top: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
}

.input-comment-wrapper {
    flex: 1;
    position: relative;
}

.input-comment {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 14px;
}

.post-comment-btn {
    color: #ff4d4d;
    background: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 900px) {
    .album-view-content {
        flex-direction: column;
        height: 95vh;
        overflow-y: auto;
    }

    .album-view-media-section {
        height: 50vh;
    }

    .album-view-details-section {
        width: 100%;
        height: auto;
        flex: 1;
    }
}

.gallery-media-edit-btn {
    position: absolute;
    top: 10px;
    right: 55px;
    /* Positioned to the left of the delete button */
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 10;
}

.gallery-media-edit-btn:hover {
    background: rgba(255, 255, 255, 0.7);
}

.gallery-media-item:hover .gallery-media-edit-btn {
    opacity: 1;
}

/* Friends Tab Styles */
.friends-sub-tabs {
    display: flex;
    /* gap: 40px; */
    margin-bottom: 24px;
    align-items: center;
    /* border-bottom: 1px solid #2a2a2a; */
    padding-bottom: 0px;
}

@media screen and (max-width: 768px) {
    .friends-sub-tabs {
        flex-wrap: wrap;
        row-gap: 16px;
    }

    .friends-sub-tab {
        font-size: 13px;
    }
}

.friends-sub-tab {
    background: none;
    border: none;
    color: #777;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding-bottom: 16px;
    padding-inline: 8px;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.2s;
    margin-bottom: -1px;
    /* Overlap with container border */
}

.friends-sub-tab:hover {
    color: #ccc;
}

.friends-sub-tab.active {
    color: #ff4d4d;
    border-bottom: 2px solid #ff4d4d;
}

.friends-search-container {
    margin-left: auto;
    position: relative;
    width: 320px;
    margin-bottom: 8px;
}

.friends-search-input {
    width: 100%;
    background: #222;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.friends-search-input:focus {
    border-color: #444;
}

.friends-search-icon {
    position: absolute;
    right: 12px;
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    row-gap: 80px;
    /* Space for floating avatar */
    padding-top: 50px;
}

.friend-card {
    background: #1a1a1a;
    border-radius: 16px;
    /* overflow: visible; IMPORTANT for floating avatar */
    padding: 0 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.friend-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.friend-avatar-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    margin-bottom: 0;
    z-index: 10;
}

.friend-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1a1a1a;
    /* Border matching card bg usually, or body bg? Card is #1a1a1a. */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.friend-status-dot {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2ecc71;
    border: 2px solid #1a1a1a;
}

.friend-card-content {
    margin-top: 60px;
    /* Space for avatar */
    width: 100%;
}

.friend-name {
    color: white;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 4px;
}

.friend-handle {
    /* color: #888; */
    font-size: 13px;
    /* margin-bottom: 16px; */
    text-align: center;
}

.friend-status-text {
    color: #666;
    font-size: 12px;
    /* background: #222; */
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.friend-request-btn {
    background: transparent;
    color: white;
    border: 1px solid #5C627066;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.profile-content.full-width {
    grid-template-columns: 1fr !important;
}

/* Follow Tab Styles */
.follow-sub-tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid #333;
    padding-bottom: 12px;
}

.follow-sub-tab {
    background: none;
    border: none;
    color: #888;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
}

.follow-sub-tab.active {
    color: #ff4d4d;
}

.follow-sub-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff4d4d;
}

.follow-layout {
    display: flex;
    gap: 24px;
}

@media screen and (max-width: 768px) {
    .follow-layout-mobile {
        display: flex;
        flex-direction: column;
    }
}

.follow-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Follow User Card */
.follow-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #1a1a1a;
}

.follow-user-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-user-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-user-avatar-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
}

.follow-user-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.follow-user-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #2ecc71;
    border: 2px solid #000;
    border-radius: 50%;
}

.follow-user-info h4 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.follow-user-name {
    font-weight: 400;
    font-size: 14px;
    text-align: left;
}

.follow-user-time {
    margin: 0;
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.follow-user-msg-btn {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    margin-left: 12px;
}

.follow-user-msg-btn:hover {
    border-color: #666;
}

/* Subscription Sidebar */
.subscription-plans-sidebar {
    width: 400px;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #0a0a0a;
    align-self: flex-start;
}

@media screen and (max-width: 768px) {
    .subscription-plans-sidebar {
        padding: 0;
    }
}

.subscription-plans-sidebar h3 {
    color: #fff;
    margin: 0 0 20px 0;
    font-size: 18px;
}

.sub-plan-card {
    /* background: #111; */
    /* border: 1px solid #333; */
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
    background: linear-gradient(229.44deg, rgba(153, 0, 0, 0.455) 3.21%, rgba(153, 0, 0, 0.245) 27.53%, rgba(153, 0, 0, 0.161) 58.1%, rgba(153, 0, 0, 0.133) 71.16%, rgba(153, 0, 0, 0.105) 81.92%, rgba(153, 0, 0, 0.035) 95.66%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-plan-card:hover {
    border-color: #ff4d4d;
}

.sub-plan-header {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.sub-plan-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #222; */
    border-radius: 8px;
}

/* Icons specific colors */

.sub-plan-info h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 15px;
}

.sub-plan-info p {
    color: #888;
    margin: 0;
    font-size: 12px;
}

.sub-plan-price {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.sub-plan-btn {
    width: 100%;
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.sub-plan-btn:hover {
    background: #cc0000;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

/* ========= EVENTS TAB STYLES ========= */
/* Events Header */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.events-sub-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #333;
}

.events-sub-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 24px;
    transition: all 0.2s;
    margin-bottom: -1px;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.events-sub-tab:hover {
    color: #ccc;
}

.events-sub-tab.active {
    color: #fff;
    border-bottom-color: #ff4d4d;
}

.events-create-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid #333;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.events-create-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
}

/* Events Filters Row */
.events-filters-row {
    margin-bottom: 20px;
}

.events-filter-dropdowns {
    display: flex;
    gap: 16px;
}

.events-filter-dropdown {
    position: relative;
    flex: 1;
    max-width: 350px;
}

.events-filter-select,
.events-date-input {
    width: 100%;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    font-family: 'Poppins', sans-serif;
}

.events-filter-select:focus,
.events-date-input:focus {
    border-color: #555;
    color: white;
}

.events-filter-select option {
    background: #1a1a1a;
    color: white;
}

/* Date Picker Styling */
.events-date-input {
    color-scheme: dark;
}

.events-date-input::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
}

.events-filter-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

/* Events Search and Sort Row */
.events-search-sort-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.events-search-container {
    display: flex;
    align-items: center;
    background: #8F95A326;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    max-width: 250px;
}

.events-search-input {
    background: transparent;
    border: none;
    padding: 10px 16px;
    color: white;
    font-size: 14px;
    outline: none;
    flex: 1;
    font-family: 'Poppins', sans-serif;
}

.events-search-input::placeholder {
    color: #FFFFFF;
}

.events-search-btn {
    background: transparent;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.events-sort-options {
    display: flex;
    background: rgba(30, 30, 30, 0.5);
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.events-sort-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: transparent;
    color: #9ca3af;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.events-sort-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.events-sort-btn.active {
    background: #3C1315;
    color: #FF8587;
}

.events-sort-btn svg {
    stroke: #9ca3af;
}

.events-sort-btn.active svg {
    stroke: #FF8587;
}

.events-sort-dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 45px;
}

.events-sort-dropdown-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Events Sort Dropdown Menu */
.events-sort-dropdown {
    position: relative;
}

.events-sort-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: none;
    backdrop-filter: blur(20px);
    animation: dropdownSlideIn 0.2s ease-out;
}

.events-sort-dropdown-menu.open {
    display: block;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.events-sort-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
    text-align: left;
}

.events-sort-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.events-sort-dropdown-item.active {
    color: #ff4d4d;
}

.events-sort-dropdown-item .check-icon {
    display: none;
    stroke: #ff4d4d;
}

.events-sort-dropdown-item.active .check-icon {
    display: block;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Event Card Profile */
.event-card-profile {
    display: flex;
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.event-card-profile:hover {
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.event-card-image-section {
    position: relative;
    width: 200px;
    min-height: 280px;
    flex-shrink: 0;
}

.event-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
}

.event-date-info {
    position: absolute;
    top: 10px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 2px;
    width: 90%;
    justify-content: space-between;
}

.event-date-day-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.event-date-label {
    color: #ccc;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-date-time {
    color: #888;
    font-size: 11px;
}

.event-views-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
}

.event-card-content-section {
    flex: 1;
    padding: 20px;
    padding-top: 54px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #FFFFFF12;
}

.event-premium-badge {
    display: inline-block;
    background: #3C1315;
    color: #FF8587;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 12px;
}

.event-card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.event-card-description {
    color: #888;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #888;
    font-size: 12px;
    margin-bottom: 12px;
}

.event-card-attendees {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.event-attendee-avatars-stack {
    display: flex;
}

.event-attendee-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #111;
    object-fit: cover;
    margin-left: -8px;
}

.event-attendee-img:first-child {
    margin-left: 0;
}

.event-attending-count {
    color: #888;
    font-size: 12px;
}

.event-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.event-action-btn {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.event-participate-btn {
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: white;
}

.event-participate-btn:hover {
    border-color: #444;
    color: white;
}

.event-remove-btn {
    background: rgb(255 255 255 / 7%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: white;
}

.event-remove-btn:hover {
    border-color: #555;
    color: white;
}

@media (max-width: 700px) {
    .event-card-profile {
        flex-direction: column;
    }

    .event-card-image-section {
        width: 100%;
        min-height: 180px;
    }

    .events-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-sub-tabs {
        overflow-x: auto;
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .events-search-sort-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .events-sort-options {
        flex-wrap: wrap;
    }
}

.post-stats-conatiner {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
}

/* Activities Tab - Videos Watched Grid */
.activities-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.activities-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 0.6;
    /* Approx 9/16 portrait ratio */
    border-radius: 12px;
    overflow: hidden;
    background-color: #222;
    cursor: pointer;
}

.activities-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.activities-video-card:hover .activities-video-thumb {
    transform: scale(1.05);
    /* Slight zoom on hover */
}

.activities-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.activities-play-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: auto;
    /* Push to center/top roughly */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.activities-video-bottom {
    position: absolute;
    bottom: 12px;
    right: 12px;
}

.activities-video-follow-btn {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(2px);
}

.activities-video-follow-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Stats variant (like in the mockup bottom center) */
.activities-video-stat-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.activities-video-stats {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: flex;
    gap: 10px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    align-items: flex-start;
    flex-direction: column;
}

.activities-video-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Responsive */
@media (max-width: 1200px) {
    .activities-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .activities-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-tab-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

}

/* Activities Tab - Comments List */
.activities-comments-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 20px;
    max-width: 100%;
}

.activity-comment-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-comment-group:last-child {
    border-bottom: none;
}

.activity-comment-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    padding-right: 20px;
}

.activity-comment-item {
    display: flex;
    gap: 12px;
}

.activity-comment-item.reply {
    margin-left: 52px;
    /* Indent replies */
    position: relative;
    margin-top: -4px;
}

.activity-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid #222;
}

.activity-comment-item.reply .activity-user-avatar {
    width: 32px;
    height: 32px;
}

.activity-comment-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.activity-comment-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.activity-username {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
}

.activity-comment-text {
    color: #ccc;
    font-size: 14px;
    font-weight: 400;
}

.activity-time {
    color: #666;
    font-size: 12px;
    margin-top: 4px;
}

.activity-verified-badge {
    color: #49ADF4;
    display: flex;
    align-items: center;
}

.activity-post-preview {
    flex-shrink: 0;
}

.activity-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.activity-comment-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.activity-more-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 77, 77, 0.15);
    color: #FF4D4D;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.activity-more-badge:hover {
    background: rgba(255, 77, 77, 0.25);
}

.activity-comment-group {
    transition: background 0.2s ease;
    border-radius: 12px;
    padding: 12px;
    margin: -12px;
    margin-bottom: 12px;
}

.activity-comment-group:hover {
    background: rgba(255, 255, 255, 0.03);
}

.activity-unread-dot {
    width: 8px;
    height: 8px;
    background-color: #49ADF4;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

/* Settings Tab */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

#settings-tab-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.settings-card {
    background: #0f1014;
    border: 1px solid #1f2128;
    border-radius: 12px;
    padding: 24px;
}

.settings-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.settings-card-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.settings-status-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.settings-status-indicator.active {
    border-color: #ef3340;
}

.settings-status-dot {
    width: 12px;
    height: 12px;
    background-color: #ef3340;
    border-radius: 50%;
}

.settings-options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.settings-options-list li {
    padding: 12px 16px;
    font-size: 14px;
    color: #999;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    font-family: 'Poppins', sans-serif;
}

.settings-options-list li:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
}

.settings-options-list li.selected {
    background: rgba(239, 51, 64, 0.1);
    color: #ef3340;
    font-weight: 500;
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

/* Stats Card - Visitors Tab */
.profile-stats-card {
    background-color: #050505;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid #1a1a1a;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.stats-value {
    font-size: 32px;
    font-weight: 500;
    color: white;
    margin: 0;
    margin-bottom: 4px;
}

.stats-label {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.stats-dropdown-container {
    position: relative;
}

.stats-dropdown-btn {
    background-color: #1a1a1a;
    border: 1px solid #333;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.stats-dropdown-btn:hover {
    background-color: #2a2a2a;
}

.stats-chart-wrapper {
    display: flex;
    gap: 12px;
    height: 140px;
    margin-top: 20px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 30px;
    /* Space for x-axis */
    padding-top: 0px;
}

.chart-y-axis span {
    font-size: 12px;
    color: #999;
    text-align: right;
    line-height: 1;
}

.chart-container {
    flex: 1;
    position: relative;
    height: 100%;
}

.stats-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: -25px;
    /* Pull up into chart area */
    padding-left: 30px;
    /* Align with chart start */
    position: relative;
    z-index: 1;
}

.chart-x-axis span {
    font-size: 12px;
    color: #999;
    width: 30px;
    text-align: center;
}

/* Subscription Tab Styles */

.pricing-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 200px repeat(4, 1fr);
    /* Adjusted label col width */
    grid-column-gap: 16px;
    min-width: 1000px;
}

/* Headers */
.pricing-col-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.first-col {
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 20px;
}

.pricing-title-pill {
    background-color: transparent;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.plan-header-card {
    background-color: #4a0000;
    color: white;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.plan-ribbon {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.plan-price {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

/* Cells */
.pricing-cell {
    padding: 16px 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    min-height: 55px;
}

/* Label Column (Col 1) */
.pricing-cell:nth-of-type(5n+1) {
    color: #e0e0e0;
    justify-content: flex-start;
    padding-left: 0;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator for labels */
}

/* Plan Columns (Col 2-5) */
.pricing-cell:nth-of-type(5n+2),
.pricing-cell:nth-of-type(5n+3),
.pricing-cell:nth-of-type(5n+4),
.pricing-cell:nth-of-type(5n+5) {
    background-color: #FFF0F0;
    color: #333;
    justify-content: flex-start;
    border-left: 1px solid #ffcccc;
    border-right: 1px solid #ffcccc;
}

/* Bottom Cells (Footer) */
.bottom-cell:nth-of-type(5n+2),
.bottom-cell:nth-of-type(5n+3),
.bottom-cell:nth-of-type(5n+4),
.bottom-cell:nth-of-type(5n+5) {
    border-radius: 0 0 20px 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ffcccc;
    background-color: #FFF0F0;
    justify-content: center;
    /* Center buttons */
}

/* Features */
.feature-check {
    width: 22px;
    height: 22px;
    background: #FF2222;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 8px;
    flex-shrink: 0;
}

.feature-cross {
    width: 22px;
    height: 22px;
    background: #D1D5DB;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 8px;
    flex-shrink: 0;
}

.feature-text {
    color: #888;
    font-size: 13px;
    white-space: nowrap;
}

.pricing-action-btn {
    background-color: #FF0000;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.pricing-action-btn:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
}

/* New Subscription Cards Layout */
.subscription-cards-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 20px 0;
    align-items: stretch;
}

.sub-card {
    /* background: #0f0f0f;
    border: 1px solid #330000; */
    border-radius: 20px;
    padding: 24px 10px;
    padding-top: 75px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    /* Red glow */
    box-shadow: 0 0 15px rgba(50, 0, 0, 0.2);
    background: linear-gradient(229.44deg, rgba(153, 0, 0, 0.455) 3.21%, rgba(153, 0, 0, 0.245) 27.53%, rgba(153, 0, 0, 0.161) 58.1%, rgba(153, 0, 0, 0.133) 71.16%, rgba(153, 0, 0, 0.105) 81.92%, rgba(153, 0, 0, 0.035) 95.66%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Labels Column Styling */
.sub-card.labels-column {
    /* background: linear-gradient(180deg, #1a0505 0%, #000000 100%); */
    border: 1px solid #400000;
    border-radius: 20px;
    box-shadow: none;
    padding: 24px 20px;
    padding-top: 75px;
    background: linear-gradient(229.44deg, rgba(153, 0, 0, 0.455) 3.21%, rgba(153, 0, 0, 0.245) 27.53%, rgba(153, 0, 0, 0.161) 58.1%, rgba(153, 0, 0, 0.133) 71.16%, rgba(153, 0, 0, 0.105) 81.92%, rgba(153, 0, 0, 0.035) 95.66%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* More padding for text */
}

/* Header Styles */
.sub-card-header {
    position: absolute;
    width: 90%;
    top: -14px;
    text-align: center;
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 140px;
    /* Fixed height for alignment */
    justify-content: flex-start;
    background: url(../Img/subscription-bg.png);
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: center;
    height: 82px;
}

.sub-card.labels-column .sub-card-header {
    justify-content: center;
    /* Center "Pricing Table" pill vertically */
}

.pricing-title-pill {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.sub-card-icon {
    font-size: 24px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Titles with Red Background (Pill/Tab shape) */
.sub-card-title {
    background-color: transparent;
    /* Dark Red */
    color: white;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    padding: 8px 16px;
    border-radius: 20px 20px 0 0;
    /* Tab shape */
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.sub-card-price {
    color: white;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.sub-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Feature List Alignment */
.sub-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sub-card-features li {
    display: flex;
    align-items: center;
    /* Vertical center */
    font-size: 13px;
    color: #e5e5e5;
    height: 50px;
    /* Fixed height for exact row alignment */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.sub-card.labels-column .sub-card-features li {
    justify-content: flex-start;
    /* Text aligns left */
    font-weight: 500;
    font-size: 14px;
}

.sub-card:not(.labels-column) .sub-card-features li {
    justify-content: center;
    /* Icons align center */
}

.sub-card-features li:last-child {
    border-bottom: none;
}

/* Desktop Visibility Logic */
@media (min-width: 1001px) {
    .feature-label {
        display: none;
        /* Hide text label in plan cards */
    }

    .feature-content {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .labels-column {
        display: flex;
        /* Show labels column */
    }
}

/* Icons */
.feature-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-check.check {
    background: #ff3333;
    color: white;
    box-shadow: 0 2px 5px rgba(255, 51, 51, 0.4);
}

.feature-check.cross {
    background: #b0b0b0;
    color: #333;
    font-size: 12px;
}

.feature-text {
    margin-left: 8px;
    font-size: 12px;
    color: #aaa;
    white-space: nowrap;
}

/* Button */
.sub-card-btn {
    width: 100%;
    background: #FF0000;
    border: none;
    color: white;
    padding: 12px;
    border-radius: 25px;
    /* Rounded pill button */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    /* Push to bottom */
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.sub-card-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

/* Spacer for Labels Column */
.sub-card-btn-spacer {
    height: 44px;
    /* Matches button height approx */
    margin-top: auto;
}

/* Popular Badge */
.sub-card.popular {
    border-color: #ff0000;
    background: linear-gradient(180deg, #2a0505 0%, #000000 100%);
    z-index: 2;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff0000;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 15px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.5);
    white-space: nowrap;
}

.custom-gallery-next {
    right: -20px;
}

.custom-gallery-prev {
    left: -20px;
}

@media screen and (max-width: 768px) {
    .custom-gallery-next {
        right: 0;
    }

    .custom-gallery-prev {
        left: 0;
    }

    #settings-tab-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 30px 20px;
    }
}

/* Response Breakpoints */
@media (max-width: 1000px) {
    .subscription-cards-container {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }

    .sub-card.labels-column {
        display: none;
        /* Hide labels column */
    }

    /* Show labels inside cards */
    .feature-label {
        display: block;
        margin-bottom: 4px;
        color: #ddd;
        font-weight: 500;
    }

    .sub-card-features li {
        flex-direction: column;
        align-items: flex-start;
        /* Align left */
        height: auto;
        padding: 10px 0;
        justify-content: center !important;
    }

    .feature-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .sub-card-header {
        height: auto;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .subscription-cards-container {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }
}

/* Couple About Tabs Styles */
.couple-about-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #333;
}

.couple-about-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #888;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 10px 16px;
    transition: all 0.2s;
    margin-bottom: -1px;
}

.couple-about-tab:hover {
    color: #aaa;
}

.couple-about-tab.active {
    color: #ff4d4d;
    border-bottom-color: #ff4d4d;
}

.couple-about-content {
    display: none;
}

.couple-about-content.active {
    display: block;
}