﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.mm-language-tabs {
    display: inline-flex;
    align-items: center;
    background: #f3f5f7;
    border: 1px solid #dfe4e8;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}

.mm-lang-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    min-width: 65px;
    border-radius: 6px;
    color: #555;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mm-lang-tab:hover {
    color: #7a1f2b;
    background: #fff;
}

.mm-lang-tab.active {
    background: #7a1f2b;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.mm-lang-tab.active:hover {
    color: #fff;
    background: #7a1f2b;
}

@media (max-width: 576px) {
    .mm-language-tabs {
        padding: 2px;
    }

    .mm-lang-tab {
        min-width: 55px;
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* Common Button */
.mm-action-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    min-height: 38px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.2px;
    overflow: hidden;
    cursor: pointer;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Shine Animation */
.mm-action-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -110%;
    width: 70%;
    height: 100%;
    background: rgba(255, 255, 255, 0.20);
    transform: skewX(-25deg);
    transition: left 0.5s ease;
}

.mm-action-btn:hover::before {
    left: 140%;
}

/* Login Button */
.mm-login-btn {
    color: var(--mm-orange);
    background: #fff;
    border: 1px solid var(--mm-orange);
}


.mm-login-btn:hover {
    color: #fff;
    background: #7a1f2b;
    border-color: #7a1f2b;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(122, 31, 43, 0.22);
}

/* Register Button */
.mm-register-btn {
    color: #fff;
    background: #7a1f2b;
    border: 1px solid #7a1f2b;
}

.mm-register-btn:hover {
    color: #7a1f2b;
    background: #fff;
    border-color: #7a1f2b;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(122, 31, 43, 0.22);
}

/* Click Effect */
.mm-action-btn:active {
    transform: translateY(0) scale(0.97);
}

/* Mobile */
@media (max-width: 576px) {
    .mm-action-btn {
        padding: 9px 15px;
        min-height: 38px;
        font-size: 12px;
        border-radius: 6px;
    }
}

.mm-language-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-lang-tamil,
.mm-lang-english {
    padding: 7px 12px;
    border-radius: 5px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.mm-lang-tamil {
    color: #fff;
    background: #891322;
}

.mm-lang-english {
    color: #891322;
    background: rgba(122, 38, 58, 0.08);
}

.mm-lang-tamil:hover,
.mm-lang-english:hover {
    color: #fff;
    background: #891322;
}

.mm-language-switcher a {
    color: #252525;
}

.mm-search-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.mm-search-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mm-search-title i {
    font-size: 18px;
    color: #891322;
}

.mm-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    text-decoration: none;
    cursor: pointer;
}

.mm-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5e5552;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mm-more i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.mm-more:hover {
    color: #891322;
}

.mm-more:hover i {
    transform: translateY(2px);
}

.mm-search-panel {
    position: relative;
    z-index: 2;
    padding: 25px;
}

/* White background behind search box */
.mm-search-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;

    z-index: -1;
}

/* Search content */
.mm-search-panel>* {
    position: relative;
    z-index: 2;
}

.mm-search-container {
    margin-top: -60px;
}

.find-section {
    position: relative;
}

.verified-section {
    margin: 40px 0;
}

.happy-section {
    margin: 40px 0;
}

.match-section {
    margin: 40px 0;
}

.mm-footer-item {
    display: block;
    color: inherit;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.mm-footer-item:hover {
    text-decoration: none;
}

.mm-footer-item:hover i {
    transform: translateY(-3px);
}

.mm-footer-item i {
    transition: transform 0.3s ease;
}

.mm-mobile-bottom-bar {
    display: none;
}

@media (max-width: 767px) {

    .mm-mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;

        height: 64px;
        padding: 7px 10px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid rgba(122, 38, 58, 0.15);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.10);

        z-index: 9999;
    }

    .mm-mobile-bottom-bar a {
        flex: 1;
        height: 35px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        border-radius: 6px;

        font-family: "Poppins", sans-serif;
        font-size: 11px;
        font-weight: 600;

        text-decoration: none;
        transition: all 0.3s ease;
    }

    /* Tamil */
    .mm-mobile-tamil {
        color: #891322;
        background: rgba(122, 38, 58, 0.06);
    }

    /* English */
    .mm-mobile-english {
        color: #891322;
        background: rgba(122, 38, 58, 0.06);
    }

    /* Login */
    .mm-mobile-login {
        color: #891322;
        background: transparent;
        border: 1px solid rgba(122, 38, 58, 0.35);
    }

    /* Register */
    .mm-mobile-register {
        color: #ffffff;
        background: #891322;
    }

    .mm-mobile-bottom-bar a:hover {
        text-decoration: none;
    }

    .mm-mobile-login:hover {
        color: #ffffff;
        background: #891322;
    }

    .mm-mobile-register:hover {
        color: #ffffff;
        background: #861321;
    }

    .mm-mobile-bottom-bar i {
        font-size: 14px;
    }

    /* Prevent page content from being hidden */
    body {
        padding-bottom: 75px;
    }
}

