/**
 * HeartsAlign Public Dating Dashboard Stylesheet
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

/* Scope styling to prevent theme leaking */
.heartsalign-dashboard-wrapper {
    display: flex;
    font-family: 'Inter', sans-serif;
    background-color: #FBFCFA;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    min-height: 650px;
    border: 1px solid #eaeaea;
    margin: 20px 0;
}

/* 1. Sidebar - Dark Theme */
.heartsalign-sidebar {
    width: 220px;
    min-width: 220px;
    background-color: #222021;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding: 18px 14px 14px;
    border-right: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

.heartsalign-sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    flex-shrink: 0;
    width: 100%;
}

.heartsalign-brand-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.heartsalign-brand-logo {
    max-height: 26px;
    max-width: 100%;
    object-fit: contain;
}

.heartsalign-sidebar-header h2 {
    font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 20px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffe3e6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(255, 78, 100, 0.30) !important;
    margin: 0 !important;
}

.heartsalign-heart-icon {
    font-size: 18px;
    animation: heartBeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.25); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

.heartsalign-user-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.heartsalign-sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #333;
    border: 2px solid #FF4E64;
    flex-shrink: 0;
}

.heartsalign-mobile-inline-logout {
    display: none !important;
}

.heartsalign-user-meta {
    overflow: hidden;
    flex: 1;
}

.heartsalign-user-meta h4 {
    margin: 0 0 3px 0;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* SVG Icon styles */
.ha-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: rgba(255, 255, 255, 0.6) !important;
}

/* Base custom brand coloring for each individual icon */
.heartsalign-sidebar-menu li[data-tab="discover"] .ha-icon { stroke: #00F2FE !important; }
.heartsalign-sidebar-menu li[data-tab="matches"] .ha-icon { fill: #FF4E64 !important; stroke: none !important; }
.heartsalign-sidebar-menu li[data-tab="messenger"] .ha-icon { stroke: #00F260 !important; }
.heartsalign-sidebar-menu li[data-tab="lounge"] .ha-icon { stroke: #e040fb !important; }
.heartsalign-sidebar-menu li[data-tab="viewers"] .ha-icon { stroke: #8af859 !important; }
.heartsalign-sidebar-menu li[data-tab="analytics"] .ha-icon { stroke: #FF8C00 !important; }
.heartsalign-sidebar-menu li[data-tab="profile"] .ha-icon { stroke: #b388ff !important; }
.heartsalign-sidebar-menu li[data-tab="upgrade"] .ha-icon { stroke: #FFD700 !important; }
.heartsalign-sidebar-menu li[data-tab="history"] .ha-icon { stroke: #00D2FF !important; }
.heartsalign-sidebar-menu li[data-tab="logout"] .ha-icon { stroke: #FF6B6B !important; }

/* Micro-animations triggered on hover / active */
.heartsalign-sidebar-menu li[data-tab="discover"]:hover .ha-icon {
    animation: searchTilt 0.6s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="matches"]:hover .ha-icon {
    animation: heartBeatQuick 0.8s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="messenger"]:hover .ha-icon {
    animation: chatWiggle 0.6s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="lounge"]:hover .ha-icon {
    animation: loungeBounce 0.6s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="viewers"]:hover .ha-icon {
    animation: eyeIris 0.8s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="analytics"]:hover .ha-icon {
    animation: statsGrow 0.6s ease-in-out infinite;
    transform-origin: bottom;
}
.heartsalign-sidebar-menu li[data-tab="profile"]:hover .ha-icon {
    animation: profileBounce 0.6s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="upgrade"]:hover .ha-icon {
    animation: starRotate 0.8s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="history"]:hover .ha-icon {
    animation: paperSlide 0.6s ease-in-out infinite;
}
.heartsalign-sidebar-menu li[data-tab="logout"]:hover .ha-icon {
    animation: logoutSlide 0.6s ease-in-out infinite;
}

/* Glowing drop-shadows on hover */
.heartsalign-sidebar-menu li[data-tab="discover"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="matches"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(255, 78, 100, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="messenger"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(0, 242, 96, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="lounge"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(224, 64, 251, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="viewers"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(138, 248, 89, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="analytics"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(255, 140, 0, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="profile"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(179, 136, 255, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="upgrade"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="history"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.85)) !important; }
.heartsalign-sidebar-menu li[data-tab="logout"]:hover .ha-icon { filter: drop-shadow(0 0 5px rgba(255, 107, 107, 0.85)) !important; }

/* Custom keyframes */
@keyframes searchTilt {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg) scale(1.15); }
}
@keyframes heartBeatQuick {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.22); }
    50% { transform: scale(1.05); }
    75% { transform: scale(1.26); }
}
@keyframes chatWiggle {
    0%, 100% { transform: rotate(0deg); }
    33% { transform: rotate(-10deg) scale(1.1); }
    66% { transform: rotate(10deg) scale(1.1); }
}
@keyframes loungeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) scale(1.1); }
}
@keyframes eyeIris {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}
@keyframes statsGrow {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.35); }
}
@keyframes profileBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px) scale(1.05); }
}
@keyframes starRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(180deg) scale(1.15); }
}
@keyframes paperSlide {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}
@keyframes logoutSlide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.heartsalign-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.heartsalign-sidebar-menu li {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.50);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2px;
    white-space: nowrap;
}

.heartsalign-mobile-logout-tab {
    display: none !important;
}

.heartsalign-sidebar-menu li:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.07);
    transform: translateX(3px);
}

.heartsalign-sidebar-menu li:hover .ha-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}

.heartsalign-sidebar-menu li.active {
    color: #ffffff;
    background: linear-gradient(135deg, #FF4E64, #c0294a);
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(255,78,100,0.40);
}

.heartsalign-sidebar-menu li.active .ha-icon {
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.7));
    animation: iconPop 0.3s ease;
}

@keyframes iconPop {
    0%   { transform: scale(0.8); }
    60%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Sidebar Footer: pinned to bottom */
.heartsalign-sidebar-footer {
    flex-shrink: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-sidebar-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 11px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-sidebar-ctrl:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.20);
}

.heartsalign-logout-link {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    color: rgba(255,100,120,0.85);
    border: 1px solid rgba(255,78,100,0.25);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.2px;
}

.heartsalign-logout-link:hover {
    background: rgba(255,78,100,0.15);
    color: #fff;
    border-color: rgba(255,78,100,0.50);
    text-decoration: none;
}

.heartsalign-logout-link svg {
    transition: transform 0.2s ease;
}

.heartsalign-logout-link:hover svg {
    transform: translateX(3px);
}

/* 2. Content Area */
.heartsalign-content-area {
    flex: 1;
    background-color: #FBFCFA;
    padding: 24px 28px;
    overflow-y: auto;
    color: #2c2c2c;
}

