
/*HOME PAGE PROFILE CARD*/
:root {
    --primary: #e91e63;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}
.section-container { max-width: 1200px; margin: 0 auto; text-align: center; }
.section-title { font-size: 3rem; font-weight: 700; color: var(--text-main); margin-bottom: 40px;font-family: 'Inter', sans-serif;  }
.section-title span { color: var(--primary); font-weight: 400; }

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.home-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid #f1f5f9;
}

.home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(233, 30, 99, 0.1);
    border-color: var(--primary);
}

.img-box { width: 100%; height: 280px; overflow: hidden; position: relative; }
.img-box img { width: 100%; height: 100%; object-fit: cover; }

/* Premium Badge Redesign */
.premium-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700, #ffa000);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-info { padding: 20px; text-align: left; }
.name {
    font-family: 'Inter', sans-serif; 
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: capitalize;
    margin-bottom: 5px;
}

.meta-text {
    font-family: 'Inter', sans-serif; 
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-family: 'Inter', sans-serif; 
}

.location-tag {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}
/*HOME PAGE PROFILE CARD*/


.profile-card {
		width: 200px;
		background: #fff;
		border-radius: 15px;
		overflow: hidden;
		box-shadow: 0 3px 12px rgba(0,0,0,0.15);
		position: relative;
		float: left;
		margin-right: 15px;
		margin-bottom: 15px;
	}

	.profile-image-wrapper {
		position: relative;
	}

	.profile-image {
		width: 100%;
		/* height: 420px; */
		object-fit: cover;
	}

	.watermark {
		position: absolute;
		right: 10px;
		top: 50%;
		transform: translateY(-50%) rotate(180deg);
		writing-mode: vertical-rl;
		color: rgba(255,255,255,0.8);
		font-size: 12px;
		font-weight: bold;
		letter-spacing: 1px;
	}

	.profile-info {
		padding: 20px;
	}

	.profile-name {
		font-size: 14px;
		font-weight: 700;
		color: #1a1a1a;
		margin-bottom: 8px;
		color: #d91286 !important;
	}

	.profile-details {
		font-size: 12px;
		color: #666;
		margin-bottom: 4px;
	}

	.profile-location {
		font-size: 12px;
		color: #666;
	}

	.tilak {
		position: absolute;
		top: 105px;
		left: 50%;
		transform: translateX(-50%);
		width: 16px;
		height: 8px;
		/* background: #f5e6a8; */
		border-radius: 10px;
	}

	/* Premium Ribbon */
	/* Slim Premium Ribbon */
.premium-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 95px;
    height: 95px;
    overflow: hidden;
    z-index: 20;
}

.premium-ribbon span {
    position: absolute;
    width: 145px;
    padding: 5px 0;
    background: rgba(217, 18, 134, 0.88); /* #d91286 with opacity */
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transform: rotate(45deg);
    top: 20px;
    right: -32px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    backdrop-filter: blur(2px);
}

/* folded corners */
.premium-ribbon:before,
.premium-ribbon:after {
    content: '';
    position: absolute;
}

.premium-ribbon:before {
    top: 0;
    left: 18px;
    border-style: solid;
    border-width: 0 0 8px 8px;
    border-color: transparent transparent rgba(140, 0, 82, 0.9) transparent;
}

.premium-ribbon:after {
    bottom: 18px;
    right: 0;
    border-style: solid;
    border-width: 8px 8px 0 0;
    border-color: rgba(140, 0, 82, 0.9) transparent transparent transparent;
}

/* Left Premium Ribbon */
.premium-ribbon-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    overflow: hidden;
    z-index: 20;
}

.premium-ribbon-left span {
    position: absolute;
    width: 140px;
    padding: 4px 0;
    background: rgba(217, 18, 134, 0.55); /* reduced opacity */
    color: #0d0d0d;
    font-size: 10px;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: rotate(-45deg);
    top: 22px;
    left: -34px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    backdrop-filter: blur(2px);
}

/* fold effect */
.premium-ribbon-left:before {
    /* content: ''; */
    position: absolute;
    top: 0;
    right: 18px;
    border-style: solid;
    border-width: 0 8px 8px 0;
    border-color: transparent rgba(140, 0, 82, 0.45) transparent transparent;
}

.premium-ribbon-left:after {
    /* content: ''; */
    position: absolute;
    bottom: 18px;
    left: 0;
    border-style: solid;
    border-width: 8px 0 0 8px;
    border-color: transparent transparent transparent rgba(140, 0, 82, 0.45);
}

:root {
    --primary-color: #d91286;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-sub: #64748b;
}

/*LIST VIEW*/
.profile-card-list {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: row;
    gap: 24px;
    max-width: 650px;
    width: 100%;
    border: 1px solid #f1f5f9;
    font-family: 'Inter', sans-serif !important;
}

.profile-card-list .img-container { width: 180px;height: 208px; border-radius: 20px; overflow: hidden; flex-shrink: 0; }
.profile-card-list .img-container img { width: 100%; height: 100%; object-fit: cover; }

