/* ==========================================
   CSS for Profile & Daily Recommendations Page
   ========================================== */

.dr-container {
    max-width: 1060px;
    margin: 1.5rem auto 3rem auto;
    padding: 0 16px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

/* Header Bar */
.dr-header-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.5rem;
}

.dr-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.dr-back-btn:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
    transform: translateX(-2px);
}

.dr-header-bar h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Success Banner */
.success-banner {
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.success-banner i { font-size: 1.8rem; }
.success-banner h2 { font-size: 1.15rem; margin: 0 0 4px 0; font-weight: 700; color: #ffffff;}
.success-banner p { margin: 0; font-size: 0.9rem; opacity: 0.95; color: #ffffff;}

/* Main Profile Card */
.dr-main-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0,0,0,0.02);
    border: 1px solid #e2e8f0;
    display: flex;
    overflow: hidden;
    padding: 20px;
    gap: 22px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease;
}

.dr-main-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
}

/* Left - Profile Image & Gallery */
.dr-card-left {
    flex-shrink: 0;
    width: 290px;
    display: flex;
    flex-direction: column;
}

.dr-image-wrapper {
    position: relative;
    width: 100%;
    height: 310px;
    border-radius: 14px;
    overflow: hidden;
    background-color: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.dr-main-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.dr-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.dr-image-wrapper:hover .dr-main-image img {
    transform: scale(1.02);
}

.dr-watermark {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 1.35rem;
    font-weight: 800;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Thumbnails Strip */
.dr-thumbnails-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    position: relative;
    width: 100%;
}

.dr-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 2px 8px 2px;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.dr-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.dr-thumbnails::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dr-thumbnail {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

.dr-thumbnail:hover {
    transform: translateY(-2px);
}

.dr-thumbnail.active {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.25);
}

.dr-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right - Profile Info */
.dr-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dr-profile-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dr-verified-badge,
.verified-badge,
.badge-verified,
.m-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    color: #1d4ed8 !important;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 4px 13px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
    letter-spacing: 0.01em;
    user-select: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-verified-badge i,
.verified-badge i,
.badge-verified i,
.m-verified i {
    color: #2563eb;
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(37, 99, 235, 0.2));
}