.heartsalign-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Badges */
.heartsalign-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.heartsalign-badge-free { background: rgba(255,255,255,0.15); color: #fff; }
.heartsalign-badge-gold { background: linear-gradient(135deg, #FFE082, #FFB300); color: #3e2723; }
.heartsalign-badge-vip  { background: linear-gradient(135deg, #B388FF, #6200EA); color: #fff; }
.heartsalign-badge-platinum {
    background: linear-gradient(135deg, #80DEEA, #00ACC1);
    color: #004d40;
    animation: glowPlatinum 2s infinite alternate;
}
@keyframes glowPlatinum {
    0%   { box-shadow: 0 0 4px rgba(0,172,193,0.2); }
    100% { box-shadow: 0 0 12px rgba(0,172,193,0.6); }
}
.heartsalign-verified-badge {
    background: #2196F3;
    color: #fff;
    font-size: 9px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    font-weight: bold;
}


.heartsalign-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.heartsalign-tab-content h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #222021;
    margin: 0 0 8px 0;
}

.heartsalign-sub {
    color: #666666;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 14px;
}

/* 3. Discover Feed - Tinder Deck UI */
.heartsalign-discover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef0eb;
    padding-bottom: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.heartsalign-filters {
    display: flex;
    gap: 10px;
}

/* Form Visibility Controls */
.heartsalign-filters select,
.heartsalign-form select,
.heartsalign-form input,
.heartsalign-form textarea,
.heartsalign-payment-selector-panel select,
.heartsalign-payment-selector-panel input {
    background-color: #ffffff !important;
    color: #1a1a1a !important; /* Fixed invisible text issues */
    border: 1px solid #cccccc !important;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.heartsalign-filters select:focus,
.heartsalign-form select:focus,
.heartsalign-form input:focus,
.heartsalign-form textarea:focus,
.heartsalign-payment-selector-panel select:focus,
.heartsalign-payment-selector-panel input:focus {
    border-color: #FF4E64 !important;
    box-shadow: 0 0 0 3px rgba(255, 78, 100, 0.15);
}

.heartsalign-filters button,
.heartsalign-btn-primary {
    background: #FF4E64;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.heartsalign-btn-primary {
    padding: 12px 24px;
    width: auto;
}

.heartsalign-filters button:hover,
.heartsalign-btn-primary:hover {
    background: #e0394e;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 78, 100, 0.2);
}

.heartsalign-feed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
}

.heartsalign-card-deck {
    position: relative;
    width: 340px;
    height: 460px;
}

.heartsalign-swipe-card {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #ffffff;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, opacity 0.4s ease;
    cursor: grab;
}

.heartsalign-card-image {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.heartsalign-card-badge-row {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
}

.heartsalign-card-info {
    padding: 20px;
    background: #ffffff;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.heartsalign-card-info h4 {
    margin: 0 0 6px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #222021;
    display: flex;
    align-items: center;
}

.heartsalign-card-info p.location {
    color: #777;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.heartsalign-card-info p.bio {
    color: #555;
    font-size: 13px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
}

.heartsalign-swipe-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: absolute;
    bottom: -25px;
    left: 0;
    right: 0;
    z-index: 10;
}

.btn-swipe {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    font-size: 20px;
}

.btn-swipe-dislike {
    background-color: #ffffff;
    color: #FF5252;
}

.btn-swipe-like {
    background-color: #FF4E64;
    color: #ffffff;
}

.btn-swipe:hover {
    transform: scale(1.1);
}

/* 4. Matches Tab & Viewers Tab Grids */
.heartsalign-matches-grid,
.heartsalign-viewers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.heartsalign-match-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    padding-bottom: 15px;
}

.heartsalign-match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: #FF4E64;
}

.heartsalign-match-avatar {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    margin: 15px auto 5px auto !important;
    background-size: cover;
    background-position: center;
    background-color: #333;
    border: 2px solid rgba(255, 78, 100, 0.25) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

.heartsalign-match-card h5 {
    margin: 12px 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.heartsalign-match-card p {
    margin: 0;
    font-size: 12px;
    color: #777;
}

/* 5. Messenger Layout */
.heartsalign-messenger-layout {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    height: 520px;
}

.heartsalign-chat-sidebar {
    width: 240px;
    border-right: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.heartsalign-chat-sidebar h4 {
    padding: 15px 20px;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
    font-size: 15px;
    color: #222021;
}

.heartsalign-threads-list {
    flex: 1;
    overflow-y: auto;
}

.heartsalign-thread-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-bottom: 1px solid #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.heartsalign-thread-item:hover {
    background: #fafafa;
}

.heartsalign-thread-item.active {
    background: rgba(255, 78, 100, 0.05);
    border-left: 3px solid #FF4E64;
}

.heartsalign-thread-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.heartsalign-thread-meta h5 {
    margin: 0 0 2px 0;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.heartsalign-thread-meta p {
    margin: 0;
    font-size: 11px;
    color: #777;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.heartsalign-chat-room {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fafbfc;
}

.heartsalign-chat-header {
    background: #ffffff;
    padding: 12px 20px;
    border-bottom: 1px solid #eaeaea;
}

.heartsalign-active-recipient {
    display: flex;
    align-items: center;
    gap: 12px;
}

.heartsalign-recipient-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.heartsalign-recipient-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #222021;
}

.heartsalign-recipient-info span {
    font-size: 11px;
    color: #888;
}

.heartsalign-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.heartsalign-msg-bubble {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
}

.heartsalign-msg-bubble.me {
    background: #FF4E64;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.heartsalign-msg-bubble.other {
    background: #ffffff;
    color: #222;
    border: 1px solid #eaeaea;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.heartsalign-chat-footer {
    padding: 15px 20px;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    display: flex;
    gap: 12px;
    align-items: center;
}

.heartsalign-chat-footer textarea {
    flex: 1;
    height: 42px !important;
    resize: none;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 14px !important;
}

.heartsalign-chat-footer button {
    background: #FF4E64;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s ease;
}

.heartsalign-chat-footer button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.heartsalign-chat-footer button:hover:not(:disabled) {
    background: #e0394e;
    transform: scale(1.05);
}

.heartsalign-chat-footer button:disabled {
    background: #e0e0e0;
    cursor: not-allowed;
}

/* 6. Profile Edit Layout */
.heartsalign-profile-layout {
    display: flex;
    gap: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

.heartsalign-profile-photo-pane {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.heartsalign-photo-preview {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    border: 3px solid #eee;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.heartsalign-file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.heartsalign-btn-upload {
    border: 1px solid #FF4E64;
    background: transparent;
    color: #FF4E64;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.heartsalign-file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
}

.heartsalign-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.heartsalign-form-row {
    display: flex;
    gap: 20px;
}

.heartsalign-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.heartsalign-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.heartsalign-form-group input,
.heartsalign-form-group select {
    width: 100%;
}

.heartsalign-help-text {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

/* 7. Plans and manual payments */
.heartsalign-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.heartsalign-plan-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    padding: 25px;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.heartsalign-plan-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.heartsalign-plan-featured {
    border: 2px solid #FF4E64;
    transform: scale(1.02);
}

.heartsalign-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF4E64;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 20px;
}

.heartsalign-plan-header h4 {
    margin: 0 0 6px 0;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.heartsalign-plan-desc {
    font-size: 12px;
    color: #777;
    margin: 0 0 20px 0;
}

.heartsalign-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.heartsalign-plan-features li {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    border-bottom: 1px dashed #fafafa;
    padding-bottom: 4px;
}

.heartsalign-plan-price-tag {
    font-size: 13px;
    font-weight: 700;
    color: #FF4E64;
    background: rgba(255, 78, 100, 0.05);
    padding: 8px 12px;
    border-radius: 8px;
}

.heartsalign-payment-selector-panel {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    padding: 30px;
    margin-top: 30px;
}

.heartsalign-payment-selector-panel h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #222021;
}

.heartsalign-payment-selector-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.heartsalign-pricing-badge {
    display: inline-block;
    background: #4CAF50;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 20px;
}

.heartsalign-instruction-card {
    background: #f7f9fa;
    border-left: 4px solid #FF4E64;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 25px;
}

.heartsalign-instruction-card h5 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 700;
    color: #222021;
}

.heartsalign-instruction-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #444;
    white-space: pre-wrap;
}

/* 8. Billing History Logs */
.heartsalign-current-status-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    padding: 20px;
    margin-bottom: 25px;
}

.heartsalign-current-status-card h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #222;
}

.heartsalign-current-status-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.table-heartsalign-payments {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.table-heartsalign-payments th,
.table-heartsalign-payments td {
    padding: 12px 18px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid #eaeaea;
}

.table-heartsalign-payments th {
    background-color: #fafbfc;
    font-weight: 600;
    color: #222021;
}

.table-heartsalign-payments tr:last-child td {
    border-bottom: none;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending { background: #FFE082; color: #7F5F00; }
.status-approved { background: #C8E6C9; color: #2E7D32; }
.status-rejected { background: #FFCDD2; color: #C62828; }

.heartsalign-alert {
    background-color: #FFF9C4;
    color: #F57F17;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #FBC02D;
    font-size: 14px;
    font-weight: 500;
}


/* ==========================================================================
   HEARTSALIGN PREMIUM UPGRADE STYLES (SaaS Fullscreen, Lounge, Emojis, Icebreakers)
   ========================================================================== */

/* SaaS Immersive Fullscreen Overrides */
.heartsalign-fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    background: #FBFCFA !important;
}
.heartsalign-auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.btn-auth-switch {
    flex: 1;
    border: 0;
    padding: 10px;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    border-bottom: 2px solid transparent;
}
.btn-auth-switch.active {
    color: #E53935;
    border-bottom-color: #E53935;
}
.heartsalign-auth-form {
    display: none;
}
.heartsalign-auth-form.active {
    display: block;
}

/* Emojis Selector & Drawer */
.heartsalign-emoji-selector-wrapper {
    position: relative;
    display: inline-block;
}
.btn-emoji-trigger {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}
.heartsalign-emoji-drawer {
    display: none;
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 210px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 99999;
    flex-wrap: wrap;
    gap: 8px;
}
.heartsalign-emoji-drawer.active {
    display: flex;
}
.heartsalign-emoji-drawer span {
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}
.heartsalign-emoji-drawer span:hover {
    transform: scale(1.3);
}

/* Icebreakers Chip Row */
.heartsalign-icebreakers {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}
.icebreaker-chip {
    background: #f1f1f1;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.icebreaker-chip:hover {
    background: #ffd54f;
    border-color: #ffca28;
}

/* Flirt Lounge Group Chat Room Styles */
.heartsalign-lounge-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}
.heartsalign-lounge-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
}
.heartsalign-lounge-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
}
.lounge-bubble {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    max-width: 80%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.lounge-bubble-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 11px;
    color: #666;
}
.lounge-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

/* SVG Chart Container CSS overrides */
.svg-chart-container {
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.heartsalign-analytics-grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.stat-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.stat-box h3 {
    margin: 0;
    color: #E53935;
    font-size: 24px;
}
.stat-box p {
    margin: 5px 0 0 0;
    display: flex;
    align-items: center;
    position: relative;
}
.heartsalign-left-overlay {
    z-index: 2;
}
.heartsalign-left-overlay h1 {
    color: #E53935;
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 800;
}
.heartsalign-floating-hearts {
    font-size: 24px;
    margin-top: 30px;
    display: flex;
    gap: 15px;
    animation: heartsFloat 3s infinite ease-in-out;
}
@keyframes heartsFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.heartsalign-auth-split-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.heartsalign-auth-logo {
    margin-bottom: 16px;
}
.heartsalign-auth-logo h2 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.1px;
}
.heartsalign-auth-logo img {
    max-height: 36px;
    display: block;
    margin: 0 0 12px 0;
}
/* Auth Split-Screen Premium Portal Layout */
.heartsalign-auth-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: 550px;
}
.heartsalign-auth-split-left {
    flex: 0 0 auto;
    max-width: 200px;
    width: 200px;
    background: linear-gradient(135deg, #222021 0%, #3e2723 100%);
    color: #fff;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    position: relative;
}
.heartsalign-left-overlay {
    z-index: 2;
    width: 100%;
}
.heartsalign-left-overlay h1 {
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
.heartsalign-left-overlay p {
    font-size: 9px !important;
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.5 !important;
    margin: 0 0 10px 0 !important;
}
.heartsalign-floating-hearts {
    font-size: 14px;
    margin-top: 12px;
    display: flex;
    gap: 8px;
    animation: heartsFloat 3s infinite ease-in-out;
}
@keyframes heartsFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.heartsalign-auth-split-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.heartsalign-auth-logo {
    margin-bottom: 16px;
}
.heartsalign-auth-logo h2 {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 4px 0 !important;
    letter-spacing: 0.1px;
}
.heartsalign-auth-logo img {
    max-height: 36px;
    display: block;
    margin: 0 0 12px 0;
}

.heartsalign-auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}
.btn-auth-switch {
    flex: 1;
    border: 0;
    padding: 10px;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #888;
    border-bottom: 2px solid transparent;
}
.btn-auth-switch.active {
    color: #E53935;
    border-bottom-color: #E53935;
}
.heartsalign-auth-form {
    display: none;
}
.heartsalign-auth-form.active {
    display: block;
}

/* Emojis Selector & Drawer */
.heartsalign-emoji-selector-wrapper {
    position: relative;
    display: inline-block;
}
.btn-emoji-trigger {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}
.heartsalign-emoji-drawer {
    display: none;
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 210px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 99999;
    flex-wrap: wrap;
    gap: 8px;
}
.heartsalign-emoji-drawer.active {
    display: flex;
}
.heartsalign-emoji-drawer span {
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    transition: transform 0.1s;
}
.heartsalign-emoji-drawer span:hover {
    transform: scale(1.3);
}

/* Icebreakers Chip Row */
.heartsalign-icebreakers {
    display: flex;
    gap: 8px;
    margin: 8px 0;
    flex-wrap: wrap;
}
.icebreaker-chip {
    background: #f1f1f1;
    border: 1px solid #ddd;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.icebreaker-chip:hover {
    background: #ffd54f;
    border-color: #ffca28;
}

/* Flirt Lounge Group Chat Room Styles */
.heartsalign-lounge-container {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    height: 480px;
    overflow: hidden;
}
.heartsalign-lounge-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f9f9f9;
}
.heartsalign-lounge-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    background: #fff;
}
.lounge-bubble {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    max-width: 80%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.02);
}
.lounge-bubble-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    font-size: 11px;
    color: #666;
}
.lounge-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

