﻿/* ===========================
   MOBILE LAYOUT BASE
   =========================== */

.mfp-mobile-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('/images/white-texture.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Special Elite', Arial, Helvetica, sans-serif;
}

.mfp-mobile-layout * {
    font-family: inherit;
}

/* ===========================
   TOP NAVIGATION BAR
   =========================== */

.mfp-mobile-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    height: 56px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    gap: 12px;
}

.mfp-mobile-nav-title {
    position: relative;
    top: 2px;
    font-weight: 400;
    font-size: x-large;
    color: whitesmoke;
}

.mfp-mobile-profile-container {
    position: relative;
}

.mfp-mobile-profile-btn {
    background: none;
    border: none;
    padding: 0px;
    cursor: pointer;
    color: whitesmoke;
    font-size: 24px;
    transition: transform 0.2s ease;
}

.mfp-mobile-profile-btn i {
    font-size: 20px;
}

.mfp-mobile-profile-btn img {
    width: 24px;
    height: 24px;
}

.mfp-mobile-profile-btn:active {
    transform: scale(0.95);
}

/* ===========================
   SEARCH BAR
   =========================== */

.mfp-mobile-search-container {
    flex: 1;
    position: relative;
}

.mfp-mobile-search-container i {
    margin-top: 0.25rem;
}

.mfp-mobile-search-input {
    width: 100%;
    padding: 6px 36px 6px 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #303030;
    outline: none;
    transition: all 0.2s ease;
}

.mfp-mobile-search-input::placeholder {
    color: #999;
}

.mfp-mobile-search-input:focus {
    background-color: white;
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mfp-mobile-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
    pointer-events: none;
}

/* ===========================
   PROFILE DROPDOWN MENU
   =========================== */

.mfp-mobile-profile-menu {
    position: absolute;
    top: 48px;
    right: 0;
    width: 160px;
    border-radius: 8px;
    z-index: 1000;
    animation: slideDown 0.2s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.profile-menu-list li {
    padding: 4px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #303030;
    text-align: right;
}

.profile-menu-list li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.profile-menu-list li.divider {
    height: 0;
    margin: 4px 0;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    cursor: default;
    pointer-events: none;
}

.profile-menu-list li.divider:hover {
    background-color: transparent;
}

/* ===========================
   CONTENT AREA
   =========================== */

.mfp-mobile-content {
    flex: 1;
    overflow-y: auto;
    padding-top: 56px;
    padding-bottom: 60px;
    /*background-image: url('/images/white-texture.jpg');*/
    background-image: url('/images/grey-brick.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

/* ===========================
   CONTENT CARD (Public Layout Only)
   =========================== */

.mfp-mobile-card {
    height: calc(100vh - 70px - 60px - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ===========================
   BOTTOM NAVIGATION BAR
   =========================== */

.mfp-mobile-bottom-nav {
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    overflow: hidden;
}

.mfp-mobile-bottom-nav-icon-container {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    top: 4px;
    animation: navIconSlideIn 1s ease-out;
}

@keyframes navIconSlideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mfp-bottom-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    color: whitesmoke;
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mfp-bottom-nav-item i {
    font-size: 20px;
}

.mfp-bottom-nav-item.active {
    opacity: 1;
}

.mfp-mobile-bottom-nav p {
    position: relative;
    bottom: 4px;
    color: whitesmoke;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.mfp-bottom-nav-item.active + p {
    opacity: 1;
}

/* Optional: Add a subtle scale on the More button when tapped */
.mfp-mobile-bottom-nav-icon-container button:active {
    transform: scale(0.92);
    transition: transform 0.1s ease;
}

/* ===========================
   MOBILE CONTENT HEADER (FIXED)
   =========================== */

.mfp-mobile-content-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background: inherit;
    flex-shrink: 0;
}

.mfp-mobile-header-label {
    font-size: 20px;
    padding: 6px 14px 0px;
}

/* ===========================
   SCROLLABLE CONTENT AREAS
   =========================== */

.mfp-mobile-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mfp-mobile-body::-webkit-scrollbar {
    display: none;
}

/* ===========================
   PUBLIC MOBILE LAYOUT CTA
   =========================== */

.mfp-cta-btn {
    padding: 8px 20px 4px;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ===========================
   MORE MENU (Bottom Nav)
   =========================== */

.mfp-mobile-more-menu {
    position: absolute;
    bottom: 60px; /* Height of bottom nav */
    right: 0;
    width: 160px;
    border-radius: 8px;
    z-index: 1000;
    animation: slideUp 0.2s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.more-menu-list li {
    padding: 4px 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #303030;
    text-align: right;
}

.more-menu-list li:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