.dr-verified-badge:hover,
.verified-badge:hover,
.badge-verified:hover,
.m-verified:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-color: #93c5fd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.dr-profile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.dr-name-info h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.dr-id-lastseen {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* Top Actions Right (Shortlist & 3-Dot Menu) */
.dr-top-actions-right {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.dr-btn-shortlist {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.dr-btn-shortlist:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.dr-btn-shortlist.is-shortlisted {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #b45309 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.dr-btn-shortlist.is-shortlisted i {
    color: #f59e0b !important;
}

.dr-menu-container {
    position: relative;
    display: inline-block;
}

.dr-btn-menu {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.dr-btn-menu:hover,
.dr-btn-menu[aria-expanded="true"] {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.dr-profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 225px;
    max-width: 280px;
    padding: 8px;
    z-index: 1050;
    animation: drDropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes drDropFade {
    from { opacity: 0; transform: translateY(-8px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dr-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
}

.dr-dropdown-item:hover {
    background: #f8fafc;
    color: #0f172a;
}

.dr-dropdown-item i {
    width: 18px;
    font-size: 0.95rem;
    text-align: center;
    flex-shrink: 0;
}

.dr-dropdown-item.text-danger {
    color: #dc2626;
}

.dr-dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.dr-dropdown-divider {
    height: 1px;
    background: #f1f5f9;
    margin: 6px 0;
}

.dr-contact-icons {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.dr-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1.5px solid;
    transition: all 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.dr-icon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.dr-icon-btn.call-icon {
    color: #ea580c;
    border-color: #ea580c;
    background: #fff7ed;
}

.dr-icon-btn.call-icon:hover {
    background: #ea580c;
    color: #ffffff;
}

.dr-icon-btn.wa-icon {
    color: #25d366;
    border-color: #25d366;
    background: #f0fdf4;
    font-size: 1.1rem;
}

.dr-icon-btn.wa-icon:hover {
    background: #25d366;
    color: #ffffff;
}

.dr-profile-details {
    margin-bottom: 12px;
}

.dr-profile-details p {
    font-size: 0.96rem;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 8px 0;
    font-weight: 500;
}

/* Enhanced Profile Tag Pills */
.dr-profile-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 18px 0;
}

.dr-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.86rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.2s ease;
    user-select: none;
}

.dr-tag-pill:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dr-tag-pill i {
    font-size: 0.88rem;
    color: #ea580c;
}

.dr-tag-pill.highlight {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.dr-tag-pill.highlight i {
    color: #ea580c;
}

.dr-tag-pill.highlight-location {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #047857;
}

.dr-tag-pill.highlight-location i {
    color: #059669;
}

.dr-dot {
    color: #cbd5e1;
    margin: 0 6px;
}

.dr-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 50%, #e2e8f0 100%);
    margin: 16px 0;
}

.dr-bottom-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.dr-bottom-actions button,
.dr-bottom-actions a.dr-btn-interest,
.dr-bottom-actions a.dr-btn-message,
.dr-bottom-actions a.dr-btn-dontshow,
.dr-bottom-actions a.dr-btn-skip,
.dr-bottom-actions form button,
.dr-btn-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    box-sizing: border-box;
}

.dr-bottom-actions form {
    margin: 0;
    display: inline-flex;
}

.dr-btn-dontshow {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #64748b;
}

.dr-btn-dontshow:hover {
    background: #f8fafc;
    color: #334155;
    border-color: #94a3b8;
}

.dr-btn-skip {
    background: #ffffff;
    border: 1px solid #fdba74;
    color: #ea580c;
}

.dr-btn-skip:hover {
    background: #fff7ed;
    border-color: #ea580c;
}

.dr-btn-interest {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: 1px solid #ea580c;
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(234, 88, 12, 0.25);
}

.dr-btn-interest:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    box-shadow: 0 5px 16px rgba(234, 88, 12, 0.35);
    transform: translateY(-1px);
    color: #ffffff;
}

.dr-btn-message {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: 1px solid #15803d;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
}

.dr-btn-message:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.dr-btn-message.blue-tier {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: 1px solid #1d4ed8;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.dr-btn-message.blue-tier:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
    color: #ffffff !important;
}

.dr-btn-accept {
    background: linear-gradient(135deg, #16a34a, #15803d);
    border: 1px solid #15803d;
    color: #ffffff !important;
    box-shadow: 0 3px 12px rgba(22, 163, 74, 0.25);
}

.dr-btn-accept:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 5px 16px rgba(22, 163, 74, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.dr-btn-decline {
    background: #ef4444;
    border: 1px solid #dc2626;
    color: #ffffff !important;
}

.dr-btn-decline:hover {
    background: #dc2626;
    color: #ffffff !important;
}

.dr-btn-pending {
    background: #f59e0b;
    border: 1px solid #d97706;
    color: #ffffff !important;
    cursor: default !important;
}

.dr-btn-declined {
    background: #dc2626;
    border: 1px solid #b91c1c;
    color: #ffffff !important;
    cursor: default !important;
}

/* Two Column Layout */
.dr-two-column-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.dr-left-column {
    flex: 1;
    min-width: 0;
}

.dr-right-column:empty {
    display: none;
}

.dr-right-column:not(:empty) {
    flex: 0 0 320px;
    width: 320px;
}

/* Info Cards */
.dr-info-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-info-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.dr-info-header {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #fed7aa;
}

.dr-info-header.personal-header {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-bottom-color: #fed7aa;
}

.dr-info-header.religious-header {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border-bottom-color: #fbcfe8;
}

.dr-info-header.education-header {
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    border-bottom-color: #c7d2fe;
}

.dr-info-header.family-header {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-bottom-color: #bbf7d0;
}

.dr-info-header.contact-header {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-bottom-color: #a7f3d0;
}

.dr-info-header.lifestyle-header {
    background: linear-gradient(135deg, #fffbe0, #fef08a);
    border-bottom-color: #fde047;
}

.dr-info-header.about-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-bottom-color: #e2e8f0;
}

.dr-info-icon {
    font-size: 1.25rem;
    color: #ea580c;
    background: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.dr-info-header.religious-header .dr-info-icon { color: #db2777; }
.dr-info-header.education-header .dr-info-icon { color: #4f46e5; }
.dr-info-header.family-header .dr-info-icon { color: #059669; }
.dr-info-header.contact-header .dr-info-icon { color: #047857; }
.dr-info-header.lifestyle-header .dr-info-icon { color: #ca8a04; }
.dr-info-header.about-header .dr-info-icon { color: #475569; }

.dr-info-header h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.dr-info-list {
    display: flex;
    flex-direction: column;
    padding: 18px 22px;
}

.dr-info-row {
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: background 0.15s ease;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 0.94rem;
}

.dr-info-row:hover {
    background: #f8fafc;
}

.dr-info-row:last-child {
    border-bottom: none;
}

.dr-info-label {
    color: #64748b;
    font-weight: 500;
}

.dr-info-value {
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

/* Action Download Buttons Box */
.dr-action-btns-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 22px 20px 22px;
}

.dr-btn-download-pdf {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.dr-btn-download-pdf:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.dr-btn-download-horo {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    border: none;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.dr-btn-download-horo:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Partner Preferences Card */
.dr-preferences-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.dr-pref-main-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
}

.dr-match-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    margin-bottom: 24px;
    gap: 16px;
}

.dr-match-banner img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dr-match-text {
    font-weight: 600;
    font-size: 1.02rem;
    color: #334155;
    text-align: center;
    flex: 1;
}

.dr-match-text span {
    color: #16a34a;
    font-weight: 800;
}

.dr-pref-section {
    margin-bottom: 20px;
}

.dr-pref-header {
    background-color: #f8fafc;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
}

.dr-pref-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.dr-pref-list {
    display: flex;
    flex-direction: column;
    padding: 0 8px;
}

.dr-pref-row {
    display: grid;
    grid-template-columns: minmax(130px, 200px) 1fr 36px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 0.92rem;
}

.dr-pref-row:last-child {
    border-bottom: none;
}

.dr-pref-label {
    color: #64748b;
    font-weight: 500;
}

.dr-pref-value {
    font-weight: 600;
    color: #0f172a;
}

.dr-check-icon {
    text-align: right;
    font-size: 1.15rem;
}

/* Sticky Action Bar (Mobile & Scroll) */
.dr-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-sticky-bar.visible {
    transform: translateY(0);
}

.dr-sticky-content {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.dr-sticky-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dr-sticky-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #cbd5e1;
}

.dr-sticky-profile h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .dr-container {
        padding: 0 14px;
        margin: 1rem auto 2.5rem auto;
    }

    .dr-two-column-layout {
        flex-direction: column;
    }
    
    .dr-left-column, .dr-right-column {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .dr-main-card {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
        border-radius: 14px;
    }

    .dr-card-left {
        width: 100%;
        max-width: 100%;
    }

    .dr-image-wrapper {
        height: 360px;
    }

    .dr-profile-top-actions {
        margin-top: 4px;
    }

    .dr-name-info h2 {
        font-size: 1.45rem;
    }

    .dr-bottom-actions {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr;
        gap: 8px;
        width: 100%;
    }

    .dr-bottom-actions button,
    .dr-bottom-actions a,
    .dr-bottom-actions form,
    .dr-bottom-actions form button {
        padding: 10px 8px;
        font-size: 0.85rem;
        min-height: 44px;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }

    .dr-info-row {
        grid-template-columns: minmax(120px, 160px) 1fr;
    }

    .dr-pref-row {
        grid-template-columns: minmax(110px, 150px) 1fr 30px;
    }

    .dr-sticky-bar {
        display: block;
    }

    .dr-sticky-profile {
        display: none;
    }

    .dr-sticky-content {
        justify-content: center;
        width: 100%;
    }

    .dr-sticky-content .dr-bottom-actions {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dr-image-wrapper {
        height: 320px;
    }

    .dr-info-card {
        border-radius: 12px;
    }

    .dr-info-header {
        padding: 14px 16px;
    }

    .dr-info-list {
        padding: 14px 16px;
    }

    .dr-info-row {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 8px 0;
    }

    .dr-info-label {
        font-size: 0.82rem;
        color: #64748b;
    }

    .dr-info-value {
        font-size: 0.94rem;
    }

    .dr-pref-row {
        grid-template-columns: 1fr 30px;
        gap: 2px;
    }

    .dr-pref-label {
        grid-column: 1 / -1;
        font-size: 0.82rem;
    }

    .dr-pref-value {
        grid-column: 1;
        font-size: 0.92rem;
    }

    .dr-check-icon {
        grid-column: 2;
    }

    .dr-bottom-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .dr-bottom-actions button,
    .dr-bottom-actions a,
    .dr-bottom-actions form,
    .dr-bottom-actions form button,
    .dr-btn-dontshow, .dr-btn-skip, .dr-btn-interest, .dr-btn-message, .dr-btn-accept, .dr-btn-decline, .dr-btn-pending, .dr-btn-declined {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .dr-match-banner {
        flex-direction: column;
        padding: 14px;
        text-align: center;
    }

    .dr-action-btns-row {
        flex-direction: column;
        padding: 0 16px 16px 16px;
    }

    .dr-btn-download-pdf, .dr-btn-download-horo {
        width: 100%;
        justify-content: center;
    }

    .dr-profile-top-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .dr-top-actions-right {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .dr-btn-shortlist {
        padding: 5px 11px;
        font-size: 0.8rem;
        gap: 5px;
        border-radius: 18px;
    }

    .dr-btn-menu {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .dr-profile-dropdown {
        right: 0;
        max-width: calc(100vw - 32px);
        min-width: 215px;
    }
}

@media (max-width: 400px) {
    .dr-image-wrapper {
        height: 280px;
    }

    .dr-header-bar h1 {
        font-size: 1.15rem;
    }

    .dr-verified-badge {
        font-size: 0.78rem;
        padding: 3px 8px;
    }

    .dr-btn-shortlist {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* ==========================================
   Responsive Prime Member Badge & Upgrade Batch
   ========================================== */
.dr-prime-badge,
.badge-prime-member,
.verified-badge-prime {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #f59e0b 100%);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
    letter-spacing: 0.02em;
    user-select: none;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: primePulse 3s infinite ease-in-out;
}

.dr-prime-badge i,
.badge-prime-member i,
.verified-badge-prime i {
    color: #fef08a;
    font-size: 0.86rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

@keyframes primePulse {
    0%, 100% {
        box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);
    }
    50% {
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.6);
    }
}

.dr-prime-badge:hover,
.badge-prime-member:hover,
.verified-badge-prime:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.5);
}

@media (max-width: 576px) {
    .dr-prime-badge,
    .badge-prime-member,
    .verified-badge-prime {
        font-size: 0.75rem;
        padding: 3px 9px;
        gap: 4px;
    }
    .dr-prime-badge i,
    .badge-prime-member i,
    .verified-badge-prime i {
        font-size: 0.78rem;
    }
}

/* Unpaid member photo blur & overlay styles */
.photo-blur-filter {
    filter: blur(12px) brightness(0.9) !important;
    -webkit-filter: blur(12px) brightness(0.9) !important;
    transform: scale(1.08) !important;
}

.photo-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
    z-index: 6;
    cursor: pointer;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.photo-lock-overlay p {
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    max-width: 90%;
}

.photo-lock-overlay .btn-upgrade-photo-badge {
    background: var(--primary-orange, #e65100);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none !important;
    border: 1.5px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    display: inline-block;
}

.photo-lock-overlay .btn-upgrade-photo-badge:hover {
    background: #d84315;
    transform: scale(1.04);
}