/* SVG Chart Container CSS overrides */
.svg-chart-container {
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.heartsalign-analytics-grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.stat-box {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}
.stat-box h3 {
    margin: 0;
    color: #E53935;
    font-size: 24px;
}
.stat-box p {
    margin: 5px 0 0 0;
    font-size: 11px;
    color: #888;
}

@media (max-width: 600px) {
    /* AUTOMATIC IMMERSIVE NATIVE APP PORTAL (Hides WordPress header and footer completely!) */
    .heartsalign-dashboard-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        z-index: 999999 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background-color: #FBFCFA !important;
    }

    /* Display modern mobile header with brand container and shining anim */
    .heartsalign-sidebar-header {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px 14px !important;
        margin-bottom: 12px !important;
        background: linear-gradient(135deg, rgba(255, 78, 100, 0.15) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 78, 100, 0.15) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px !important;
        position: relative !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.05) !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
    }
    
    .heartsalign-sidebar-header::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -60%;
        width: 30%;
        height: 200%;
        background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
        transform: rotate(30deg);
        animation: shineHeader 4s infinite ease-in-out;
    }
    
    @keyframes shineHeader {
        0% { left: -60%; }
        15%, 100% { left: 130%; }
    }

    .heartsalign-brand-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
    }

    .heartsalign-brand-logo {
        max-height: 22px !important;
        object-fit: contain;
    }

    .heartsalign-sidebar-header h2 {
        font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif !important;
        font-size: 18px !important;
        font-style: italic !important;
        font-weight: 700 !important;
        letter-spacing: 0.2px !important;
        background: linear-gradient(135deg, #ffffff 0%, #ffe3e6 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: #ffffff !important;
        text-shadow: 0 4px 15px rgba(255, 78, 100, 0.30) !important;
        margin: 0 !important;
        display: inline-block !important;
    }

    .heartsalign-user-summary {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        padding: 8px 12px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .heartsalign-user-summary .heartsalign-sidebar-avatar {
        width: 32px !important;
        height: 32px !important;
        border-width: 1.5px !important;
        margin: 0 !important;
    }

    .heartsalign-user-summary .heartsalign-user-meta {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
        margin: 0 !important;
    }

    .heartsalign-user-summary .heartsalign-user-meta h4 {
        margin: 0 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #ffffff !important;
        max-width: 110px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .heartsalign-user-summary .heartsalign-token-badge {
        margin: 0 !important;
        font-size: 11px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        padding: 4px 8px !important;
        border-radius: 20px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: #ffd54f !important;
        font-weight: 600 !important;
    }

    .heartsalign-user-summary .heartsalign-badge {
        margin: 0 !important;
        font-size: 9px !important;
        padding: 3px 8px !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
    }

    .heartsalign-user-summary .heartsalign-mobile-inline-logout {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 78, 100, 0.15) !important;
        border: 1.5px solid #FF4E64 !important;
        border-radius: 50% !important;
        width: 24px !important;
        height: 24px !important;
        color: #ffffff !important;
        transition: all 0.25s ease !important;
        cursor: pointer !important;
        margin-left: 6px !important;
        box-sizing: border-box !important;
    }

    .heartsalign-user-summary .heartsalign-mobile-inline-logout:hover {
        background: #FF4E64 !important;
        transform: scale(1.08);
    }
    
    .heartsalign-sidebar-footer {
        display: none !important;
    }
    
    .heartsalign-sidebar {
        width: 100% !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.07) !important;
        padding: 14px 14px 8px 14px !important;
        background-color: #222021 !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .heartsalign-sidebar-menu {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 6px !important;
        margin: 0 !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
        gap: 6px !important;
    }
    .heartsalign-sidebar-menu::-webkit-scrollbar {
        display: none !important;
    }

    .heartsalign-sidebar-menu li {
        display: inline-flex !important;
        align-items: center !important;
        padding: 7px 12px !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        font-size: 11px !important;
        border-radius: 16px !important;
        flex-shrink: 0 !important;
        background: rgba(255,255,255,0.04) !important;
        border: 1px solid rgba(255,255,255,0.06) !important;
        gap: 6px !important;
    }
    
    .heartsalign-sidebar-menu li.active {
        background: linear-gradient(135deg, #FF4E64, #c0294a) !important;
        color: #ffffff !important;
        border-color: rgba(255,78,100,0.3) !important;
        box-shadow: 0 2px 8px rgba(255,78,100,0.3) !important;
    }

    /* Display mobile logout button in list scroll */
    .heartsalign-mobile-logout-tab {
        display: inline-flex !important;
        background: rgba(255, 78, 100, 0.08) !important;
        color: #ff6b6b !important;
        border: 1px solid rgba(255, 78, 100, 0.2) !important;
    }

    .heartsalign-content-area {
        flex: 1 !important;
        padding: 15px 15px 120px 15px !important;
        overflow-y: auto !important;
        background-color: #FBFCFA !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Swipe Feed responsive constraints */
    .heartsalign-card-deck {
        height: calc(100vh - 180px) !important;
        max-height: 420px !important;
        margin-bottom: 15px !important;
    }
    .heartsalign-swipe-card {
        height: calc(100vh - 200px) !important;
        max-height: 400px !important;
    }
    
    /* Responsive grid columns */
    .heartsalign-matches-grid, .heartsalign-viewers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* Stacking columns in Messenger with exact full mobile height calculations */
    .heartsalign-messenger-layout {
        flex-direction: column !important;
        height: calc(100vh - 105px) !important;
        background: #ffffff !important;
        border: 1px solid #eaeaea !important;
        border-radius: 12px !important;
        overflow: hidden !important;
    }
    .heartsalign-chat-sidebar {
        width: 100% !important;
        border-right: 0 !important;
        display: flex !important;
    }
    .heartsalign-chat-room {
        width: 100% !important;
        display: none !important;
    }

    /* Lounge Group Chat Container fills screen exactly */
    .heartsalign-lounge-container {
        display: flex !important;
        flex-direction: column !important;
        height: calc(100vh - 105px) !important;
        overflow: hidden !important;
    }
    
    /* When active chat is opened on mobile */
    .heartsalign-messenger-layout.chat-active .heartsalign-chat-sidebar {
        display: none !important;
    }
    .heartsalign-messenger-layout.chat-active .heartsalign-chat-room {
        display: flex !important;
    }

    #btn-chat-back {
        display: inline-block !important; /* Show back button on mobile active chat */
    }

    /* Forms responsive layouts */
    .heartsalign-form-row, .heartsalign-payment-selector-row {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Auth Split-Screen on Mobile: stack vertically and hide left side decoration */
    .heartsalign-auth-wrapper {
        flex-direction: column !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: 100vh !important;
    }
    
    .heartsalign-auth-split-left {
        display: none !important;
    }
    
    .heartsalign-auth-split-right {
        padding: 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Adjust chat rooms layout on mobile */
    .heartsalign-messenger-layout {
        height: calc(100vh - 120px) !important;
    }

    .heartsalign-lounge-container {
        height: calc(100vh - 120px) !important;
    }
}

/* ==========================================================================
   CLEAN WHIELABEL PORTAL VIEWPORT OVERRIDES
   ========================================================================== */
body.heartsalign-clean-page {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important; /* Allow vertical scrolling on login card if screen is short */
    background-color: #FBFCFA !important;
    width: 100vw !important;
    min-height: 100vh !important;
}

/* Ensure wrappers occupy 100% screen and act as real apps */
body.heartsalign-clean-page .heartsalign-dashboard-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    z-index: 9999 !important;
}

body.heartsalign-clean-page .heartsalign-auth-wrapper {
    position: relative !important;
    max-width: 400px !important;
    width: 92% !important;
    margin: 10vh auto !important;
    min-height: auto !important;
    height: auto !important;
    max-height: none !important;
    z-index: 9999 !important;
}

/* Make content area fill height properly and scroll individually */
body.heartsalign-clean-page .heartsalign-content-area {
    height: 100vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    padding-bottom: 120px !important; /* Premium footer padding for desktop breathing room */
}

@media (max-width: 600px) {
    body.heartsalign-clean-page .heartsalign-content-area {
        height: calc(100vh - 65px) !important;
        padding-bottom: 30px !important;
    }
}


/* ==========================================================================
   ✨ GLASSMORPHISM & SOFT UI PREMIUM DESIGN SYSTEM
   ========================================================================== */

/* --- Ambient animated background for the clean page --- */
body.heartsalign-clean-page {
    background: linear-gradient(135deg, #1a0533 0%, #0d1b2a 40%, #1a0533 70%, #2d0a4e 100%) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 14s ease infinite !important;
    position: relative !important;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Soft floating orbs behind the UI */
body.heartsalign-clean-page::before,
body.heartsalign-clean-page::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: orbFloat 10s ease-in-out infinite alternate;
}
body.heartsalign-clean-page::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #FF4E64 0%, transparent 70%);
    top: -120px;
    left: -100px;
}
body.heartsalign-clean-page::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    animation-delay: 4s;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.12); }
}

