/* ============================================
   Menu Panel CSS - Profile Slide-out Menu
   Shared across all pages via _Styles.cshtml
   ============================================ */

/* ========== Required CSS Variables ========== */
:root {
    --menu-navy:   #001233;
    --menu-red:    #DB3823;
    --menu-white:  #ffffff;
}

/* ========== Modern Profile Menu Panel ========== */
.menu-wrap {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    width: 300px;
    height: 100%;
    background: #ffffff;
    border: 0.5px solid #d4d8e0;
    border-radius: 14px 0 0 14px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate3d(300px, 0, 0);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.menu-wrap.active {
    transform: translate3d(0, 0, 0);
}

/* Top Section - Dark Navy */
.top-menu {
    background: var(--menu-navy) !important;
    padding: 18px 16px 0 !important;
    border-bottom: none !important;
}

.close-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.close-button {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.53) !important;
    font-size: 12px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: none !important;
}

/* Avatar Section */
.avatar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 18px;
}

.profile-user {
    position: relative;
    width: 52px;
    height: 52px;
    margin-bottom: 10px !important;
    text-align: center;
}

.profile-user img {
    width: 52px !important;
    height: 52px !important;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.15);
    object-fit: cover;
    box-shadow: none !important;
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #5DCAA5;
    border: 2.5px solid var(--menu-navy);
}

.profile-detail-01 {
    text-align: center !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    margin-top: 0 !important;
}

.profile-detail-01 a,
.profile-detail-01 .uname {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center;
    letter-spacing: -0.01em;
    margin-bottom: 0 !important;
    display: block;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.profile-detail-01 .urole {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    text-align: center;
    margin-top: 3px;
}

/* Quick Strip - Icon Navigation */
.quick-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: #ffffff;
    border-bottom: 0.5px solid #eef0f4;
}

.qs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 14px 6px 12px;
    cursor: pointer;
    position: relative;
    border-right: 0.5px solid #eef0f4;
    transition: background 0.12s;
    text-decoration: none;
}

.qs-item:last-child {
    border-right: none;
}

.qs-item:hover {
    background: #f8f9fb;
    text-decoration: none;
}
.qs-item.active {
    background: #f8f9fb;
    text-decoration: none;
}

.qs-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.qs-icon i {
    font-size: 16px;
    color: #374151;
}

.qs-label {
    font-size: 11px;
    color: #6b7280;
    font-weight: 500;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qs-item:hover .qs-icon,
.qs-item.active .qs-icon {
    background: #E1F5EE;
}

.qs-item:hover .qs-icon i,
.qs-item.active .qs-icon i {
    color: #1D9E75;
}

.qs-item:hover .qs-label,
.qs-item.active .qs-label {
    color: #085041;
}

.notif-pip {
    position: absolute;
    top: 10px;
    right: calc(50% - 22px);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--menu-red);
    border: 1.5px solid #fff;
}

/* Navigation List */
.nav-list {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.nl {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    border-bottom: 0.5px solid #f4f5f7;
    transition: background 0.12s;
    text-decoration: none;
}

.nl:last-child {
    border-bottom: none;
}

.nl:hover {
    background: #f8f9fb;
    text-decoration: none;
    color: #374151;
}

.nl-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nl-icon i {
    font-size: 13px;
    color: #374151;
}

.nl-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nl-title {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nl-sub {
    font-size: 11px;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nl-badge {
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.nl-arrow {
    color: #d1d5db;
    font-size: 16px;
    flex-shrink: 0;
    font-weight: 300;
}

/* Upgrade Section - Green Theme */
.nl.upgrade .nl-icon {
    background: #E1F5EE;
}

.nl.upgrade .nl-icon i {
    color: #1D9E75;
}

.nl.upgrade .nl-title {
    color: #0F6E56;
}

.nl.upgrade:hover {
    background: #f0fdf7;
}

.nl.upgrade .nl-badge {
    background: #E1F5EE;
    color: #085041;
}

/* Sign Out Section - Red Theme */
.nl.signout .nl-icon {
    background: #FCEBEB;
}

.nl.signout .nl-icon i {
    color: var(--menu-red);
}

.nl.signout .nl-title {
    color: #A32D2D;
}

.nl.signout:hover {
    background: #fff8f8;
}

/* Storage Row */
.stor-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 11px 16px;
    border-bottom: 0.5px solid #f4f5f7;
    cursor: pointer;
}

.stor-row:hover {
    background: #f8f9fb;
}

.stor-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stor-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stor-icon i {
    font-size: 13px;
    color: #374151;
}

.stor-info {
    flex: 1;
}

.stor-title-txt {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.stor-sub {
    font-size: 10px;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.stor-bar-wrap {
    padding: 0 0 0 38px;
}

.stor-bar {
    height: 3px;
    background: #eef0f4;
    border-radius: 2px;
    overflow: hidden;
}

.stor-bar-fill {
    height: 100%;
    border-radius: 2px;
    background: #1D9E75;
    width: 1%;
    transition: width 0.3s ease;
}

/* Overrides for old menu elements that may exist in style.css */
.light-button {
    display: none;
}

.menuscroll {
    display: none;
}

.subscription {
    display: none !important;
}
