/* 菜单按钮 - 汉堡样式 */
.menu-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
    position: relative;
}
.menu-toggle-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.menu-toggle-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* 菜单遮罩 */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 菜单面板 - PC端 */
.menu-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    height: 100%;
    background: #b1d6eb;
    z-index: 1000;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
    padding: 80px 30px 30px;
    box-sizing: border-box;
}
.menu-panel.active {
    right: 0;
}

/* 移动端 - 全屏 */
@media screen and (max-width: 800px) {
    .menu-panel {
        right: -100%;
        width: 100%;
        padding: 80px 25px 30px;
    }
    .menu-panel.active {
        right: 0;
    }
}

/* 关闭按钮 */
.menu-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-close::before,
.menu-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
}
.menu-close::before { transform: rotate(45deg); }
.menu-close::after { transform: rotate(-45deg); }

/* 语言切换区域 */
.menu-lang {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.menu-lang-label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}
.menu-lang-btns {
    display: flex;
    gap: 10px;
}
.menu-lang-btn {
    flex: 1;
    padding: 10px 0;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}
.menu-lang-btn:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
}
.menu-lang-btn.active-lang {
    background: rgba(255,255,255,0.4);
    border-color: #fff;
}

/* 菜单导航项 */
.menu-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
}
.menu-nav li {
    margin-bottom: 8px;
}
.menu-nav a {
    display: block;
    padding: 14px 20px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    transition: background 0.2s ease;
}
.menu-nav a:hover {
    background: rgba(255,255,255,0.3);
}

/* 菜单中的委托区域 */
.menu-orders {
    background: rgba(255,255,255,0.25);
    border-radius: 13px;
    padding: 20px;
}
.menu-orders .menu-orders-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}
.menu-orders .order_card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
}
.menu-orders .order_card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.menu-orders .order_avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: 2px;
}
.menu-orders .order_info {
    flex: 1;
}
.menu-orders .order_info h2 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}
.menu-orders .order_info h2 span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.menu-orders .order_info p {
    font-size: 15px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
}
.menu-orders .order_info .date_place {
    display: flex;
    gap: 15px;
    margin-top: 5px;
    flex-wrap: wrap;
}
.menu-orders .order_info .date_place span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-family: 'Noto Sans JP', sans-serif;
}
.menu-orders .order_info .date_place button {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    border: none;
    cursor: pointer;
    background: none;
    padding: 0;
}
.menu-orders .order_info .date_place button:hover {
    color: #fff;
}

/* 隐藏原始委托区域 */
body.menu-loaded .order_container {
    display: none !important;
}
body.menu-loaded main[data-v-b689cb83] {
    display: none !important;
}

/* 头部菜单按钮在header内 */
header .menu .menu-toggle-btn {
    margin-left: 5px;
}