/* --- Main Dashboard Wrapper: Glassmorphism card --- */
body.heartsalign-clean-page .heartsalign-dashboard-wrapper {
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08) !important;
    border-radius: 0 !important;
    z-index: 1 !important;
    position: relative !important;
}

/* --- Sidebar: Deep glass panel --- */
body.heartsalign-clean-page .heartsalign-sidebar {
    background: rgba(10, 6, 22, 0.60) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.heartsalign-clean-page .heartsalign-user-summary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    backdrop-filter: blur(10px) !important;
}

body.heartsalign-clean-page .heartsalign-sidebar-menu li {
    color: rgba(255, 255, 255, 0.55) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.heartsalign-clean-page .heartsalign-sidebar-menu li:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
    transform: translateX(4px);
}

body.heartsalign-clean-page .heartsalign-sidebar-menu li.active {
    background: linear-gradient(135deg, rgba(255, 78, 100, 0.85), rgba(180, 30, 60, 0.85)) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(255, 78, 100, 0.35) !important;
    border: 1px solid rgba(255, 78, 100, 0.25) !important;
    backdrop-filter: blur(8px) !important;
}

/* --- Content Area: Soft frosted panel --- */
body.heartsalign-clean-page .heartsalign-content-area {
    background: rgba(255, 255, 255, 0.03) !important;
    color: rgba(255, 255, 255, 0.90) !important;
}

body.heartsalign-clean-page .heartsalign-tab-content h3,
body.heartsalign-clean-page .heartsalign-tab-content h5 {
    color: rgba(255, 255, 255, 0.95) !important;
}

