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

:root {
    --primary: #b30f0f;
    --primary-dark: #900a0a;
    --accent: #d92d20;
    --muted: #667085;
    --muted-2: #475467;
    --bg: #ffffff;
    --card-border: #eaecf0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 20px rgba(2, 6, 23, 0.06);
    --shadow-md: 0 8px 30px rgba(2, 6, 23, 0.08);
}

/* Base typography */
body {
    font-family: 'Outfit', sans-serif !important;
    color: var(--muted-2);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sidebar Filters styling */
.filter-sidebar {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    border: 1px solid var(--card-border);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #f2f4f7;
    padding-bottom: 16px
}

.filter-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d2939;
    margin: 0
}

.reset-all-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color .2s
}

.reset-all-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline
}

.filter-group {
    margin-bottom: 20px
}

.filter-group-header {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-2);
    margin-bottom: 8px;
    display: flex;
    align-items: center
}

.filter-group-header i {
    margin-right: 8px;
    color: var(--primary);
    font-size: 16px
}

.filter-select,
.filter-input {
    border-radius: var(--radius-sm);
    border: 1px solid #d0d5dd;
    height: 44px;
    font-size: 14px;
    color: var(--muted-2);
    padding: 10px 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: border-color .2s, box-shadow .2s;
    width: 100%
}

.filter-select:focus,
.filter-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 15, 15, 0.12);
    outline: none
}

.age-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.age-inputs .filter-select {
    padding: 10px 4px !important;
    text-align: center !important;
    text-align-last: center !important;
}

.btn-apply-filters {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    height: 48px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color .15s, transform .08s;
    margin-top: 28px;
    width: 100%
}

.btn-apply-filters:hover {
    background: var(--primary-dark)
}

.btn-apply-filters:active {
    transform: scale(.99)
}

/* Top Search Bar styling */
.search-form-top {
    margin-bottom: 24px
}

.search-bar-container {
    position: relative;
    display: flex;
    background: var(--bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    overflow: hidden;
    padding: 4px;
    align-items: center
}

.search-icon-inside {
    position: absolute;
    left: 20px;
    color: var(--muted);
    font-size: 18px;
    pointer-events: none
}

.top-search-input {
    border: none !important;
    outline: none !important;
    height: 52px !important;
    font-size: 16px !important;
    color: #1d2939 !important;
    padding-left: 54px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.top-search-input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.btn-search-go {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-sm) !important;
    padding: 0 28px;
    height: 48px;
    border: none;
    transition: background-color .15s
}

.btn-search-go:hover {
    background: var(--primary-dark) !important
}

/* Results Toolbar styling */
.results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    box-shadow: 0 2px 12px rgba(2, 6, 23, 0.03);
    border: 1px solid var(--card-border)
}

.toolbar-left {
    font-size: 16px;
    font-weight: 500;
    color: var(--muted-2)
}

.profile-count-highlight {
    color: var(--primary);
    font-weight: 700
}

.toolbar-right {
    display: flex;
    align-items: center
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 8px
}

.sort-label {
    font-size: 14px;
    color: var(--muted-2);
    white-space: nowrap
}

.sort-select-inline {
    border-radius: var(--radius-sm);
    border: 1px solid #d0d5dd;
    height: 38px;
    font-size: 14px;
    color: var(--muted-2);
    padding: 8px 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    cursor: pointer;
    min-width: 160px
}

.sort-select-inline:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(179, 15, 15, 0.12);
    outline: none
}

/* Profiles List Grid Layout */
.profiles-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px
}

@media(max-width:992px) {
    .profiles-grid-container {
        grid-template-columns: 1fr
    }
}

/* Profile Card styling */
.profile-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--card-border);
    transition: transform .28s cubic-bezier(.16, 1, .3, 1), box-shadow .28s;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 220px;
    height: 100%
}

.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #d0d5dd
}

.card-image-section {
    position: relative;
    width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #f2f4f7
}

@media(max-width:480px) {
    .profile-card {
        flex-direction: column
    }

    .card-image-section {
        width: 100%;
        height: 200px
    }
}

.profile-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.profile-card:hover .profile-card-img {
    transform: scale(1.05)
}

/* Badges on Image */
.badge-status-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10
}

.status-online {
    background: #ecfdf3;
    color: #027a48;
    border: 1px solid #abf4c7
}

.status-offline {
    background: #f2f4f7;
    color: #344054;
    border: 1px solid #d0d5dd
}

.btn-shortlist-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    cursor: pointer;
    transition: color .2s, background-color .2s, transform .1s;
    z-index: 10
}

.btn-shortlist-heart:hover {
    background: #fff;
    color: var(--accent);
    transform: scale(1.08)
}

.btn-shortlist-heart.active i {
    color: var(--accent)
}

.badge-age-pill {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10
}

/* Card Info Section Styles */
.card-info-section {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    overflow: hidden
}

.info-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 8px
}

.name-id-container {
    display: flex;
    flex-direction: column;
    max-width: 65%
}

.profile-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.profile-card-id {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500
}

.badge-match-percent {
    background: #ffebeb;
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap
}

/* Details list inside card */
.profile-details-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px
}

.detail-item {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: var(--muted-2)
}

.detail-icon {
    width: 20px;
    font-size: 14px;
    margin-right: 8px;
    display: flex;
    justify-content: center
}

.icon-location {
    color: #f04438
}

.icon-education {
    color: var(--primary)
}

.icon-profession {
    color: #f38f18
}

.icon-height {
    color: #0086c9
}

.detail-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

/* Button row at bottom of card */
.card-action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto
}

.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .15s ease;
    cursor: pointer
}

.btn-view-profile {
    background: var(--bg);
    border: 1px solid var(--primary);
    color: var(--primary) !important
}

.btn-view-profile:hover {
    background: #fff0f0
}

.btn-send-interest {
    background: var(--primary);
    color: #fff !important;
    border: none
}

.btn-send-interest:hover {
    background: var(--primary-dark)
}

.no-profiles-found {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px dashed #d0d5dd;
    color: var(--muted)
}

.no-profiles-found i {
    font-size: 48px;
    color: #98a2b3;
    margin-bottom: 16px
}

.no-profiles-found h4 {
    font-weight: 700;
    color: #344054;
    margin-bottom: 8px
}

/* Pagination */
.pagination-container-custom {
    display: flex;
    justify-content: center;
    margin-top: 40px
}

.pagination-custom {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    gap: 8px
}

.page-item-custom {
    display: flex
}

.page-link-custom {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-2);
    background: var(--bg);
    border: 1px solid #d0d5dd;
    text-decoration: none !important;
    transition: all .15s ease
}

.page-item-custom:hover .page-link-custom {
    background: #f9fafb;
    border-color: var(--primary);
    color: var(--primary)
}

.page-item-custom.active .page-link-custom {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(179, 15, 15, 0.22)
}

.page-item-custom.disabled-dot .page-link-custom {
    background: transparent;
    border: none;
    cursor: default;
    color: #98a2b3
}

/* Small responsive tweaks */
@media(max-width:768px) {
    .toolbar-left {
        font-size: 14px
    }

    .profile-card-name {
        font-size: 16px
    }

    .card-info-section {
        padding: 14px
    }
}


/* ============================================================
   PROFILE DETAILS — PREMIUM MODALS & MODERN UI STYLES
   (Extracted from profile-details.php)
   ============================================================ */

/* Scoped Premium Modals Styling */
#contactDetailsModal .modal-content,
#contactCheckModal .modal-content,
#upgradeModal .modal-content,
#sendInterestConfirmModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

#contactDetailsModal .modal-header,
#contactCheckModal .modal-header,
#upgradeModal .modal-header,
#sendInterestConfirmModal .modal-header {
    border-bottom: 1px solid #f3e9dc;
    background: linear-gradient(135deg, #fdfbf7 0%, #f6f0e5 100%);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#contactDetailsModal .modal-header h3,
#contactCheckModal .modal-header h3,
#upgradeModal .modal-header h3,
#sendInterestConfirmModal .modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #66451c;
    margin: 0;
}

#contactDetailsModal .modal-body,
#contactCheckModal .modal-body,
#upgradeModal .modal-body,
#sendInterestConfirmModal .modal-body {
    padding: 24px;
}

/* Specific styling for remaining count badge */
.contact-balance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    border: 1px solid #ffccd0;
    color: #cc0505;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 700;
    margin: 15px 0 20px 0;
    box-shadow: 0 4px 10px rgba(204, 5, 5, 0.08);
}

.modal-body h2 {
    font-size: 14px;
    font-weight: 600;
    color: #7d6b58;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.modal-body p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
}

/* Contact Details Modal list */
.contact-details-list {
    background: #fdfbf8;
    border: 1px solid #f3ebd9;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 15px;
}

.contact-details-list p {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #fcf7ef;
    margin-bottom: 0 !important;
    font-size: 14px;
    color: #444;
}

.contact-details-list p:last-child {
    border-bottom: none;
}

.contact-details-list p b {
    font-weight: 600;
    color: #66451c;
}

.contact-details-list p span {
    color: #222;
    font-weight: 500;
}