.info-section { flex: 1; }
.profile-card-list .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.profile-card-list .id-tag { font-size: 1.5rem; font-weight: 600; color: var(--text-main); }
.profile-card-list .status-badge { background: linear-gradient(135deg, #ffd700, #ffa000); color: #166534; font-size: 11px; padding: 4px 10px; border-radius: 20px; font-weight: 600; text-transform: uppercase; }

.profile-card-list .details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-card-list .detail-item { display: flex; flex-direction: column; }
.profile-card-list .labelMl { font-size: 1.2rem; color: var(--text-sub); margin-bottom: 2px; }
.profile-card-list .value { font-size: 1.3rem; color: var(--text-main); font-weight: 500; }

.profile-card-list .action-bar { display: flex; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.profile-card-list .icon-btn { 
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 50%; width: 40px; height: 40px; 
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s;
}
.profile-card-list .icon-btn:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }

.profile-card-list .view-btn { 
    background: var(--primary-color); color: white; border: none; padding: 10px 20px; 
    border-radius: 12px; font-weight: 600; cursor: pointer; flex: 1; transition: 0.3s;
}
.profile-card-list .view-btn:hover { opacity: 0.9; }

@media (max-width: 500px) { .profile-card { flex-direction: column; } }

/*NEW FULL WIDTH UI*/

:root {
            --primary-pink: #d91286;
            --soft-bg: #fdf2f8;
            --text-dark: #1e293b;
            --text-muted: #64748b;
            --border-light: #f1f5f9;
            --bg-card: #ffffff;
            --primary-accent: #d91286;
            --card-white: #ffffff;
        }

/* Mimicking col-lg-12 width */
.profile-container {
    /* max-width: 1100px; */
    margin: 0 auto;
    margin-top: 20px;
}

.matrimony-card {
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease;
}

.matrimony-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Image Section */
.photo-sidebar {
    width: 220px;
    position: relative;
    flex-shrink: 0;
}

.photo-sidebar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700, #ffa000);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Content Section */
.content-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.user-title h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
}

.user-title span {
    color: var(--primary-pink);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--soft-bg);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item i {
    color: #ddd;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.info-text .labelM {
    display: block;
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-text .value {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Right Side Actions */
.action-sidebar {
    width: 240px;
    border-left: 1px solid var(--border-light);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fafafa;
}

.icon-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.circle-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-muted);
}

.circle-btn:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: var(--soft-bg);
}

.circle-btn.active {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
    background: var(--soft-bg);
}

.btn-full {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1.2rem;
    transition: opacity 0.2s;
    text-align: center;
}

.btn-full:hover { color: white; }

@media (max-width: 992px) {
    .matrimony-card { flex-direction: column; }
    .photo-sidebar { width: 100%; height: 250px; }
    .action-sidebar { width: 100%; border-left: none; border-top: 1px solid var(--border-light); }
    .info-grid { grid-template-columns: 1fr 1fr; }
}


/* Grid Container (mimicking a col-lg-3 or col-md-4) */
.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-wrapper .profile-grid-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e2e8f0;
}

.grid-wrapper .profile-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Image Area */
.grid-wrapper .image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.grid-wrapper .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-wrapper .profile-grid-card:hover .image-wrapper img {
    transform: scale(1.05);
}

/* Overlay Actions */
.grid-wrapper .floating-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.grid-wrapper .profile-grid-card:hover .floating-actions {
    opacity: 1;
    transform: translateX(0);
}

.grid-wrapper .action-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: 0.2s;
}

.grid-wrapper .action-circle:hover {
    background: var(--primary-accent);
    color: white;
}

/* Content Area */
.grid-wrapper .card-content {
    padding: 20px;
    text-align: center;
}

.grid-wrapper .user-id {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 4px;
    display: block;
}

.grid-wrapper .created-by {
    color: var(--primary-pink);
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--soft-bg);
    padding: 4px 12px;
    border-radius: 20px;
}

.grid-wrapper .user-specs {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 18px;
    margin-top: 10px;
}

.grid-wrapper .specs-divider {
    color: #cbd5e1;
    margin: 0 6px;
}

/* Primary Button */
.grid-wrapper .btn-view {
    display: block;
    width: 100%;
    background: var(--primary-accent);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: background 0.2s;
    
}

.grid-wrapper .btn-view:hover {
    background: var(--primary-pink);
}

/* Online Badge */
.grid-wrapper .online-dot {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ffd700, #ffa000);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Mobile Card Wrapper */
.mobile-card {
    background: var(--card-white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.03);
    margin-top: 10px;
}

/* Image Hero Section */
.mobile-card .img-header {
    position: relative;
    width: 100%;
    height: 380px;
}

.mobile-card .img-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating ID Tag instead of top bar */
.mobile-card .id-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Content Area */
.mobile-card .content-body {
    padding: 24px;
    margin-top: -30px; /* Overlap effect */
    background: var(--card-white);
    border-radius: 30px 30px 0 0;
    position: relative;
}

.mobile-card .profile-status {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
    text-align: center;
}

/* Info Grid - Replaces the list style in image_87a3b2.png */
.mobile-card .info-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.mobile-card .info-group { display: flex; flex-direction: column; }
.mobile-card .label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.mobile-card .value { font-size: 14px; color: var(--text-dark); font-weight: 600; }

/* Centered CTA */
.mobile-card .view-profile-btn {
    background: var(--primary-color);
    color: white;
    text-align: center;
    display: block;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    /* margin-bottom: 24px; */
    transition: transform 0.2s ease;
}

.mobile-card .view-profile-btn:active { transform: scale(0.98); }

/* Modern Bottom Action Bar */
.action-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.mobile-card .action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s ease;
}

/* Colors for different actions */
.mobile-card .item-shortlist:hover .icon-circle { background: #fffbeb; color: #f59e0b; }
.mobile-card .item-like:hover .icon-circle { background: #fdf2f8; color: #e91e63; }
.mobile-card .item-unlike:hover .icon-circle { background: #fef2f2; color: #ef4444; }

.action-label { font-size: 11px; font-weight: 600; }