body.heartsalign-clean-page .heartsalign-sub {
    color: rgba(255, 255, 255, 0.50) !important;
}

/* --- Cards: Profile, Match, Viewer --- */
body.heartsalign-clean-page .heartsalign-swipe-card,
body.heartsalign-clean-page .heartsalign-match-card,
body.heartsalign-clean-page .heartsalign-viewer-card,
body.heartsalign-clean-page .heartsalign-current-status-card,
body.heartsalign-clean-page .heartsalign-plan-card,
body.heartsalign-clean-page .heartsalign-payment-selector-panel,
body.heartsalign-clean-page .heartsalign-instruction-card,
body.heartsalign-clean-page .heartsalign-analytics-card,
body.heartsalign-clean-page .heartsalign-profile-layout,
body.heartsalign-clean-page .stat-box {
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.06) !important;
    color: rgba(255, 255, 255, 0.88) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

body.heartsalign-clean-page .heartsalign-match-card:hover,
body.heartsalign-clean-page .heartsalign-plan-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(255, 78, 100, 0.20), inset 0 1px 0 rgba(255,255,255,0.10) !important;
    border-color: rgba(255, 78, 100, 0.35) !important;
}

body.heartsalign-clean-page .heartsalign-match-card h5,
body.heartsalign-clean-page .heartsalign-match-card p,
body.heartsalign-clean-page .heartsalign-current-status-card h5,
body.heartsalign-clean-page .heartsalign-current-status-card p,
body.heartsalign-clean-page .stat-box p {
    color: rgba(255, 255, 255, 0.70) !important;
}

body.heartsalign-clean-page .stat-box h3 {
    color: #FF6B7A !important;
}

/* --- Messenger & Lounge: Glass chat panels --- */
body.heartsalign-clean-page .heartsalign-messenger-layout,
body.heartsalign-clean-page .heartsalign-lounge-container {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.30) !important;
}

body.heartsalign-clean-page .heartsalign-chat-sidebar {
    background: rgba(0, 0, 0, 0.20) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.07) !important;
}

body.heartsalign-clean-page .heartsalign-chat-sidebar h4,
body.heartsalign-clean-page .heartsalign-chat-room .heartsalign-chat-header h4,
body.heartsalign-clean-page #chat-recipient-name {
    color: rgba(255, 255, 255, 0.90) !important;
}

body.heartsalign-clean-page .heartsalign-chat-messages {
    background: transparent !important;
}

body.heartsalign-clean-page .heartsalign-lounge-messages {
    background: transparent !important;
}

body.heartsalign-clean-page .heartsalign-lounge-footer,
body.heartsalign-clean-page .heartsalign-chat-footer {
    background: rgba(0, 0, 0, 0.20) !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
}

body.heartsalign-clean-page .heartsalign-thread-item {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

body.heartsalign-clean-page .heartsalign-thread-item:hover,
body.heartsalign-clean-page .heartsalign-thread-item.active {
    background: rgba(255, 78, 100, 0.12) !important;
}

body.heartsalign-clean-page .heartsalign-thread-meta h5,
body.heartsalign-clean-page .heartsalign-thread-meta p {
    color: rgba(255,255,255,0.75) !important;
}

/* Chat bubbles */
body.heartsalign-clean-page .heartsalign-msg-bubble.me {
    background: linear-gradient(135deg, rgba(255, 78, 100, 0.80), rgba(180, 30, 60, 0.80)) !important;
    color: #fff !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,78,100,0.20) !important;
}

body.heartsalign-clean-page .heartsalign-msg-bubble.other {
    background: rgba(255, 255, 255, 0.09) !important;
    color: rgba(255,255,255,0.88) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(8px) !important;
}

body.heartsalign-clean-page .lounge-bubble {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(8px) !important;
}

/* --- Forms & Inputs: Glass fields --- */
body.heartsalign-clean-page .heartsalign-form input,
body.heartsalign-clean-page .heartsalign-form select,
body.heartsalign-clean-page .heartsalign-form textarea,
body.heartsalign-clean-page .heartsalign-filters select,
body.heartsalign-clean-page .heartsalign-payment-selector-panel select,
body.heartsalign-clean-page .heartsalign-payment-selector-panel input,
body.heartsalign-clean-page #heartsalign-msg-input,
body.heartsalign-clean-page #lounge-msg-input {
    background: rgba(255, 255, 255, 0.07) !important;
    color: rgba(255, 255, 255, 0.90) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 10px !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

body.heartsalign-clean-page .heartsalign-form input::placeholder,
body.heartsalign-clean-page .heartsalign-form textarea::placeholder,
body.heartsalign-clean-page #heartsalign-msg-input::placeholder,
body.heartsalign-clean-page #lounge-msg-input::placeholder {
    color: rgba(255, 255, 255, 0.35) !important;
}

body.heartsalign-clean-page .heartsalign-form input:focus,
body.heartsalign-clean-page .heartsalign-form select:focus,
body.heartsalign-clean-page .heartsalign-form textarea:focus,
body.heartsalign-clean-page #heartsalign-msg-input:focus,
body.heartsalign-clean-page #lounge-msg-input:focus {
    border-color: rgba(255, 78, 100, 0.60) !important;
    box-shadow: 0 0 0 3px rgba(255, 78, 100, 0.15) !important;
    outline: none !important;
}

body.heartsalign-clean-page .heartsalign-form label {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
}

