/* =========================================================
   বাংলা মার্ক:
   এখানে পুরো site-এর মূল premium color, shadow, radius control করা যাবে
   future-এ rebranding করতে চাইলে সবার আগে এই section-টাই change করবে
   ========================================================= */
:root {
    --mat-primary: #c2185b;          /* মূল pink/maroon color */
    --mat-primary-dark: #8e1243;     /* hover / darker color */
    --mat-primary-soft: #fce4ec;     /* soft background */
    --mat-accent: #c9a227;           /* soft gold accent */
    --mat-success: #1f8f4e;          /* success / verified color */
    --mat-success-soft: #e8f7ee;     /* soft success bg */
    --mat-warning-bg: #fff7dd;
    --mat-warning-text: #8a6d1f;
    --mat-bg: #f7f8fb;               /* page background */
    --mat-card-bg: #ffffff;          /* card background */
    --mat-text: #1f2937;             /* main text */
    --mat-text-soft: #6b7280;        /* light text */
    --mat-border: #ececf2;           /* border color */
    --mat-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --mat-shadow-hover: 0 16px 40px rgba(15, 23, 42, 0.14);
    --mat-radius: 18px;              /* সাধারণ card radius */
    --mat-radius-sm: 12px;           /* ছোট radius */
}

/* =========================================================
   বাংলা মার্ক:
   Dashboard পুরো section কত চওড়া হবে এখানে change করবে
   এখন: 1180px
   কমাতে চাইলে: 1000px
   বাড়াতে চাইলে: 1280px
   ========================================================= */
.matrimony-dashboard {
    max-width: 1180px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
    color: var(--mat-text);
}

/* =========================================================
   বাংলা মার্ক:
   Sidebar width কমানো/বাড়ানো এখানে করবে
   এখন: 280px
   ========================================================= */
.matrimony-sidebar {
    width: 280px;
    background: var(--mat-card-bg);
    border-radius: var(--mat-radius);
    box-shadow: var(--mat-shadow);
    overflow: hidden;
    border: 1px solid var(--mat-border);
    position: relative;
}

.matrimony-profile-card {
    text-align: center;
    padding: 28px 20px 22px;
    border-bottom: 1px solid var(--mat-border);
    background:
        linear-gradient(180deg, rgba(252, 228, 236, 0.65) 0%, rgba(255,255,255,1) 55%);
}

/* =========================================================
   বাংলা মার্ক:
   Sidebar profile image size এখানে change করবে
   এখন: 110px
   ========================================================= */
.matrimony-profile-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 20px rgba(194, 24, 91, 0.18);
    outline: 2px solid rgba(194, 24, 91, 0.16);
}

.matrimony-profile-card h4 {
    margin: 14px 0 8px;
    color: var(--mat-text);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.matrimony-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.badge-pending {
    background: var(--mat-warning-bg);
    color: var(--mat-warning-text);
    border: 1px solid #f2dda0;
}

.badge-approved {
    background: var(--mat-success-soft);
    color: var(--mat-success);
    border: 1px solid #b9e5c8;
}

.matrimony-nav {
    list-style: none;
    padding: 10px 0;
    margin: 0;
}

.matrimony-nav li {
    border-bottom: 1px solid rgba(236, 236, 242, 0.8);
}

.matrimony-nav li:last-child {
    border-bottom: none;
}

.matrimony-nav li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: #4b5563;
    text-decoration: none;
    font-weight: 700;
    transition: 0.28s ease;
    cursor: pointer;
    position: relative;
}

.matrimony-nav li a:hover,
.matrimony-nav li a.active {
    background: linear-gradient(90deg, rgba(252, 228, 236, 0.95) 0%, rgba(255,255,255,1) 100%);
    color: var(--mat-primary);
    border-left: 4px solid var(--mat-primary);
    padding-left: 16px;
}