.confirm-modal-icon {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe3e3 100%);
    color: #cc0505;
    border: 1px solid #ffccd0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(204, 5, 5, 0.08);
}

/* Footer / Buttons */
#contactDetailsModal .modal-footer,
#contactCheckModal .modal-footer,
#upgradeModal .modal-footer,
#sendInterestConfirmModal .modal-footer {
    border-top: 1px solid #f3e9dc;
    padding: 15px 24px;
    background: #faf7f2;
}

.modal-dialog .btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modal-dialog .btn-danger {
    background: linear-gradient(135deg, #cc0505 0%, #aa0404 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(204, 5, 5, 0.2);
}

.modal-dialog .btn-danger:hover {
    background: linear-gradient(135deg, #aa0404 0%, #880303 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(204, 5, 5, 0.3);
}

.modal-dialog .btn-dark {
    background: #333333;
    border: none;
    color: #ffffff;
}

.modal-dialog .btn-dark:hover {
    background: #111111;
    transform: translateY(-1px);
}

/* Scoped Modern Profile Details UI Styling */
.pr-bio-info .modern-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #cc0505;
    text-transform: uppercase;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cc0505;
    letter-spacing: 0.5px;
    margin-top: 0;
}

.modern-details-block {
    margin-bottom: 20px;
}

.modern-block-title {
    font-size: 14px;
    font-weight: 700;
    color: #cc0505;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-block-title i {
    font-size: 16px;
    color: #cc0505;
}

.info-grid-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.5;
}

.info-chevron {
    color: #cc0505;
    margin-right: 8px;
    font-size: 11px;
    display: flex;
    align-items: center;
}

.info-label {
    width: 140px;
    font-weight: 600;
    color: #222222;
    flex-shrink: 0;
}

.info-colon {
    margin-right: 15px;
    color: #333333;
    font-weight: 600;
    flex-shrink: 0;
}

.info-value {
    color: #444444;
    font-weight: 500;
}

.modern-divider {
    border: 0;
    border-top: 1px solid #eef0f2;
    margin: 20px 0;
}

/* Utility classes for profile-details inline styles */
.contact-remaining-note {
    font-size: 12px;
    margin-bottom: 0;
}

.upgrade-modal-icon {
    font-size: 48px;
    color: #cc0505;
    margin-bottom: 15px;
}

.upgrade-modal-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #66451c;
    margin-bottom: 10px;
}

/* ============================================================
   PLAN PAGE — PURCHASE PLAN MODAL STYLES
   (Extracted from plan.php)
   ============================================================ */

#purchasePlanModal .modal-dialog {
    max-width: 480px;
    margin: 1.75rem auto;
}

#purchasePlanModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #ffffff;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.modal-header-premium {
    padding: 24px 24px 16px 24px;
    position: relative;
    border-bottom: none;
}

.modal-title-premium {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.modal-subtitle-premium {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.modal-close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f3f4f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-size: 16px;
    color: #64748b;
    transition: all 0.2s ease;
    z-index: 10;
    outline: none;
    padding: 0;
    line-height: 1;
}

.modal-close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    background: #fdf2f2;
    color: #ef4444;
}

.modal-body-premium {
    padding: 8px 0 0 0;
}

#purchase_plan_form {
    margin: 0;
}

.select-plan-container {
    margin-bottom: 24px;
    padding: 0 24px;
}

.select-plan-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: block;
}

.select-wrapper {
    position: relative;
}

.select-plan-dropdown {
    width: 100%;
    height: 52px;
    padding: 12px 40px 12px 16px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.select-plan-dropdown:focus {
    border-color: #af0b15;
    box-shadow: 0 0 0 3px rgba(175, 11, 21, 0.1);
}

.select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    font-size: 14px;
}

.benefits-card-container {
    padding: 0 24px;
    margin-bottom: 24px;
}

.benefits-card {
    background-color: #fff1f2;
    border-radius: 14px;
    padding: 20px;
}

.benefits-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.benefits-icon-circle {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-right: 12px;
}

.star-icon {
    color: #af0b15;
    font-size: 16px;
}

.benefits-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

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

.benefits-list li {
    display: flex;
    align-items: center;
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 500;
}

.benefits-list li:last-child {
    margin-bottom: 0;
}

.benefits-list li i {
    color: #af0b15;
    font-size: 15px;
    margin-right: 10px;
    flex-shrink: 0;
}

.action-container {
    padding: 0 24px 30px 24px;
    text-align: center;
}

.btn-activate-plan {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #af0b15, #8a0810);
    color: #ffffff;
    border: none;
    border-radius: 26px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(175, 11, 21, 0.2);
    outline: none;
}

.btn-activate-plan:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(175, 11, 21, 0.3);
    background: linear-gradient(135deg, #be0c17, #9b0912);
}

.btn-activate-plan:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(175, 11, 21, 0.2);
}

.rocket-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* ============================================================
   PROFILE PAGE — PREMIUM SAAS-STYLE MODERN UI STYLES
   ============================================================ */

body.profile-page-modern {
    background-color: #FAF8F5 !important;
    font-family: 'Poppins', 'Inter', sans-serif !important;
}

.profile-page-modern .db {
    background-color: #FAF8F5 !important;
    padding: 0 0 50px 0;
}

/* Header & Navbar Overrides for Profile Page */
.profile-page-modern .head-top {
    background: #8f0e0e !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-page-modern .head-top a {
    color: #ffffff !important;
    font-weight: 500;
}

.profile-page-modern .head-top .lhs ul li a i,
.profile-page-modern .head-top .rhs ul li a i {
    color: #D4AF37 !important;
}

.profile-page-modern .hom-top {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
    border-bottom: 1px solid #f2f4f7 !important;
    padding: 12px 0 !important;
}

.profile-page-modern .hom-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-page-modern .hom-nav .logo img {
    max-height: 52px;
}

.profile-page-modern .bl ul {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-page-modern .bl ul li a {
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #344054 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.profile-page-modern .bl ul li a:hover,
.profile-page-modern .bl ul li.active a {
    color: #B30000 !important;
    border-bottom: 2px solid #B30000;
}

.profile-page-modern .al .head-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    border: none;
    padding: 0;
    margin: 0;
    background: none;
}

.profile-page-modern .al .head-pro a img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #D4AF37;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.profile-page-modern .al .head-pro b {
    font-size: 10px;
    color: #98a2b3;
    display: block;
    margin-bottom: -2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-page-modern .al .head-pro h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #1d2939;
    margin: 0;
}

/* Breadcrumbs & Title Section */
.profile-page-modern .profile-title-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.profile-page-modern .profile-title-lhs {
    flex: 1;
    min-width: 250px;
}

.profile-page-modern .profile-title-lhs h2 {
    font-size: 30px;
    font-weight: 800;
    color: #1d2939;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.profile-page-modern .profile-title-lhs .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    color: #667085;
    font-weight: 500;
}

.profile-page-modern .profile-title-lhs .breadcrumb a {
    color: #B30000;
    text-decoration: none !important;
}

.profile-page-modern .profile-title-lhs .breadcrumb span {
    color: #98a2b3;
    margin: 0 6px;
}

/* Completion Card */
.profile-page-modern .completion-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 18px 24px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.03);
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #eaecf0;
    max-width: 440px;
    width: 100%;
}

.profile-page-modern .completion-progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f4f7;
    flex-shrink: 0;
}

.profile-page-modern .completion-progress-value {
    font-size: 14px;
    font-weight: 700;
    color: #1d2939;
}

.profile-page-modern .completion-info {
    flex: 1;
}

.profile-page-modern .completion-info h4 {
    font-size: 14.5px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 4px 0;
}

.profile-page-modern .completion-info p {
    font-size: 12px;
    color: #667085;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.profile-page-modern .completion-bar-bg {
    width: 100%;
    height: 6px;
    background: #f2f4f7;
    border-radius: 10px;
    overflow: hidden;
}

.profile-page-modern .completion-bar-fill {
    height: 100%;
    background: #B30000;
    border-radius: 10px;
    transition: width 0.5s ease;
}

/* Profile Photo Card (Left Column) */
.profile-page-modern .profile-photo-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.03);
    border: 1px solid #eaecf0;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-page-modern .photo-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: 0 auto 20px auto;
}

.profile-page-modern .photo-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.profile-page-modern .verified-badge-overlay {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    background: #12b76a;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.profile-page-modern .profile-photo-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 6px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.profile-page-modern .profile-photo-card h3 i {
    color: #12b76a;
    font-size: 16px;
}

.profile-page-modern .member-status-badge {
    color: #B30000;
    font-weight: 700;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    display: block;
}

.profile-page-modern .profile-short-details {
    text-align: left;
    border-top: 1px solid #f2f4f7;
    padding-top: 18px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-page-modern .short-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: #475467;
    line-height: 1.4;
}

.profile-page-modern .short-detail-item i {
    color: #667085;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.profile-page-modern .btn-change-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    border: 1.5px solid #D4AF37;
    background: #ffffff;
    border-radius: 12px;
    color: #D4AF37 !important;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.05);
}