.mm-mobile-action-bar {
    display: none;
}

@media (max-width: 767px) {

    .mm-mobile-action-bar {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;

        height: 64px;
        padding: 6px;

        display: flex;
        align-items: center;

        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(122, 38, 58, 0.12);
        border-radius: 16px;

        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.14);

        z-index: 99999;
    }

    .mm-mobile-action-item {
        flex: 1;
        height: 52px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 3px;

        color: #666;
        text-decoration: none;

        font-family: "Poppins", sans-serif;
        font-size: 10px;
        font-weight: 600;

        border-radius: 11px;

        transition:
            color 0.3s ease,
            background 0.3s ease,
            transform 0.3s ease;
    }

    .mm-mobile-action-item i {
        font-size: 17px;
        line-height: 1;
    }

    .mm-mobile-action-item:hover {
        color: #861321;
        text-decoration: none;
    }

    /* Language */
    .mm-mobile-language {
        color: #861321;
    }

    .mm-mobile-language i {
        font-size: 16px;
    }

    /* Login */
    .mm-mobile-login {
        color: #861321;
        border: 1px solid rgba(122, 38, 58, 0.18);
    }

    .mm-mobile-login:hover {
        color: #ffffff;
        background: #861321;
    }

    /* Register */
    .mm-mobile-register {
        color: #ffffff;
        background: #861321;
        margin-left: 3px;
    }

    .mm-mobile-register:hover {
        color: #ffffff;
        background: #861321;
    }

    /* Icon animation */
    .mm-mobile-action-item:hover i {
        transform: translateY(-2px);
    }

    /* Bottom spacing */
    body {
        padding-bottom: 95px;
    }
}

@media(max-width:1199px) {
    .mm-action-btn {
        padding: 6px 16px;
        min-height: 28px;
        font-size: 12px;
    }

    .mm-language-switcher a {
        font-size: 13px;
    }
}


/* ===== NOTIFICATION BELL ===== */
.mm-notif-wrap { position: relative; display: inline-flex; align-items: center; }

.mm-notif-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: var(--mm-maroon, #891322);
  position: relative;
  padding: 6px 8px;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.mm-notif-btn:hover { color: var(--mm-orange, #f36d0a); }

.mm-notif-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--mm-orange, #f36d0a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

.mm-notif-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(89,42,28,.15);
  z-index: 9999;
  overflow: hidden;
  border: 1px solid var(--mm-border, #ead9bd);
}
.mm-notif-dropdown.open { display: block; }

.mm-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #f5ede8;
  font-weight: 700;
  font-size: 13px;
  color: var(--mm-maroon, #891322);
}

.mm-notif-mark-all {
  background: none;
  border: 1px solid var(--mm-orange, #f36d0a);
  color: var(--mm-orange, #f36d0a);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.mm-notif-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 280px;
  overflow-y: auto;
}

.mm-notif-empty {
  padding: 24px 16px;
  text-align: center;
  color: #aaa;
  font-size: 13px;
}

.mm-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #faf3ee;
  transition: background 0.15s;
}
.mm-notif-item.unread { background: #fffbf5; }
.mm-notif-item:hover { background: #fdf5ee; }

.mm-notif-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mm-notif-avatar-ph {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f5ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mm-orange, #f36d0a);
}
.mm-notif-title { font-size: 12px; font-weight: 600; color: #2d3748; }
.mm-notif-msg   { font-size: 11px; color: #666; margin-top: 2px; }
.mm-notif-time  { font-size: 10px; color: #a0aec0; margin-top: 3px; }
.notif-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mm-orange, #f36d0a);
  margin-left: 4px;
  vertical-align: middle;
}

.mm-notif-view-all {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--mm-orange, #f36d0a);
  border-top: 1px solid #f5ede8;
  text-decoration: none;
}
.mm-notif-view-all:hover { background: #fffbf5; }



/* ===== MISSING UTILITY CLASSES ===== */
.choose-section { padding: 40px 0; background: #fff; }
.mm-age-to { min-width: 90px; }