.msg-count {
    background: linear-gradient(135deg, #ff4d6d, #d90429);
    color: white;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    line-height: 1.2;
}

.matrimony-content {
    flex: 1;
    min-width: 300px;
    background: var(--mat-card-bg);
    border-radius: var(--mat-radius);
    box-shadow: var(--mat-shadow);
    padding: 24px;
    border: 1px solid var(--mat-border);
    box-sizing: border-box;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* =========================================================
   বাংলা মার্ক:
   Profile detail box 2 column থাকবে কি না এটা grid দিয়ে control হচ্ছে
   mobile-এ নিচে auto 1 column হয়ে যাবে
   ========================================================= */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.profile-item {
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--mat-border);
    border-left: 4px solid rgba(194, 24, 91, 0.28);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.profile-item span {
    display: block;
    font-size: 11px;
    color: var(--mat-text-soft);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.profile-item strong {
    color: var(--mat-text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.support-notice {
    background: linear-gradient(180deg, #fff8df 0%, #fff4c8 100%);
    color: #7a5d08;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 13px;
    margin-bottom: 18px;
    border: 1px solid #efd985;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* =========================================================
   বাংলা মার্ক:
   Site-এর common button premium look
   button size বড়/ছোট করতে padding change করবে
   এখন: 11px 20px
   ========================================================= */
.matrimony-btn {
    background: linear-gradient(135deg, var(--mat-primary), var(--mat-primary-dark));
    color: #fff;
    padding: 11px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(194, 24, 91, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.matrimony-btn:hover {
    background: linear-gradient(135deg, var(--mat-primary-dark), var(--mat-primary));
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(194, 24, 91, 0.28);
}

.msg-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.msg-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-bottom: 1px solid var(--mat-border);
    background: #fff;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.msg-item:last-child {
    margin-bottom: 0;
}

.msg-item.unread {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
    border-left: 4px solid #3b82f6;
}

.msg-item img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.msg-content {
    flex: 1;
    min-width: 0;
}

.msg-sender {
    font-weight: 700;
    color: var(--mat-text);
    margin: 0 0 6px;
    font-size: 14px;
}

.msg-text {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
}

.msg-time {
    font-size: 11px;
    color: #9aa1ad;
    margin-top: 8px;
    display: block;
}

/* Pricing Table */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 22px;
}

.pricing-card {
    border: 1px solid var(--mat-border);
    border-radius: 18px;
    padding: 24px 22px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--mat-shadow-hover);
}

.pricing-card.premium {
    border-color: rgba(194, 24, 91, 0.32);
    background: linear-gradient(180deg, #fff4f8 0%, #ffffff 100%);
    box-shadow: 0 12px 28px rgba(194, 24, 91, 0.10);
}

.pricing-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--mat-text);
    margin: 12px 0 14px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    font-size: 14px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: #4b5563;
    line-height: 1.55;
}

.pricing-features li::before {
    content: '✓';
    color: var(--mat-success);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
}

/* =========================================================
   বাংলা মার্ক:
   Tablet view tuning
   ========================================================= */
@media (max-width: 992px) {
    .matrimony-dashboard {
        gap: 18px;
    }

    .matrimony-sidebar {
        width: 100%;
    }

    .matrimony-content {
        width: 100%;
    }
}

/* =========================================================
   বাংলা মার্ক:
   Mobile responsive main control
   নিচের section-এ mobile size / spacing control হবে
   ========================================================= */
@media (max-width: 768px) {
    .matrimony-dashboard {
        padding: 6px;
        gap: 16px;
    }

    .matrimony-sidebar {
        width: 100%;
        border-radius: 16px;
    }

    .matrimony-profile-card {
        padding: 22px 16px 18px;
    }

    .matrimony-profile-card img {
        width: 92px;
        height: 92px;
    }

    .matrimony-profile-card h4 {
        font-size: 18px;
    }

    .matrimony-content {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .profile-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .msg-item {
        padding: 14px;
        gap: 12px;
    }

    .matrimony-nav li a {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* =========================================================
   বাংলা মার্ক:
   খুব ছোট mobile screen-এর জন্য extra polish
   ========================================================= */
@media (max-width: 480px) {
    .matrimony-dashboard {
        padding: 4px;
    }

    .matrimony-content {
        padding: 16px 14px;
    }

    .matrimony-profile-card img {
        width: 84px;
        height: 84px;
    }

    .matrimony-btn {
        width: 100%;
        padding: 11px 16px;
    }

    .pricing-price {
        font-size: 26px;
    }
}

/* =========================================================
   বাংলা মার্ক:
   Future use-এর জন্য reusable premium helper class
   এখন ব্যবহার না করলেও পরে কাজে লাগবে
   ========================================================= */
.mat-premium-section-title {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
    color: var(--mat-text);
    font-weight: 800;
}

.mat-premium-subtitle {
    color: var(--mat-text-soft);
    font-size: 14px;
    line-height: 1.6;
}

.mat-premium-card {
    background: var(--mat-card-bg);
    border: 1px solid var(--mat-border);
    border-radius: var(--mat-radius);
    box-shadow: var(--mat-shadow);
    padding: 20px;
}