﻿/* Mobile More Menu Page Styles */

.more-menu-page {
    padding: 1.5rem 1rem;
    padding-bottom: 100px; /* Space for bottom navigation */
    max-width: 600px;
    margin: 0 auto;
}

.more-menu-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 1.5rem 0;
}

/* Section styles */
.menu-section {
    margin-bottom: 1.5rem;
}

.menu-section-title {
    display: block;
    padding: 0 0.25rem 0.5rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.menu-list {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Menu item styles */
.menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
    gap: 0.875rem;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-size: 0.9375rem;
    font-family: inherit;
}

.menu-item:last-child,
.menu-list > *:last-child .menu-item {
    border-bottom: none;
}

.menu-item:hover,
.menu-item:focus {
    background-color: #f9fafb;
    text-decoration: none;
    color: #374151;
}

.menu-item:active {
    background-color: #f3f4f6;
}

.menu-item i:first-child {
    width: 24px;
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    flex-shrink: 0;
}

.menu-item-label {
    flex: 1;
    font-weight: 500;
}

.menu-item-arrow {
    color: #d1d5db;
    font-size: 0.75rem;
}

/* Profile item specific styles */
.menu-item-profile {
    padding: 0.875rem 1rem;
}

.menu-item-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.menu-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-avatar i {
    font-size: 1.25rem;
    color: #ffffff;
}

.menu-item-initials {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
}

.menu-item-profile .menu-item-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Logout item */
.menu-item-form {
    display: contents;
}

.menu-item-logout {
    color: #dc2626;
}

.menu-item-logout i:first-child {
    color: #dc2626;
}

.menu-item-logout:hover,
.menu-item-logout:focus {
    background-color: #fef2f2;
    color: #dc2626;
}

/* Desktop: Hide the more menu page and show regular navigation */
@media (min-width: 768px) {
    .more-menu-page {
        display: none;
    }
}