/* --- Buttons: Glowing gradient --- */
body.heartsalign-clean-page .heartsalign-btn-primary,
body.heartsalign-clean-page .heartsalign-filters button {
    background: linear-gradient(135deg, #FF4E64, #c0294a) !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(255, 78, 100, 0.40) !important;
    color: #fff !important;
    letter-spacing: 0.3px;
    transition: all 0.22s ease !important;
}

body.heartsalign-clean-page .heartsalign-btn-primary:hover,
body.heartsalign-clean-page .heartsalign-filters button:hover {
    background: linear-gradient(135deg, #ff6b7a, #e03050) !important;
    box-shadow: 0 6px 24px rgba(255, 78, 100, 0.55) !important;
    transform: translateY(-2px) !important;
}

/* --- Payment Plan Cards: Premium bordered glow --- */
body.heartsalign-clean-page .heartsalign-plan-featured {
    border: 1px solid rgba(255, 78, 100, 0.50) !important;
    box-shadow: 0 0 30px rgba(255, 78, 100, 0.20), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

/* Token badge */
body.heartsalign-clean-page .heartsalign-token-badge {
    background: rgba(255, 215, 0, 0.12) !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
    color: #FFD700 !important;
    padding: 3px 8px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Payment history table */
body.heartsalign-clean-page .table-heartsalign-payments {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    backdrop-filter: blur(12px) !important;
}

body.heartsalign-clean-page .table-heartsalign-payments th {
    background: rgba(0, 0, 0, 0.20) !important;
    color: rgba(255,255,255,0.75) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.heartsalign-clean-page .table-heartsalign-payments td {
    color: rgba(255,255,255,0.70) !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
}

/* ==========================================================================
   ✨ AUTH / LOGIN PAGE GLASSMORPHISM
   ========================================================================== */

body.heartsalign-clean-page .heartsalign-auth-wrapper {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.50), inset 0 1px 0 rgba(255,255,255,0.10) !important;
    border-radius: 20px !important;
    z-index: 9999 !important; /* Keep it on top of body floating orbs */
    
    /* Perfect centered glass board with natural height */
    max-width: 400px !important; /* Elegant compact width */
    width: 92% !important; /* Proper margin on small screens */
    margin: 8vh auto !important;
    height: auto !important; /* Natural height! Do NOT force to 100vh */
    min-height: auto !important; /* Natural height! Do NOT force to stretch */
    max-height: none !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
}

/* Hide the left split pane completely so it is a single unified compact card */
body.heartsalign-clean-page .heartsalign-auth-split-left {
    display: none !important;
}

/* Center and style the right split pane inside the card */
body.heartsalign-clean-page .heartsalign-auth-split-right {
    padding: 24px 20px !important; /* Compact premium padding */
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Align to the top of the card */
    gap: 12px !important; /* Tight grouping gap */
    flex: 1 !important;
}

/* Compact spacing for forms inside login board */
body.heartsalign-clean-page .heartsalign-auth-form {
    display: none;
    flex-direction: column !important;
    gap: 10px !important; /* Tight professional spacing between input blocks */
    margin-top: 0 !important;
}
body.heartsalign-clean-page .heartsalign-auth-form.active {
    display: flex !important;
}

body.heartsalign-clean-page .heartsalign-auth-form .heartsalign-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important; /* Tighter gap between label and input box */
    margin: 0 !important;
}

/* Inline success and error message banner styles */
body.heartsalign-clean-page .heartsalign-auth-msg {
    padding: 6px 10px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
    margin-top: 2px !important;
}
body.heartsalign-clean-page .heartsalign-auth-msg.success {
    background: rgba(76, 175, 80, 0.12) !important;
    border: 1px solid rgba(76, 175, 80, 0.25) !important;
    color: #81c784 !important;
}
body.heartsalign-clean-page .heartsalign-auth-msg.error {
    background: rgba(244, 67, 54, 0.12) !important;
    border: 1px solid rgba(244, 67, 54, 0.25) !important;
    color: #e57373 !important;
}

/* Premium glass styling for SVG metrics chart container */
body.heartsalign-clean-page .svg-chart-container {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* Auth branding subtitle */
body.heartsalign-clean-page .heartsalign-auth-branding-subtitle {
    font-size: 9px !important;
    color: rgba(255, 255, 255, 0.45) !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
    margin-bottom: 0 !important;
    text-align: center !important;
    font-weight: 400 !important;
}

body.heartsalign-clean-page .heartsalign-auth-logo h2 {
    font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 26px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffe3e6 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(255, 78, 100, 0.30) !important;
    text-align: center !important;
    margin: 0 auto 6px auto !important;
    display: block !important;
}

body.heartsalign-clean-page .heartsalign-left-overlay h1 {
    font-family: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif !important;
    font-size: 30px !important;
    font-style: italic !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(255, 78, 100, 0.30) !important;
    margin-bottom: 12px !important;
}

body.heartsalign-clean-page .heartsalign-auth-logo img {
    margin: 0 auto 6px auto !important;
    max-height: 32px !important;
    display: block !important;
}

/* Auth tabs */
body.heartsalign-clean-page .heartsalign-auth-tabs {
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
    background: transparent !important;
    margin-bottom: 12px !important; /* Tightened gap below switch tabs */
    display: flex !important;
    gap: 8px !important;
}

body.heartsalign-clean-page .btn-auth-switch {
    color: rgba(255,255,255,0.45) !important;
    border-bottom: 2px solid transparent !important;
    transition: color 0.2s ease, border-color 0.2s ease !important;
    font-size: 11px !important;
    padding: 6px 4px !important; /* Compact switch tabs */
    background: none !important;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

body.heartsalign-clean-page .btn-auth-switch.active {
    color: #FF6B7A !important;
    border-bottom-color: #FF4E64 !important;
    text-shadow: 0 0 10px rgba(255,78,100,0.40) !important;
}

/* Auth form inputs */
body.heartsalign-clean-page .heartsalign-auth-form input {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 8px 12px !important;
    font-size: 13px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.heartsalign-clean-page .heartsalign-auth-form input::placeholder {
    color: rgba(255,255,255,0.30) !important;
}

body.heartsalign-clean-page .heartsalign-auth-form input:focus {
    border-color: rgba(255, 78, 100, 0.55) !important;
    box-shadow: 0 0 0 3px rgba(255, 78, 100, 0.12) !important;
}

body.heartsalign-clean-page .heartsalign-auth-form label {
    color: rgba(255,255,255,0.50) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
}

body.heartsalign-clean-page .heartsalign-help-text {
    color: rgba(255,255,255,0.40) !important;
    font-size: 9px !important;
    margin-top: 6px !important;
    margin-bottom: 2px !important;
    line-height: 1.3 !important;
}

body.heartsalign-clean-page .heartsalign-auth-form .btn-auth-submit,
body.heartsalign-clean-page .heartsalign-auth-form button[type="submit"] {
    background: linear-gradient(135deg, #FF4E64 0%, #FF6B7A 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 9px 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 4px 12px rgba(255, 78, 100, 0.20) !important;
    width: 100% !important;
    margin-top: 4px !important;
}

body.heartsalign-clean-page .heartsalign-auth-form .btn-auth-submit:hover,
body.heartsalign-clean-page .heartsalign-auth-form button[type="submit"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(255, 78, 100, 0.30) !important;
}

body.heartsalign-clean-page .heartsalign-auth-form .btn-auth-submit:active,
body.heartsalign-clean-page .heartsalign-auth-form button[type="submit"]:active {
    transform: translateY(0) !important;
}

/* Activation container (set password / reset password) */
body.heartsalign-clean-page .heartsalign-activation-container {
    max-width: 420px;
    margin: auto;
    padding: 40px 36px;
    background: rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.40) !important;
}

body.heartsalign-clean-page .heartsalign-activation-container h3 {
    color: rgba(255,255,255,0.92) !important;
    margin-bottom: 8px !important;
}

body.heartsalign-clean-page .heartsalign-activation-container p {
    color: rgba(255,255,255,0.50) !important;
    font-size: 13px !important;
    margin-bottom: 20px !important;
}

/* Discover filter selects on dashboard */
body.heartsalign-clean-page .heartsalign-filters select {
    background: rgba(255,255,255,0.07) !important;
    color: rgba(255,255,255,0.85) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
}

/* Sidebar footer logout button */
body.heartsalign-clean-page .heartsalign-logout-link {
    color: rgba(255, 100, 120, 0.80) !important;
    border: 1px solid rgba(255,78,100,0.20) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}
body.heartsalign-clean-page .heartsalign-logout-link:hover {
    background: rgba(255,78,100,0.15) !important;
    color: #fff !important;
}

/* Fullscreen saas toggle button */
body.heartsalign-clean-page .btn-sidebar-ctrl {
    background: rgba(255,255,255,0.06) !important;
    color: rgba(255,255,255,0.55) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
}
body.heartsalign-clean-page .btn-sidebar-ctrl:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

/* SVG chart text colours */
body.heartsalign-clean-page #heartsalign-svg-chart text {
    fill: rgba(255,255,255,0.50) !important;
}

body.heartsalign-clean-page #heartsalign-svg-chart line {
    stroke: rgba(255,255,255,0.10) !important;
}

/* Emoji drawer */
body.heartsalign-clean-page .heartsalign-emoji-drawer {
    background: rgba(20, 10, 40, 0.90) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

/* Icebreaker chips */
body.heartsalign-clean-page .icebreaker-chip {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.70) !important;
}
body.heartsalign-clean-page .icebreaker-chip:hover {
    background: rgba(255,210,70,0.20) !important;
    border-color: rgba(255,210,70,0.35) !important;
    color: #FFD700 !important;
}

/* Alert boxes */
body.heartsalign-clean-page .heartsalign-alert {
    background: rgba(255, 200, 0, 0.10) !important;
    border-left: 4px solid #FBC02D !important;
    color: #FFE082 !important;
}

/* Thin soft scrollbars throughout */
body.heartsalign-clean-page *::-webkit-scrollbar {
    width: 4px !important;
    height: 4px !important;
}
body.heartsalign-clean-page *::-webkit-scrollbar-track {
    background: transparent !important;
}
body.heartsalign-clean-page *::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15) !important;
    border-radius: 10px !important;
}

/* ==========================================================================
   ✨ PREMIUM MOBILE OVERRIDES & COLOR HARMONIZATION
   ========================================================================== */

@media (max-width: 600px) {
    /* 1. Global Spacings & Tiny Professional Text Sizes */
    body.heartsalign-clean-page .heartsalign-content-area {
        padding: 10px 12px 80px 12px !important; /* Premium footer padding for mobile breathing room */
    }
    body.heartsalign-clean-page .heartsalign-tab-content h3 {
        font-size: 14px !important;
        margin-top: 4px !important;
        margin-bottom: 2px !important;
        font-weight: 700 !important;
    }
    body.heartsalign-clean-page .heartsalign-sub {
        font-size: 10px !important;
        margin-bottom: 10px !important;
        line-height: 1.4 !important;
    }
    
    /* 2. Tiny Professional Buttons */
    body.heartsalign-clean-page .heartsalign-btn-primary,
    body.heartsalign-clean-page .heartsalign-filters button,
    body.heartsalign-clean-page .heartsalign-btn-upload,
    body.heartsalign-clean-page button[type="submit"] {
        padding: 6px 12px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
        min-height: auto !important;
        height: auto !important;
        line-height: 1.2 !important;
    }

    /* 3. Discover Tab: Filter Containers & Controls */
    .heartsalign-discover-header {
        margin-bottom: 10px !important;
    }
    .heartsalign-filters-wrapper {
        padding: 8px 10px !important;
        border-radius: 8px !important;
    }
    .heartsalign-filters {
        gap: 8px !important;
    }
    .filter-item {
        gap: 3px !important;
    }
    .filter-item label {
        font-size: 9px !important;
    }
    .heartsalign-filters select,
    .heartsalign-filters input {
        padding: 5px 8px !important;
        font-size: 11px !important;
        min-height: 28px !important;
        border-radius: 6px !important;
    }

    /* Swipe Action Buttons */
    .btn-swipe {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
    .heartsalign-swipe-actions {
        bottom: -18px !important;
        gap: 12px !important;
    }
    .heartsalign-card-deck {
        height: calc(100vh - 170px) !important;
    }
    .heartsalign-swipe-card {
        height: calc(100vh - 180px) !important;
    }

    /* 4. Matches & Viewers Grid: Tiny and Professional Cards */
    .heartsalign-matches-grid, 
    .heartsalign-viewers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .heartsalign-match-card, 
    .heartsalign-viewer-card {
        padding-bottom: 8px !important;
        border-radius: 8px !important;
    }
    .heartsalign-match-avatar,
    .heartsalign-viewer-avatar {
        width: 48px !important;
        height: 48px !important;
        margin: 10px auto 4px auto !important;
    }
    .heartsalign-match-card h5,
    .heartsalign-viewer-card h5 {
        font-size: 11px !important;
        margin: 6px 0 2px 0 !important;
    }
    .heartsalign-match-card p,
    .heartsalign-viewer-card p {
        font-size: 9px !important;
    }

    /* 5. Chat Rooms & Messenger: Compact & Highly Functional */
    .heartsalign-messenger-layout,
    .heartsalign-lounge-container {
        height: calc(100vh - 135px) !important;
        border-radius: 8px !important;
    }
    .heartsalign-chat-sidebar h4 {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    .heartsalign-thread-item {
        padding: 6px 10px !important;
        gap: 8px !important;
    }
    .heartsalign-thread-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    .heartsalign-thread-meta h5 {
        font-size: 11px !important;
    }
    .heartsalign-thread-meta p {
        font-size: 9px !important;
    }
    .heartsalign-chat-header {
        padding: 8px 12px !important;
    }
    .heartsalign-recipient-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    .heartsalign-recipient-info h4 {
        font-size: 11px !important;
    }
    .heartsalign-recipient-info span {
        font-size: 8px !important;
    }
    .heartsalign-chat-messages,
    .heartsalign-lounge-messages {
        padding: 8px !important;
        gap: 8px !important;
    }
    .heartsalign-msg-bubble {
        max-width: 82% !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 8px !important;
    }
    .heartsalign-chat-footer,
    .heartsalign-lounge-footer {
        padding: 8px !important;
        gap: 6px !important;
    }
    .heartsalign-chat-footer textarea,
    .heartsalign-lounge-footer textarea {
        height: 32px !important;
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }
    .heartsalign-chat-footer button,
    .heartsalign-lounge-footer button {
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
    }
    .heartsalign-chat-footer button svg,
    .heartsalign-lounge-footer button svg {
        width: 14px !important;
        height: 14px !important;
    }
    .btn-emoji-trigger {
        padding: 4px 8px !important;
        font-size: 10px !important;
        border-radius: 6px !important;
    }
    .heartsalign-emoji-drawer {
        bottom: 30px !important;
        width: 180px !important;
        padding: 6px !important;
        gap: 6px !important;
    }
    .heartsalign-emoji-drawer span {
        font-size: 15px !important;
    }
    .heartsalign-icebreakers {
        gap: 4px !important;
        margin: 4px 0 !important;
    }
    .icebreaker-chip {
        padding: 3px 6px !important;
        font-size: 9px !important;
        border-radius: 8px !important;
    }

    /* Flirt Lounge bubble overrides */
    .lounge-bubble {
        padding: 6px 10px !important;
        margin-bottom: 6px !important;
        max-width: 90% !important;
        border-radius: 8px !important;
    }
    .lounge-bubble-meta {
        font-size: 9px !important;
        gap: 6px !important;
        margin-bottom: 2px !important;
    }
    .lounge-avatar {
        width: 16px !important;
        height: 16px !important;
    }
    .lounge-bubble-text {
        font-size: 11px !important;
    }

    /* 6. Stats Tab: Coordinate Chart Responsive Fit */
    #heartsalign-svg-chart {
        width: 100% !important;
        height: auto !important;
    }
    .svg-chart-container {
        padding: 10px !important;
    }
    .heartsalign-analytics-grid-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .stat-box {
        padding: 8px !important;
    }
    .stat-box h3 {
        font-size: 16px !important;
    }
    .stat-box p {
        font-size: 9px !important;
    }

    /* 7. My Profile: Stacking columns to prevent disappears */
    .heartsalign-profile-layout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .heartsalign-profile-photo-pane {
        width: 100% !important;
    }
    .heartsalign-photo-preview {
        width: 110px !important;
        height: 110px !important;
        margin-bottom: 10px !important;
    }
    .heartsalign-form {
        width: 100% !important;
    }
    .heartsalign-form-group {
        gap: 4px !important;
    }
    .heartsalign-form-group label {
        font-size: 11px !important;
    }
    .heartsalign-form-group input,
    .heartsalign-form-group select,
    .heartsalign-form-group textarea {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 6px !important;
    }

    /* 8. Top Up Tab: Stacking Cards & Shrunk Padding */
    .heartsalign-plans-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    .heartsalign-plan-card {
        padding: 14px !important;
    }
    .heartsalign-popular-badge {
        font-size: 8px !important;
        padding: 3px 10px !important;
    }
    .heartsalign-plan-header h4 {
        font-size: 14px !important;
    }
    .heartsalign-plan-desc {
        font-size: 10px !important;
        margin-bottom: 12px !important;
    }
    .heartsalign-plan-features {
        margin-bottom: 15px !important;
    }
    .heartsalign-plan-features li {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    .heartsalign-plan-price-tag {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    .heartsalign-payment-selector-panel {
        padding: 14px !important;
        margin-top: 15px !important;
    }
    .heartsalign-payment-selector-panel h4 {
        font-size: 13px !important;
        margin-bottom: 10px !important;
    }
    .heartsalign-instruction-card {
        padding: 12px !important;
        margin-bottom: 15px !important;
    }
    .heartsalign-instruction-card h5 {
        font-size: 11px !important;
    }
    .heartsalign-instruction-card p {
        font-size: 11px !important;
    }
    .heartsalign-pricing-badge {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
    #heartsalign-country-details-box {
        padding: 12px !important;
    }

    /* 9. Payment History Table: Beautiful Responsive Card Conversion */
    .table-heartsalign-payments thead {
        display: none !important;
    }
    .table-heartsalign-payments,
    .table-heartsalign-payments tbody,
    .table-heartsalign-payments tr,
    .table-heartsalign-payments td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .table-heartsalign-payments tr {
        margin-bottom: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        padding: 8px !important;
    }
    .table-heartsalign-payments td {
        border-bottom: none !important;
        padding: 4px 6px !important;
        font-size: 11px !important;
        text-align: right !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    .table-heartsalign-payments td::before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.4) !important;
        text-transform: uppercase !important;
        font-size: 9px !important;
        margin-right: 10px !important;
        text-align: left !important;
    }
}

/* ==========================================================================
   🌈 GLASSMORPHISM & COLOR READABILITY HARMONIZATION
   ========================================================================== */

body.heartsalign-clean-page .heartsalign-plan-desc {
    color: rgba(255, 255, 255, 0.6) !important;
}

body.heartsalign-clean-page .heartsalign-plan-features li {
    color: rgba(255, 255, 255, 0.75) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body.heartsalign-clean-page .heartsalign-plan-price-tag {
    color: #FFD700 !important;
    background: rgba(255, 215, 0, 0.12) !important;
    border: 1px solid rgba(255, 215, 0, 0.25) !important;
}

body.heartsalign-clean-page .heartsalign-instruction-card p {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.heartsalign-clean-page .heartsalign-instruction-card h5 {
    color: #ffffff !important;
}

body.heartsalign-clean-page .heartsalign-instruction-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-left: 4px solid #FF4E64 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Premium DOM Footer Spacer */
.heartsalign-dashboard-footer-spacer {
    display: block !important;
    height: 100px !important;
    width: 100% !important;
    clear: both !important;
    pointer-events: none !important;
    background: transparent !important;
}

/* ==========================================================================
   ✨ DYNAMIC LOADER & MATCH PULSATING MICRO-ANIMATIONS
   ========================================================================== */

.heartsalign-loader-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px 20px !important;
    text-align: center !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}

/* Custom Dual-Ring Neon Spinner */
.heartsalign-loading-spinner {
    display: inline-block !important;
    width: 32px !important;
    height: 32px !important;
    border: 3px solid rgba(255, 78, 100, 0.12) !important;
    border-radius: 50% !important;
    border-top-color: #FF4E64 !important;
    border-right-color: #FF4E64 !important;
    animation: heartsalign-spin 0.65s linear infinite !important;
    margin-bottom: 14px !important;
    box-shadow: 0 0 10px rgba(255, 78, 100, 0.15) !important;
}

/* Pulsating Heart Micro-Animation for Discover Feed Matching */
.heartsalign-heart-loader {
    display: inline-block !important;
    position: relative !important;
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 18px !important;
    margin-top: 10px !important;
    transform: rotate(-45deg) !important;
    background-color: #FF4E64 !important;
    animation: heartsalign-heartbeat 1.1s infinite !important;
    box-shadow: 0 0 15px rgba(255, 78, 100, 0.35) !important;
}
.heartsalign-heart-loader:before,
.heartsalign-heart-loader:after {
    content: "" !important;
    position: absolute !important;
    width: 30px !important;
    height: 30px !important;
    background-color: #FF4E64 !important;
    border-radius: 50% !important;
}
.heartsalign-heart-loader:before {
    top: -15px !important;
    left: 0 !important;
}
.heartsalign-heart-loader:after {
    top: 0 !important;
    left: 15px !important;
}

/* Spinner Animations */
@keyframes heartsalign-spin {
    to { transform: rotate(360deg); }
}

@keyframes heartsalign-heartbeat {
    0% { transform: scale(0.9) rotate(-45deg); }
    30% { transform: scale(1.08) rotate(-45deg); }
    50% { transform: scale(0.9) rotate(-45deg); }
    75% { transform: scale(1.15) rotate(-45deg); }
    100% { transform: scale(0.9) rotate(-45deg); }
}

/* ==========================================================================
   ✨ INDIVIDUAL SWIPE GRID LAYOUT & COMPACT SIZING
   ========================================================================== */

.heartsalign-swipe-grid,
.heartsalign-discover-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
    gap: 32px !important;
    width: 100% !important;
    padding: 10px 0 !important;
}

/* Enforce relative inline block layout instead of absolute stacked cards - COMPACT OVERHAUL */
.heartsalign-swipe-card.individual-card,
.heartsalign-discover-member-card {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    padding: 10px !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.heartsalign-swipe-card.individual-card:hover,
.heartsalign-discover-member-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255, 78, 100, 0.35) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow: 0 6px 20px rgba(255, 78, 100, 0.12) !important;
}

/* Slick compact details overrides */
.heartsalign-swipe-card.individual-card .heartsalign-discover-member-avatar,
.heartsalign-discover-member-card .heartsalign-discover-member-avatar {
    width: 44px !important;
    height: 44px !important;
    border-width: 1.5px !important;
}

.heartsalign-swipe-card.individual-card h5,
.heartsalign-discover-member-card h5 {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
    line-height: 1.2 !important;
}

.heartsalign-swipe-card.individual-card p,
.heartsalign-discover-member-card p {
    font-size: 9.5px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.2 !important;
}

.heartsalign-swipe-card.individual-card .heartsalign-badge,
.heartsalign-discover-member-card .heartsalign-badge {
    font-size: 7px !important;
    padding: 1px 5px !important;
    border-radius: 6px !important;
}

/* Realign visual transitions for grid card swipe removals */
.heartsalign-swipe-card.individual-card[style*="translate"] {
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Individual card swipe actions layout override */
.heartsalign-swipe-card.individual-card .heartsalign-swipe-actions {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 8px !important;
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    z-index: 1 !important;
    justify-content: center !important;
}

.member-card-actions {
    margin-top: 8px !important;
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
}

.btn-grid-action {
    flex: 1 !important;
    padding: 5px 8px !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
}

.btn-grid-chat {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.btn-grid-chat:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.btn-grid-like {
    background: #FF4E64 !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(255, 78, 100, 0.2) !important;
}

.btn-grid-like:hover {
    background: #ff334e !important;
    box-shadow: 0 4px 12px rgba(255, 78, 100, 0.4) !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    flex: none !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe:hover {
    transform: scale(1.18) !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe-dislike {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe-dislike:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe-like {
    background: rgba(255, 78, 100, 0.08) !important;
    border: 1.5px solid rgba(255, 78, 100, 0.35) !important;
    color: #FF4E64 !important;
    box-shadow: 0 4px 12px rgba(255, 78, 100, 0.15) !important;
}

.heartsalign-swipe-card.individual-card .btn-swipe-like:hover {
    background: #FF4E64 !important;
    border-color: #FF4E64 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(255, 78, 100, 0.5) !important;
}

/* Custom TikTok/Facebook Reactions Keyframes */
@keyframes heartsalign-heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.22); }
    28% { transform: scale(1); }
    42% { transform: scale(1.22); }
    70% { transform: scale(1); }
}

.heartsalign-swipe-card.individual-card .btn-swipe-like:hover .icon-like {
    animation: heartsalign-heartbeat 0.75s infinite ease-in-out;
}

.heartsalign-swipe-card.individual-card .btn-swipe-like:hover .icon-like path {
    fill: #ffffff !important;
}

@keyframes heartsalign-dislike-wobble {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-20deg) scale(1.1); }
    75% { transform: rotate(20deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.heartsalign-swipe-card.individual-card .btn-swipe-dislike:hover .icon-skip {
    animation: heartsalign-dislike-wobble 0.45s ease-in-out;
    color: #FF4E64 !important;
}

/* Dynamic Manual Transfer Instructions Text & Board Readability Fixes */
#heartsalign-country-details-box {
    background: #f7f9fa !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
}

#dynamic-instruction-text {
    color: #222021 !important; /* Premium high-contrast dark text for standard light backgrounds */
}

body.heartsalign-clean-page #heartsalign-country-details-box {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25) !important;
}

body.heartsalign-clean-page #dynamic-instruction-text {
    color: rgba(255, 255, 255, 0.92) !important; /* Premium bright white text for clean dark backgrounds */
}

/* Collapse Discover empty spacing between filters and cards list */
body.heartsalign-clean-page .heartsalign-feed-container {
    display: block !important;
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
    margin-top: 15px !important;
}

body.heartsalign-clean-page .heartsalign-discover-header {
    margin-bottom: 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 15px !important;
}