.profile-page-modern .btn-change-photo:hover {
    background: #fffcf5;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

/* Personal Info Card (Right Column) */
.profile-page-modern .info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.03);
    border: 1px solid #eaecf0;
    height: 100%;
}

.profile-page-modern .info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #f2f4f7;
    padding-bottom: 16px;
}

.profile-page-modern .info-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.profile-page-modern .info-card-header h3 i {
    color: #B30000;
    font-size: 18px;
}

.profile-page-modern .btn-edit-profile {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #ffebeb;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #B30000 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.profile-page-modern .btn-edit-profile:hover {
    background: #ffebeb;
    border-color: #B30000;
}

.profile-page-modern .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    row-gap: 14px;
}

@media(max-width: 767px) {
    .profile-page-modern .info-grid {
        grid-template-columns: 1fr;
        row-gap: 8px;
    }
}

.profile-page-modern .info-grid-cell {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f9fafb;
}

.profile-page-modern .info-cell-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffebeb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B30000;
    font-size: 13px;
    margin-right: 14px;
    flex-shrink: 0;
}

.profile-page-modern .info-cell-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.profile-page-modern .info-cell-label {
    font-size: 13.5px;
    font-weight: 500;
    color: #667085;
}

.profile-page-modern .info-cell-value {
    font-size: 13.5px;
    font-weight: 600;
    color: #1d2939;
    text-align: right;
}

/* Three Cards Grid Row */
.profile-page-modern .three-cards-row {
    margin-top: 30px;
}

.profile-page-modern .stats-card,
.profile-page-modern .about-card,
.profile-page-modern .plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.03);
    border: 1px solid #eaecf0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.profile-page-modern .card-header-premium {
    font-size: 16px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 18px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-page-modern .card-header-premium i {
    color: #B30000;
    font-size: 16px;
}

.profile-page-modern .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.profile-page-modern .stat-box {
    border-radius: 14px;
    padding: 12px 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.profile-page-modern .stat-box:hover {
    transform: translateY(-2px);
}

.profile-page-modern .stat-box-views {
    background-color: #fee2e2;
    color: #B30000;
}

.profile-page-modern .stat-box-interests {
    background-color: #ffebeb;
    color: #ef4444;
}

.profile-page-modern .stat-box-contacts {
    background-color: #ecfdf3;
    color: #12b76a;
}

.profile-page-modern .stat-box-chats {
    background-color: #f3e8ff;
    color: #7e22ce;
}

.profile-page-modern .stat-box i {
    font-size: 18px;
    margin-bottom: 6px;
}

.profile-page-modern .stat-box-count {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.profile-page-modern .stat-box-label {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 2px;
}

.profile-page-modern .about-card-text {
    font-size: 13.5px;
    color: #475467;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.profile-page-modern .plan-inner-card {
    background-color: #fffbf5;
    border: 1px solid #fdf2e2;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-page-modern .plan-inner-card h5 {
    color: #D4AF37;
    font-weight: 700;
    font-size: 14.5px;
    margin: 0 0 4px 0;
}

.profile-page-modern .plan-inner-card p {
    font-size: 12px;
    color: #667085;
    line-height: 1.45;
    margin: 0;
}

.profile-page-modern .btn-upgrade {
    background: linear-gradient(135deg, #D4AF37, #B38F1F);
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    height: 44px;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
}

.profile-page-modern .btn-upgrade:hover {
    background: linear-gradient(135deg, #e5bf42, #c7a028);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.25);
    transform: translateY(-1px);
}

.profile-page-modern .card-footer-link {
    font-size: 13px;
    font-weight: 600;
    color: #B30000 !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.profile-page-modern .card-footer-link:hover {
    color: #900a0a !important;
}

/* Trust Section */
.profile-page-modern .trust-section {
    margin-top: 35px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media(max-width: 991px) {
    .profile-page-modern .trust-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.profile-page-modern .trust-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(2, 6, 23, 0.02);
    border: 1px solid #eaecf0;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.profile-page-modern .trust-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.profile-page-modern .trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.profile-page-modern .trust-card-success .trust-icon {
    background: #ecfdf3;
    color: #12b76a;
}

.profile-page-modern .trust-card-warning .trust-icon {
    background: #fff5f5;
    color: #cc0505;
}

.profile-page-modern .trust-info h5 {
    font-size: 13.5px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 2px 0;
}

.profile-page-modern .trust-info p {
    font-size: 11.5px;
    color: #667085;
    margin: 0;
}

/* Dashboard Premium Top UI Styles */
.db-premium-top {
    font-family: 'Poppins', 'Inter', sans-serif;
    margin-bottom: 30px;
}

/* Welcome & Search Header */
.db-top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 15px;
}

.db-welcome-area {
    flex: 1;
    min-width: 250px;
}

.db-welcome-title {
    font-size: 22px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.db-welcome-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.db-top-search-form {
    min-width: 380px;
    max-width: 500px;
    width: 100%;
}

.db-search-bar-wrapper {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
}

.db-search-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 16px 10px 42px;
    font-size: 14px;
    color: #1e293b;
    background: transparent;
}

.db-search-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.db-search-submit-btn {
    background: #af0b15;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.db-search-submit-btn:hover {
    background: #8e0810;
}

/* Metric Cards Row */
.db-metric-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.db-metric-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.db-metric-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.db-card-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.db-icon-views {
    background-color: #fee2e2;
    color: #ef4444;
}

.db-icon-interests {
    background-color: #fce7f3;
    color: #db2777;
}

.db-icon-chats {
    background-color: #f3e8ff;
    color: #9333ea;
}

.db-icon-matches {
    background-color: #ffedd5;
    color: #ea580c;
}

.db-metric-card i {
    font-size: 18px;
}

.db-card-details {
    flex: 1;
}

.db-metric-number {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 2px;
}

.db-metric-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 2px;
}

.db-metric-trend {
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
}

/* Premium Section Header and Link Styles */
.db-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

h2.db-tit {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.db-section-header h2.db-tit {
    margin-bottom: 0 !important;
}

.premium-text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary, #b30f0f);
    text-decoration: none !important;
    transition: all 0.2s ease-in-out;
}

.premium-text-link:hover {
    color: var(--primary-dark, #900a0a);
}

.premium-text-link i {
    font-size: 12px;
    transition: transform 0.2s ease-in-out;
}

.premium-text-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .db-metric-cards-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .db-metric-card {
        padding: 12px 10px !important;
    }

    .db-card-icon-container {
        width: 38px !important;
        height: 38px !important;
        margin-right: 8px !important;
        border-radius: 10px !important;
    }

    .db-card-icon-container i {
        font-size: 14px !important;
    }

    .db-metric-number {
        font-size: 18px !important;
    }

    .db-metric-label {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .db-metric-trend {
        font-size: 9px !important;
    }
}

/* Filter Bar Container */
.db-filter-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    margin-bottom: 30px;
}

.db-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.db-filter-group {
    flex: 1;
    min-width: 140px;
}

.db-filter-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.db-filter-select-wrapper {
    position: relative;
}

.db-filter-select {
    width: 100%;
    height: 46px;
    padding: 10px 32px 10px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.db-filter-select:focus {
    border-color: #af0b15;
}

.db-filter-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 12px;
}

.db-filter-action-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.db-filter-submit-btn {
    background: #af0b15;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 20px;
    height: 46px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
    white-space: nowrap;
}

.db-filter-submit-btn:hover {
    background: #8e0810;
}

.db-filter-reset-link {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.db-filter-reset-link:hover {
    color: #ef4444;
}

/* Responsive tweaks */
@media (max-width: 991px) {
    .db-filter-group {
        min-width: calc(33.33% - 10px);
        flex: unset;
        width: calc(33.33% - 10px);
    }
}

@media (max-width: 767px) {
    .db-top-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .db-top-search-form,
    .search-form-top {
        display: none !important;
    }

    .db-filter-group {
        min-width: calc(50% - 10px);
        flex: unset;
        width: calc(50% - 10px);
    }

    .db-filter-action-group {
        width: 100%;
        margin-top: 10px;
    }

    .db-filter-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Popup Search Custom Styling & Color Changes */
.pop-search {
    background: rgba(0, 0, 0, 0.98) !important;
    /* Premium black background */
}

.pop-search .ser-clo:hover {
    color: var(--primary, #b30f0f) !important;
}

.pop-search .inn::before {
    color: #64748b !important;
    transition: color 0.3s ease-in-out;
}

.pop-search .inn:focus-within::before {
    color: var(--primary, #b30f0f) !important;
}

.pop-search .inn input {
    outline: none !important;
    border-bottom: 2px solid #334155 !important;
    color: #ffffff !important;
    transition: border-color 0.3s ease-in-out;
}

.pop-search .inn input:focus {
    border-bottom: 2px solid var(--primary, #b30f0f) !important;
}

.pop-search .rel-sear a {
    color: var(--primary, #b30f0f) !important;
    border: 1px solid var(--primary, #b30f0f) !important;
    transition: all 0.2s ease;
}

.pop-search .rel-sear a:hover {
    background: var(--primary, #b30f0f) !important;
    color: #ffffff !important;
}

.ser-open i {
    transition: color 0.2s ease;
}

.ser-open:hover i {
    color: var(--primary, #b30f0f) !important;
}

/* Custom Popup Success/Error Animations */
@keyframes popScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkDraw {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================================================
   MODERN RECENT PROFILES REDESIGN (WOMEN & MEN)
   ============================================================ */



/* Identical spacing and styling for Men's section which sits below */
.modern-profiles-section+.modern-profiles-section {

    padding-top: 80px;
}

.modern-carousel-container {
    position: relative;
    max-width: 1440px;
    /* Sized to fit 320px-340px card widths */
    margin: 0 auto;
    padding: 0 24px;
}

/* Heading style */
.modern-title-container {
    text-align: center;
    margin-bottom: 48px;
    font-family: 'Outfit', sans-serif;
}

.modern-title-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #777777;
    /* Light Text */
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.modern-title-heading {
    font-size: 36px;
    font-weight: 700;
    color: #2C2C2C;
    /* Dark Text */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
}

.modern-title-heading::before,
.modern-title-heading::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 1px;
    background: #B8860B;
    /* Gold Accent */
}

/* Carousel container & track */
.modern-carousel-wrapper {
    position: relative;
    width: 100%;
}

.modern-carousel-track-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.modern-carousel-track {
    display: flex;
    gap: 24px;
    /* Card gap: 24px */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    padding: 12px 4px 24px 4px;
    /* Space for card shadows */
    margin: 0 -4px;
}

.modern-carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* Profile Card Design */
.modern-profile-card {
    flex: 0 0 calc((100% - (3 * 24px)) / 4);
    /* 4 cards on desktop */
    scroll-snap-align: start;
    background: #FFFFFF;
    /* White Cards */
    border-radius: 24px;
    /* Border radius: 24px */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    /* Soft premium shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    height: 490px;
    /* Max card height: 500px */
}

/* Hover effects */
.modern-profile-card:hover {
    transform: translateY(-6px);
    /* translateY(-6px) */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    /* Stronger shadow */
}

/* Profile Image */
.modern-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    /* Reduced image height on desktop */
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    /* Rounded top corners */
}

.modern-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modern-profile-card:hover .modern-card-image {
    transform: scale(1.08);
    /* Slight image zoom on hover */
}

/* Card Content badges */
.modern-badge-new {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #B8860B;
    /* Gold Accent */
    color: #FFFFFF;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.modern-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777777;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.modern-wishlist-btn:hover {
    background: #FFFFFF;
    color: #D61F2C;
    transform: scale(1.1);
}

.modern-wishlist-btn.active {
    color: #D61F2C;
}

.modern-wishlist-btn svg {
    fill: currentColor;
}

/* Card Content details */
.modern-card-content {
    padding: 16px 20px 20px 20px;
    /* Reduced unnecessary whitespace */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #2C2C2C;
    /* Dark Text */
    margin: 0 0 8px 0;
    /* Name margin-bottom: 8px */
    line-height: 1.3;
}

.modern-card-meta {
    font-size: 13px;
    color: #777777;
    /* Light Text */
    margin: 0 0 8px 0;
    /* Age/Location margin-bottom: 8px */
    font-weight: 500;
}

.modern-card-profession {
    font-size: 13px;
    color: #777777;
    /* Light Text */
    margin: 0 0 16px 0;
    /* Profession margin-bottom: 16px */
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-badge-marriage {
    background: #FFF0F0;
    color: #D61F2C;
    /* Primary Red */
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 10px;
    align-self: flex-start;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(214, 31, 44, 0.08);
}

.modern-badge-marriage i {
    font-size: 10px;
}

/* View Profile Button */
.modern-card-btn {
    background: linear-gradient(135deg, #D61F2C, #B01520);
    /* Premium red gradient */
    color: #FFFFFF !important;
    text-align: center;
    height: 48px;
    /* Button height: 48px */
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-top: 14px;
    /* Button margin-top: 14px closer to info */
    box-shadow: 0 4px 12px rgba(214, 31, 44, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
}

.modern-card-btn:hover {
    background: linear-gradient(135deg, #E82F3C, #D61F2C);
    box-shadow: 0 6px 20px rgba(214, 31, 44, 0.3);
    transform: translateY(-1px);
}

.modern-card-btn i {
    transition: transform 0.2s ease;
}

.modern-card-btn:hover i {
    transform: translateX(4px);
}

/* Centered Navigation Arrows */
.modern-carousel-arrow {
    position: absolute;
    top: calc(50% - 15px);
    /* Accounts for pagination offset */
    transform: translateY(-50%);
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #2C2C2C;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 0;
}

.modern-carousel-arrow:hover {
    background: #D61F2C;
    color: #FFFFFF;
    border-color: #D61F2C;
    box-shadow: 0 6px 20px rgba(214, 31, 44, 0.25);
}

.modern-carousel-arrow.prev {
    left: -24px;
}

.modern-carousel-arrow.next {
    right: -24px;
}

/* Pagination Dots */
.modern-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.modern-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E2E8F0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modern-carousel-dot.active {
    background: #D61F2C;
    /* Primary Red */
    transform: scale(1.35);
}

/* Responsive configurations */
@media (max-width: 1240px) {
    .modern-carousel-arrow.prev {
        left: 8px;
    }

    .modern-carousel-arrow.next {
        right: 8px;
    }
}

@media (max-width: 1023px) {
    .modern-profile-card {
        flex: 0 0 320px;
        max-width: 320px;
        height: 460px;
        /* Tablet card height: 460px-480px */
    }

    .modern-card-image-wrapper {
        height: 260px;
        /* Tablet image height: 260px */
    }

    .modern-carousel-track {
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding-left: 20px;
    }

    .modern-title-heading {
        font-size: 30px;
    }

    .modern-title-heading::before,
    .modern-title-heading::after {
        width: 40px;
    }
}

@media (max-width: 767px) {
    .modern-profiles-section {
        padding: 50px 0;
        /* Reduced top/bottom padding */
    }

    .modern-profiles-section+.modern-profiles-section {
        padding-top: 50px;
    }

    .modern-carousel-container {
        padding: 0 16px;
        /* 16px left/right padding to container */
    }

    .modern-profile-card {
        flex: 0 0 80vw;
        /* 1 card + 15% peek on 320px-575px */
        min-width: 280px;
        max-width: 320px;
        height: 410px;
        /* Capped under 420px max-height */
    }

    .modern-card-image-wrapper {
        height: 210px;
        /* Reduced image height to 210px */
    }

    .modern-card-content {
        padding: 12px 16px 16px 16px;
        /* Compact padding */
    }

    .modern-card-name {
        font-size: 18px;
        /* Name: 18px */
        margin-bottom: 6px;
    }

    .modern-card-meta {
        font-size: 14px;
        /* Age/Location: 14px */
        margin-bottom: 6px;
    }

    .modern-card-profession {
        font-size: 14px;
        /* Profession: 14px */
        margin-bottom: 12px;
    }

    .modern-badge-marriage {
        white-space: nowrap;
        /* Single line only */
        font-size: 12px;
        padding: 4px 10px;
        /* Reduced padding */
        border-radius: 999px;
        /* Pill border radius */
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 100%;
    }

    .modern-card-btn {
        height: 46px;
        /* Button height: 46px */
        font-size: 16px;
        /* Font size: 16px */
        border-radius: 14px;
        /* Border radius: 14px */
        margin-top: 12px;
    }

    .modern-title-heading {
        font-size: 24px;
        gap: 16px;
    }

    .modern-title-heading::before,
    .modern-title-heading::after {
        width: 24px;
    }

    .modern-carousel-arrow {
        display: none !important;
        /* Hide arrows on mobile touch devices */
    }

    .modern-carousel-track {
        gap: 16px;
        padding-bottom: 16px;
        padding-left: 16px;
        padding-right: 16px;
        scroll-padding-left: 16px;
        scroll-padding-right: 16px;
    }
}

/* Intermediate Mobile Breakpoint (576px–767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .modern-profile-card {
        flex: 0 0 65vw;
        /* Show 1.3 cards peeking in viewport */
        min-width: 280px;
        max-width: 320px;
    }
}

/* ============================================================
   HERO SECTION CTA BUTTON REDESIGN
   ============================================================ */

.modern-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.modern-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    min-width: 180px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

.modern-hero-btn.primary {
    background: linear-gradient(135deg, #E53945, #D61F2C);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(214, 31, 44, 0.25);
}

.modern-hero-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 31, 44, 0.35);
}

.modern-hero-btn.secondary {
    background: rgba(255, 255, 255, 0.95);
    color: #2C2C2C !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.modern-hero-btn.secondary:hover {
    background: #FFFFFF;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .modern-hero-ctas {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        margin-top: 24px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .modern-hero-btn {
        flex: 1 !important;
        max-width: 160px !important;
        min-width: 120px !important;
        height: 48px !important;
        font-size: 15px !important;
    }
}

/* ============================================================
   MODERN LOGIN DESIGN
   ============================================================ */

.modern-login-section {
    min-height: 100vh;
    background-color: #F8F5EE;
    /* Maintain cream theme background */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    font-family: 'Outfit', sans-serif;
    box-sizing: border-box;
}

.modern-login-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.modern-login-card {
    background: #FFFFFF;
    border-radius: 32px;
    /* Smooth rounded corners */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 48px 40px;
    box-sizing: border-box;
    width: 100%;
}

.modern-login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.modern-login-logo img {
    height: 48px;
    object-fit: contain;
}

.modern-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.modern-login-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0 0 8px 0;
    font-family: 'Outfit', sans-serif;
}

.modern-login-header p {
    font-size: 15px;
    color: #777777;
    margin: 0;
    font-weight: 400;
}

.modern-input-group {
    margin-bottom: 20px;
}

.modern-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 8px;
    text-transform: none;
    letter-spacing: normal;
}

.modern-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modern-input-prefix {
    position: absolute;
    left: 12px;
    width: 36px;
    height: 36px;
    background: #FFF5F5;
    /* Light pink background box */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D61F2C;
    /* Red icon color */
    font-size: 16px;
    pointer-events: none;
}

.modern-input-wrapper input {
    width: 100%;
    height: 52px;
    padding-left: 60px;
    padding-right: 48px;
    border: 1.5px solid #F0ECE5;
    border-radius: 12px;
    font-size: 15px;
    color: #2C2C2C;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

.modern-input-wrapper input:focus {
    border-color: #D61F2C;
    box-shadow: 0 0 0 4px rgba(214, 31, 44, 0.08);
    outline: none;
}

.modern-input-wrapper input::placeholder {
    color: #B0B0B0;
}

.modern-password-toggle {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #98A2B3;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modern-password-toggle:hover {
    color: #2C2C2C;
}

.modern-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    margin-top: 16px;
}

/* Custom Checkbox Design */
.modern-checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
    user-select: none;
}

.modern-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modern-checkbox-checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #FFFFFF;
    border: 1.5px solid #D0D5DD;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modern-checkbox-container:hover input~.modern-checkbox-checkmark {
    border-color: #D61F2C;
}

.modern-checkbox-container input:checked~.modern-checkbox-checkmark {
    background-color: #D61F2C;
    border-color: #D61F2C;
}

.modern-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.modern-checkbox-container input:checked~.modern-checkbox-checkmark:after {
    display: block;
}

.modern-checkbox-container .modern-checkbox-checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.modern-forgot-link {
    font-size: 14px;
    font-weight: 600;
    color: #D61F2C !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.modern-forgot-link:hover {
    color: #B01520 !important;
}

/* Submit Sign In Button */
.modern-submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #E53945, #D61F2C);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(214, 31, 44, 0.2);
    box-sizing: border-box;
}

.modern-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 31, 44, 0.35);
}

.modern-submit-btn i {
    transition: transform 0.2s ease;
}

.modern-submit-btn:hover i {
    transform: translateX(4px);
}

/* Or continue with divider */
.modern-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 28px 0;
    color: #777777;
    font-size: 13px;
    font-weight: 500;
}

.modern-login-divider::before,
.modern-login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #F0ECE5;
}

.modern-login-divider::before {
    margin-right: 12px;
}

.modern-login-divider::after {
    margin-left: 12px;
}

/* Social buttons list */
.modern-social-logins {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.modern-social-btn {
    background: #FFFFFF;
    border: 1.5px solid #F0ECE5;
    border-radius: 12px;
    width: 72px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    padding: 0;
}

.modern-social-btn:hover {
    background: #F9F9F9;
    border-color: #E2E8F0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.modern-social-btn svg {
    display: block;
}

.modern-login-footer {
    text-align: center;
    font-size: 14px;
    color: #777777;
}

.modern-login-footer p {
    margin: 0;
}

.modern-login-footer a {
    color: #D61F2C !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s;
}

.modern-login-footer a:hover {
    color: #B01520 !important;
}

.modern-alert {
    border-radius: 12px;
    font-size: 14px;
    padding: 12px 16px;
    margin-bottom: 24px;
}

@media (max-width: 480px) {
    .modern-login-card {
        padding: 36px 24px;
        border-radius: 24px;
    }
}

/* ============================================================
   REGISTER PAGE STYLES
   ============================================================ */
.register-section {
    padding: 50px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #fdfaf6;
}

.register-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    padding: 50px 60px;
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header img {
    height: 50px;
    margin-bottom: 15px;
}

.register-header h2 {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 8px;
}

.register-header p {
    color: #666;
    font-size: 15px;
}

.form-label {
    font-weight: 600;
    color: #444;
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.input-icon-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.input-icon-wrapper i.left-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #e53935;
    /* Primary red */
    font-size: 15px;
    z-index: 10;
}

.input-icon-wrapper i.right-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    z-index: 10;
}

.form-control,
.form-select-custom {
    height: 52px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    width: 100%;
    padding-left: 48px;
    padding-right: 15px;
    transition: all 0.2s ease-in-out;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

select.form-select-custom {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

.form-control:focus,
.form-select-custom:focus {
    border-color: #e53935;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

/* Phone input specific layout */
.phone-input-group {
    display: flex;
    align-items: center;
}

.phone-input-group .country-select {
    width: 120px;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding-left: 40px;
}

.phone-input-group .phone-number {
    flex: 1;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 15px;
    border-left: 1px solid #e5e7eb;
}

.phone-input-group:focus-within .country-select,
.phone-input-group:focus-within .phone-number {
    border-color: #e53935;
}

.terms-check {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 25px;
}

.terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #e53935;
    cursor: pointer;
}

.terms-check label {
    font-size: 13px;
    color: #555;
    margin-bottom: 0;
    cursor: pointer;
}

.terms-check label a {
    color: #e53935;
    font-weight: 600;
    text-decoration: none;
}

.btn-register {
    background-color: #d32f2f;
    border: none;
    color: white;
    height: 54px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-register:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

.or-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.or-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.or-divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #eee;
}

.or-divider span {
    background: #ffffff;
    padding: 0 15px;
    color: #999;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

.sign-in-text {
    text-align: center;
    font-size: 14px;
    color: #555;
}

.sign-in-text a {
    color: #d32f2f;
    font-weight: 600;
    text-decoration: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .register-container {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .register-header h2 {
        font-size: 24px;
    }

    .or-divider::before,
    .or-divider::after {
        width: 40%;
    }
}

/* ============================================================
   MODERN SUBSCRIPTION & INVOICES UI
   ============================================================ */

.sub-inv-section {
    padding: 30px 0 80px;

    min-height: 100vh;
}

.sub-inv-title-block {
    margin-bottom: 32px;
}

.sub-inv-title-block h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1D2939;
    margin: 0 0 8px 0;
}

.sub-inv-title-block p {
    font-size: 15px;
    color: #667085;
    margin: 0;
}

/* Redesigned Grid Container */
.sub-inv-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 30px;
    align-items: start;
}

/* Common Card Base */
.sub-inv-card {
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* LEFT COLUMN: Current Plan Card */
.current-plan-card {
    display: flex;
    flex-direction: column;
}

.cp-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cp-badge-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF1F2;
    color: #D61F2C;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid #FFE4E6;
}

.cp-badge-current i {
    font-size: 12px;
}

.cp-badge-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-badge-status.active {
    background: #ECFDF3;
    color: #027A48;
}

.cp-badge-status.active::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #12B76A;
    border-radius: 50%;
}

.cp-badge-status.expired {
    background: #FEF3F2;
    color: #B42318;
}

.cp-badge-status.expired::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #D92D20;
    border-radius: 50%;
}

/* Beautiful Pure CSS Shield Podium Graphic */
.cp-podium-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 126px;
    margin: 10px 0 20px;
}

.cp-graphic-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(170, 156, 157, 0.08) 0%, rgba(214, 31, 44, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.cp-podium {
    position: absolute;
    bottom: 10px;
    width: 150px;
    height: 30px;
    background: linear-gradient(180deg, #F9FAFB 0%, #EAECF0 100%);
    border-radius: 50% / 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    border-top: 1px solid #FFFFFF;
}

.cp-shield-wrapper {
    position: absolute;
    bottom: 25px;
    z-index: 3;
    animation: floatAnimation 4s ease-in-out infinite;
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.cp-shield {
    width: 80px;
    height: 90px;
    background: linear-gradient(135deg, #E53945, #D61F2C);
    clip-path: polygon(50% 0%, 100% 15%, 100% 65%, 50% 100%, 0% 65%, 0% 15%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px rgba(214, 31, 44, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.cp-shield i {
    color: #FFFFFF;
    font-size: 32px;
}

/* Plan Title & Price */
.cp-plan-info {
    text-align: center;
    margin-bottom: 24px;
}

.cp-plan-title {
    font-size: 24px;
    font-weight: 700;
    color: #1D2939;
    margin: 0 0 6px 0;
}

.cp-plan-price {
    font-size: 16px;
    color: #667085;
    font-weight: 500;
}

.cp-plan-price strong {
    font-size: 22px;
    color: #D61F2C;
    font-weight: 700;
}

/* Meta Data Box (Status & Renewal) */
.cp-meta-box {
    background: #F9FAFB;
    border: 1px solid #F2F4F7;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    margin-bottom: 24px;
}

.cp-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-meta-label {
    font-size: 11px;
    font-weight: 700;
    color: #98A2B3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cp-meta-value {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cp-meta-value i {
    color: #667085;
    font-size: 14px;
}

/* Benefits list */
.cp-benefits-title {
    font-size: 14px;
    font-weight: 700;
    color: #344054;
    margin-bottom: 14px;
}

.cp-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp-benefits-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #475467;
}

.cp-benefits-list li i {
    color: #D61F2C;
    font-size: 16px;
}

/* CP Actions Buttons */
.cp-actions-row {
    display: flex;
    gap: 12px;
}

.cp-btn-primary {
    flex: 1;
    background: linear-gradient(135deg, #E53945, #D61F2C);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 13px;
    border: none;
    border-radius: 12px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(214, 31, 44, 0.2);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

.cp-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(214, 31, 44, 0.3);
}

.cp-btn-secondary {
    flex: 1;
    background: #FFFFFF;
    color: #D61F2C !important;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #FDA29B;
    border-radius: 12px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

.cp-btn-secondary:hover {
    background: #FFF1F2;
    border-color: #F87171;
}


/* RIGHT COLUMN: Billing History Card */
.billing-history-card {
    min-height: 520px;
}

.bh-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.bh-title-block h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1D2939;
    margin: 0 0 4px 0;
}

.bh-title-block p {
    font-size: 14px;
    color: #667085;
    margin: 0;
}

/* Filters & Actions */
.bh-filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.bh-search-box {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.bh-search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #98A2B3;
    font-size: 15px;
}

.bh-search-input {
    width: 100%;
    height: 42px;
    padding: 10px 14px 10px 40px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-size: 14px;
    color: #344054;
    outline: none;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.bh-select-dropdown {
    height: 42px;
    padding: 0 36px 0 14px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    font-size: 14px;
    color: #344054;
    outline: none;
    background: #FFFFFF;
    appearance: none;
    cursor: pointer;
    min-width: 120px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.bh-select-wrapper {
    position: relative;
}

.bh-select-wrapper i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #667085;
    font-size: 12px;
    pointer-events: none;
}

.bh-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #D0D5DD;
    background: #FFFFFF;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.2s;
}

.bh-icon-btn:hover {
    background: #F9FAFB;
    color: #344054;
}

/* Premium Invoices Table */
.bh-table-container {
    overflow-x: auto;
    margin-bottom: 24px;
}

.bh-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.bh-table th {
    background: #F9FAFB;
    border-bottom: 1px solid #EAECF0;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bh-table td {
    padding: 16px;
    border-bottom: 1px solid #EAECF0;
    font-size: 14px;
    color: #475467;
    vertical-align: middle;
}

.bh-plan-type-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1D2939;
}

.bh-plan-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFF1F2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D61F2C;
}

.bh-duration-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bh-duration-title {
    font-weight: 600;
    color: #344054;
}

.bh-duration-dates {
    font-size: 12px;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bh-duration-dates i {
    font-size: 12px;
}

.bh-amount-cell {
    font-weight: 600;
    color: #1D2939;
}

.bh-download-btn {
    border: 1px solid #FDA29B;
    background: #FFFFFF;
    color: #D61F2C !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none !important;
}

.bh-download-btn:hover {
    background: #FFF1F2;
    border-color: #F87171;
}

/* Footer & Pagination */
.bh-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.bh-results-count {
    font-size: 14px;
    color: #475467;
}

.bh-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.bh-page-item {
    display: inline-flex;
}

.bh-page-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #D0D5DD;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
}

.bh-page-link:hover {
    background: #F9FAFB;
    color: #344054;
}

.bh-page-item.active .bh-page-link {
    background: #D61F2C;
    border-color: #D61F2C;
    color: #FFFFFF;
}


/* BOTTOM: Highlights Promo Banner Card */
.promo-banner-card {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pb-lhs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 75%;
}

.pb-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pb-icon-circle {
    width: 48px;
    height: 48px;
    background: #FFF1F2;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D61F2C;
    font-size: 20px;
}

.pb-title-block h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1D2939;
    margin: 0 0 4px 0;
}

.pb-title-block p {
    font-size: 14px;
    color: #667085;
    margin: 0;
}

.pb-features-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.pb-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pb-feature-icon-wrapper {
    width: 32px;
    height: 32px;
    background: #FFF1F2;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #D61F2C;
}

.pb-feature-text-block {
    display: flex;
    flex-direction: column;
}

.pb-feature-title {
    font-size: 13px;
    font-weight: 700;
    color: #344054;
}

.pb-feature-desc {
    font-size: 12px;
    color: #667085;
}

.pb-view-plans-btn {
    background: #D61F2C;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(214, 31, 44, 0.15);
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
}

.pb-view-plans-btn:hover {
    background: #E53945;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(214, 31, 44, 0.25);
}


/* RESPONSIVE LAYOUT STYLING */
@media (max-width: 991px) {
    .sub-inv-grid {
        grid-template-columns: 1fr;
    }

    .promo-banner-card {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .pb-lhs {
        max-width: 100%;
    }

    .pb-view-plans-btn {
        align-self: flex-start;
    }
}

@media (max-width: 576px) {
    .cp-actions-row {
        flex-direction: row;
        gap: 8px;
    }

    .cp-actions-row>* {
        font-size: 11px !important;
        padding: 0 4px !important;
    }

    .pb-features-grid {
        flex-direction: column;
        gap: 16px;
    }
}

/* Modern Dashboard Alert Styling with Animation */
.modern-dashboard-alert {
    display: flex;
    align-items: flex-start;
    padding: 14px 38px 14px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    animation: slideDownFadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modern-dashboard-alert .alert-icon {
    font-size: 18px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    margin-top: 1px;
}

.modern-dashboard-alert .alert-text {
    flex: 1;
    line-height: 1.45;
}

.modern-dashboard-alert .btn-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    background: none !important;
    border: none !important;
    font-size: 22px !important;
    color: inherit !important;
    opacity: 0.6 !important;
    cursor: pointer !important;
    padding: 4px !important;
    transition: opacity 0.2s !important;
    line-height: 1 !important;
    float: none !important;
    margin: 0 !important;
}

.modern-dashboard-alert .btn-close:hover {
    opacity: 1 !important;
}

/* Success Alert Specific styling */
.modern-dashboard-alert.success-alert {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.modern-dashboard-alert.success-alert .alert-icon {
    color: #10b981;
}

/* Error Alert Specific styling */
.modern-dashboard-alert.error-alert {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.modern-dashboard-alert.error-alert .alert-icon {
    color: #ef4444;
}

@keyframes slideDownFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Success Modal Styling */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
    padding: 20px;
    box-sizing: border-box;
}

.success-modal-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    animation: successModalZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-modal-icon {
    width: 80px;
    height: 80px;
    border: 4px solid #008744;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.success-modal-icon i {
    font-size: 38px;
    color: #008744;
    font-weight: bold;
}

.success-modal-title {
    color: #008744;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
}

.success-modal-message {
    color: #555;
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 25px;
    margin-top: 0;
}

.success-modal-btn {
    background-color: #008744;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    width: 100%;
    padding: 13px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    outline: none;
}

.success-modal-btn:hover {
    background-color: #006b35;
}

.success-modal-btn:active {
    transform: scale(0.98);
}

@keyframes successModalZoom {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile adjustments for success modal */
@media (max-width: 576px) {
    .success-modal-card {
        max-width: 320px;
        padding: 25px 20px;
        border-radius: 20px;
    }

    .success-modal-icon {
        width: 60px;
        height: 60px;
        border-width: 3px;
        margin-bottom: 15px;
    }

    .success-modal-icon i {
        font-size: 28px;
    }

    .success-modal-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .success-modal-message {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .success-modal-btn {
        padding: 10px 0;
        font-size: 15px;
    }

    /* Recently joined profile card mobile adjustments */
    .db-new-pro div h5 {
        font-size: 13px !important;
        font-weight: 600 !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        padding: 0 4px !important;
    }

    .db-new-pro div span {
        font-size: 10px !important;
        display: block !important;
        line-height: 1.2 !important;
    }

    .db-new-pro div {
        bottom: 8px !important;
    }

    .db-new-pro:after {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%) !important;
    }

    /* Results Toolbar mobile adjustments */
    .results-toolbar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 12px 16px !important;
    }

    .toolbar-left {
        font-size: 14px !important;
        text-align: center !important;
    }

    .sort-container {
        justify-content: space-between !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .sort-label {
        font-size: 13px !important;
    }

    .sort-select-inline {
        flex: 1 !important;
        min-width: unset !important;
        font-size: 13px !important;
        height: 36px !important;
        padding: 6px 10px !important;
    }
}

/* Redesigned Compact Popup Search Modal Styles */
/* Ensure the search overlay itself is scrollable if content overflows */
.pop-search {
    background: #ffffff !important;
    /* Mockup: Clean white solid background */
    overflow-y: auto !important;
    display: none;
    z-index: 999999 !important;
    /* Force it on top of everything! */
}

/* Header container inside popup search */
.pop-search-header-container {
    max-width: 800px;
    width: 90%;
    margin: 20px auto 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pop-search-header-container img.pop-logo {
    height: 40px;
    width: auto;
}

/* Override table display for inner content to allow proper flow and scrolling */
.pop-search .inn {
    max-width: 800px !important;
    width: 90% !important;
    margin: 20px auto 40px !important;
    display: block !important;
    position: relative !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.pop-search .ser-clo {
    position: static !important;
    /* Normal positioning in header container */
    cursor: pointer !important;
    color: #e11d48 !important;
    /* Mockup: Red close button */
    font-size: 40px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    transform: rotate(45deg);
    display: inline-block;
    transition: all 0.3s ease;
}

.pop-search .ser-clo:hover {
    transform: rotate(135deg);
}

/* Ensure all text labels and headings are dark */
.pop-search h4.pop-search-title {
    color: #1e293b !important;
    /* Mockup: Dark bold text */
    font-size: 16px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-bottom: 10px !important;
}

.pop-search h4.pop-search-title i {
    color: #e11d48 !important;
    /* Mockup: Red sliders icon */
}

.pop-search .pop-search-field-group label {
    color: #1e293b !important;
    /* Mockup: Dark label text */
    font-size: 13px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
    text-transform: none !important;
}

.pop-search .pop-search-field-group label i {
    color: #e11d48 !important;
    /* Mockup: Red icons for fields */
    font-size: 14px !important;
    width: auto !important;
}

.pop-search .range-separator {
    color: #475569 !important;
    font-weight: bold !important;
}

/* Form fields grids */
.pop-search-fields-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.pop-search-field-group {
    display: flex !important;
    flex-direction: column !important;
}

.pop-search-field-group .form-control {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    /* Mockup: Light gray border */
    border-radius: 8px !important;
    /* Mockup: Rounded corners */
    color: #1e293b !important;
    height: 40px !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    width: 100% !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.pop-search-field-group .form-control:focus {
    border-color: #e11d48 !important;
}

.pop-search-range-inputs {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.pop-search-range-inputs select {
    flex: 1 !important;
}

.full-width-field {
    grid-column: span 2 !important;
}

/* Main input search icon override */
.pop-search .inn::before {
    display: none !important;
    /* Hide default icon */
}

.pop-search-main {
    position: relative !important;
    margin-bottom: 25px !important;
}

.pop-search-main::before {
    content: "\f002" !important;
    position: absolute !important;
    color: #e11d48 !important;
    /* Mockup: Red search icon */
    font: 400 16px/1 FontAwesome !important;
    top: 13px !important;
    left: 15px !important;
    z-index: 2 !important;
}

.pop-search-main input[type="text"] {
    width: 100% !important;
    height: 42px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    /* Mockup: Input box border */
    border-radius: 8px !important;
    /* Mockup: Rounded corners */
    color: #1e293b !important;
    font-size: 14px !important;
    padding: 0 15px 0 40px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.pop-search-main input[type="text"]:focus {
    border-color: #e11d48 !important;
    outline: none !important;
}

/* Action buttons styling */
.pop-search-actions {
    display: flex !important;
    justify-content: flex-end !important;
    gap: 15px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding-top: 25px !important;
    margin-bottom: 40px !important;
}

.pop-btn-clear,
.pop-btn-submit {
    height: 38px !important;
    padding: 0 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.pop-btn-clear {
    background: transparent !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

.pop-btn-clear:hover {
    background: #f1f5f9 !important;
}

.pop-btn-submit {
    background: #e11d48 !important;
    /* Mockup: Red search button */
    border: none !important;
    color: #ffffff !important;
}

.pop-btn-submit:hover {
    background: #be123c !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pop-search .inn {
        margin: 20px auto 20px !important;
        width: 92% !important;
    }

    .pop-search-header-container {
        margin: 20px auto 10px !important;
        width: 92% !important;
    }

    .pop-search-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .full-width-field {
        grid-column: span 1 !important;
    }

    .pop-search-actions {
        flex-direction: column-reverse !important;
        gap: 10px !important;
    }

    .pop-btn-clear,
    .pop-btn-submit {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Fix profile personal info layout and text wrapping on mobile screens */
@media (max-width: 768px) {
    .info-item {
        padding-bottom: 12px !important;
        margin-bottom: 12px !important;
        gap: 10px !important;
    }

    .info-item .info-icon {
        font-size: 14px !important;
        align-self: center !important;
    }

    .info-item .info-content {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .info-item .info-label {
        font-size: 13px !important;
        width: 90px !important;
        /* Fixed label width on mobile */
        flex-shrink: 0 !important;
        margin-bottom: 0 !important;
        text-align: left !important;
    }

    .info-item .info-value {
        text-align: right !important;
        word-break: break-all !important;
        white-space: normal !important;
        flex: 1 !important;
        min-width: 0 !important;
        font-size: 13px !important;
    }
}
}

/* Interest Request Layout Styles */
.db-premium-bg {
    background-color: #FAF8F3 !important;
    padding-top: 32px !important;
    padding-bottom: 48px !important;
}

.interests-page-header {
    margin-bottom: 32px !important;
    font-family: 'Inter', sans-serif !important;
}

.interests-page-header h2.db-tit {
    font-family: 'Inter', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.interests-page-header p.db-sub {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    color: #64748b !important;
    margin: 12px 0 0 0 !important;
    line-height: 1.5 !important;
}

/* Status Cards Grid */
.interest-status-card {
    display: block !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    height: 130px !important;
    box-shadow: 0 4px 15px rgba(2, 6, 23, 0.03) !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #cbd5e1 !important;
    /* Default top border */
    text-decoration: none !important;
    transition: all 0.2s ease-in-out !important;
    font-family: 'Inter', sans-serif !important;
}

.interest-status-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.06) !important;
}

.interest-status-card.pending {
    border-top: 4px solid #f97316 !important;
    border-left: none !important;
}

.interest-status-card.accepted {
    border-top: 4px solid #10b981 !important;
    border-left: none !important;
}

.interest-status-card.declined {
    border-top: 4px solid #ef4444 !important;
    border-left: none !important;
}

/* Active tab style */
.interest-status-card.active {
    background: #ffffff !important;
    box-shadow: 0 8px 25px rgba(2, 6, 23, 0.08) !important;
    border-color: #cbd5e1 !important;
}

.interest-status-card.pending.active {
    border-top: 4px solid #f97316 !important;
    background-color: #fffaf0 !important;
    /* Subtle tint for active state */
}

.interest-status-card.accepted.active {
    border-top: 4px solid #10b981 !important;
    background-color: #f0fdf4 !important;
}

.interest-status-card.declined.active {
    border-top: 4px solid #ef4444 !important;
    background-color: #fdf2f8 !important;
}

/* Card inner content layout */
.status-card-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    position: relative !important;
}

.status-card-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

.status-label {
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    color: #64748b !important;
    text-transform: uppercase !important;
}

.status-icon-wrapper-small {
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.status-icon-wrapper-small.pending {
    color: #f97316 !important;
}

.status-icon-wrapper-small.accepted {
    color: #10b981 !important;
}

.status-icon-wrapper-small.declined {
    color: #ef4444 !important;
}

.status-card-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    width: 100% !important;
}

.status-count {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.status-count.pending {
    color: #f97316 !important;
}

.status-count.accepted {
    color: #10b981 !important;
}

.status-count.declined {
    color: #ef4444 !important;
}

.status-desc {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    font-weight: 500 !important;
}

/* Content wrapper styling */
.db-inte-main-container {
    margin-top: 24px !important;
}

/* Clean Bordered Container */
.premium-content-box {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 4px 15px rgba(2, 6, 23, 0.02) !important;
    overflow: hidden !important;
    font-family: 'Inter', sans-serif !important;
}

/* Compact Premium Empty State */
.compact-empty-state {
    max-width: 700px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    /* Reduced padding (60% height reduction) */
    text-align: center !important;
    font-family: 'Inter', sans-serif !important;
}

.empty-state-icon-box {
    width: 48px !important;
    height: 48px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin: 0 auto 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
}

.empty-state-icon-box i {
    font-size: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.compact-empty-state h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
}

.compact-empty-state p {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* Mobile responsive styles for interest status cards */
@media (max-width: 768px) {
    .db-premium-bg {
        padding-top: 24px !important;
        padding-bottom: 32px !important;
    }

    .interests-page-header {
        margin-bottom: 24px !important;
    }

    .interests-page-header h2.db-tit {
        font-size: 22px !important;
    }

    .interest-status-card {
        height: 120px !important;
        padding: 16px 20px !important;
    }

    .status-count {
        font-size: 26px !important;
    }
}

/* Interest list items design overrides */
.interest-list-ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.interest-list-item {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.02) !important;
    margin-bottom: 16px !important;
}

.interest-list-item:hover {
    box-shadow: 0 10px 25px rgba(2, 6, 23, 0.06) !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
}

.interest-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    flex: 1 !important;
}

.interest-item-avatar-container {
    position: relative !important;
    width: 110px !important;
    height: 110px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.interest-item-avatar-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.plan-badge {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    padding: 4px 2px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

.plan-badge.free {
    background: rgba(100, 116, 139, 0.9) !important;
}

.plan-badge.gold {
    background: rgba(217, 119, 6, 0.9) !important;
}

.plan-badge.platinum {
    background: rgba(124, 58, 237, 0.9) !important;
}

.interest-item-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    flex: 1 !important;
    align-items: flex-start !important;
}

.interest-item-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    font-family: 'Inter', sans-serif !important;
}

.interest-item-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 16px !important;
    margin-bottom: 4px !important;
}

.meta-tag {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    color: #475569 !important;
}

.meta-label {
    color: #64748b !important;
    margin-right: 4px !important;
    font-weight: 400 !important;
}

.meta-value {
    color: #1e293b !important;
    font-weight: 600 !important;
}

.interest-item-date {
    font-size: 12px !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}

.btn-view-full-profile {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #e11d48 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: color 0.2s !important;
}

.btn-view-full-profile:hover {
    color: #be123c !important;
    text-decoration: underline !important;
}

.interest-item-actions {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.btn-accept-premium {
    background: #10b981 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-accept-premium:hover {
    background: #059669 !important;
}

.btn-decline-premium {
    background: #ef4444 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-decline-premium:hover {
    background: #dc2626 !important;
}

.badge-status-premium {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.badge-status-premium.pending {
    background: #fff7ed !important;
    color: #ea580c !important;
    border: 1px solid #ffedd5 !important;
}

.badge-status-premium.accepted {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #dcfce7 !important;
}

.badge-status-premium.declined {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fee2e2 !important;
}

@media (max-width: 768px) {
    .interest-list-item {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .interest-item-left {
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .interest-item-avatar-container {
        width: 80px !important;
        height: 80px !important;
        border-radius: 8px !important;
    }

    .plan-badge {
        font-size: 8px !important;
        padding: 2px !important;
    }

    .interest-item-actions {
        width: 100% !important;
        justify-content: flex-end !important;
        border-top: 1px solid #f1f5f9 !important;
        padding-top: 12px !important;
    }
}

@media (max-width: 480px) {
    .interest-item-left {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .interest-item-details {
        align-items: center !important;
    }

    .interest-item-meta {
        justify-content: center !important;
    }

    .interest-item-actions {
        justify-content: center !important;
    }
}

/* Dashboard Plan Benefits Banner */
.db-plan-benefits-banner {
    background: #FAF7F2 !important;
    border: 1px solid #e8e1d5 !important;
    border-radius: 20px !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 8px 30px rgba(201, 28, 35, 0.03) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    min-height: 140px !important;
}

.db-pb-left {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-shrink: 0 !important;
}

.db-pb-shield-wrapper {
    position: relative !important;
    width: 72px !important;
    height: 82px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.db-pb-shield-container {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
}

.db-pb-shield-svg {
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 4px 12px rgba(201, 28, 35, 0.25)) !important;
}

.db-pb-shield-crown {
    position: absolute !important;
    top: 45% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #FFE259 !important;
    font-size: 20px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.db-pb-shield-sparkle {
    position: absolute !important;
    color: #d4af37 !important;
    font-size: 8px !important;
    animation: pbSparkle 2.5s infinite ease-in-out !important;
    pointer-events: none !important;
    z-index: 5 !important;
}

.db-pb-shield-sparkle.s1 { top: 15px; left: -8px; animation-delay: 0s !important; }
.db-pb-shield-sparkle.s2 { top: 5px; right: -5px; animation-delay: 0.6s !important; }
.db-pb-shield-sparkle.s3 { bottom: 15px; left: -10px; animation-delay: 1.2s !important; }
.db-pb-shield-sparkle.h1 { top: 25px; left: 10px; animation-delay: 0.3s !important; }
.db-pb-shield-sparkle.h2 { bottom: 20px; right: 10px; animation-delay: 0.9s !important; }

@keyframes pbSparkle {
    0%, 100% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
    50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

.db-pb-plan-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-start !important;
}

.db-pb-plan-title-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.db-pb-plan-title-row h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.db-pb-status-badge {
    background: #dcfce7 !important;
    color: #15803d !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
}

.db-pb-status-badge.expired {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.db-pb-expiry {
    font-size: 13px !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.db-pb-middle {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 20px !important;
}

.db-pb-benefits-grid {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
}

.db-pb-benefit-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 !important;
    border-right: 1px solid #f1f5f9 !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
    justify-content: flex-start !important;
}

.db-pb-benefit-item:first-child {
    padding-left: 0 !important;
}

.db-pb-benefit-item:last-child {
    border-right: none !important;
    padding-right: 0 !important;
}

.db-pb-benefit-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.db-pb-benefit-icon.interests { background: #ffe4e6 !important; color: #e11d48 !important; }
.db-pb-benefit-icon.chats { background: #f3e8ff !important; color: #9333ea !important; }
.db-pb-benefit-icon.contacts { background: #dcfce7 !important; color: #16a34a !important; }
.db-pb-benefit-icon.views { background: #ffedd5 !important; color: #ea580c !important; }

.db-pb-benefit-icon i {
    font-size: 16px !important;
}

.db-pb-benefit-info {
    display: flex !important;
    flex-direction: column !important;
}

.db-pb-benefit-val {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.2 !important;
}

.db-pb-benefit-lbl {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.db-pb-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    padding-left: 10px !important;
    z-index: 2 !important;
}

.db-pb-hexagon-wrapper {
    position: relative !important;
    width: 120px !important;
    height: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.db-pb-hexagon-wrapper svg {
    filter: drop-shadow(0 4px 8px rgba(255, 95, 109, 0.1)) !important;
}

@media (max-width: 992px) {
    .db-plan-benefits-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px !important;
    }
    .db-pb-left {
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 16px !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }
    .db-pb-shield-box {
        width: 48px !important;
        height: 48px !important;
    }
    .db-pb-shield-inner {
        width: 36px !important;
        height: 36px !important;
    }
    .db-pb-shield-inner i {
        font-size: 14px !important;
    }
    .db-pb-middle {
        padding-left: 0 !important;
        width: 100% !important;
        margin-top: 16px !important;
    }
    .db-pb-right {
        display: none !important;
    }
    .db-pb-benefits-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
        gap: 0 !important;
        border: none !important;
    }
    .db-pb-benefit-item {
        flex: none !important;
        min-width: 0 !important;
        padding: 16px !important;
        justify-content: flex-start !important;
        border: none !important;
    }
    .db-pb-benefit-item:first-child {
        padding-left: 16px !important;
    }
    .db-pb-benefit-item:nth-child(1) {
        border-right: 1px solid #f1f5f9 !important;
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .db-pb-benefit-item:nth-child(2) {
        border-bottom: 1px solid #f1f5f9 !important;
    }
    .db-pb-benefit-item:nth-child(3) {
        border-right: 1px solid #f1f5f9 !important;
    }
}

@media (max-width: 600px) {
    .db-pb-plan-details {
        align-items: flex-start !important;
    }
    .db-pb-plan-title-row h3 {
        font-size: 16px !important;
    }
    .db-pb-expiry {
        font-size: 12px !important;
    }
    .db-pb-benefit-icon {
        width: 36px !important;
        height: 36px !important;
    }
    .db-pb-benefit-icon i {
        font-size: 14px !important;
    }
    .db-pb-benefit-val {
        font-size: 15px !important;
    }
    .db-pb-benefit-lbl {
        font-size: 10px !important;
    }
}

/* Dashboard Plan Benefits Section styling */
.db-benefits-flex {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between; 
    gap: 16px;
}
.db-benefit-item {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    flex: 1; 
    min-width: 180px; 
    justify-content: space-between;
}
.db-benefit-divider {
    width: 1px; 
    height: 28px; 
    background-color: #e5e7eb;
}
@media (max-width: 991px) {
    .db-benefits-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px;
    }
    .db-benefit-divider {
        display: none !important;
    }
    .db-benefit-item {
        width: 100% !important;
        flex: none !important;
    }
}

.db-benefits-section {
    margin-bottom: 25px;
}
.db-benefits-card {
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    padding: 20px;
    border: 1px solid #f1f1f1;
}
.db-benefits-header {
    margin-bottom: 20px;
}
.db-benefits-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    font-family: 'Inter', sans-serif;
}
.db-benefits-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0 0 0;
    font-family: 'Inter', sans-serif;
}
.db-benefit-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.db-benefit-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #FDECEC;
    display: flex;
    align-items: center;
    justify-content: center;
}
.db-benefit-icon {
    color: #C61B1F;
    font-size: 15px;
}
.db-benefit-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    font-family: "Inter", sans-serif;
    white-space: nowrap;
}
.db-benefit-value {
    font-size: 15px;
    font-weight: 700;
    color: #C61B1F;
    font-family: "Inter", sans-serif;
    margin-left: 10px;
}