/* ============================================
   MR CALL OF - css/menu.css
   استایل منوی کشویی (Drawer)
============================================ */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: #ffffff;
  z-index: 31;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid #eceef1;
}
.drawer.show {
  transform: translateX(0);
}

.drawer-header {
  padding: 26px 20px 18px;
  background: linear-gradient(160deg, #f1f1f4, #ffffff);
  border-bottom: 1px solid #eceef1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffb800;
  background: #eceef1;
}

.drawer-name {
  font-size: 15px;
  font-weight: 800;
  color: #15161a;
  margin-bottom: 3px;
}

.drawer-phone {
  font-size: 12px;
  color: #71727c;
  direction: ltr;
  text-align: right;
}

.drawer-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 0;
}

.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  font-size: 13.5px;
  color: #4b4c55;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.drawer-item .di-icon {
  width: 22px;
  text-align: center;
  font-size: 16px;
}

.drawer-item:active {
  background: #f1f1f4;
}

.drawer-divider {
  height: 1px;
  background: #eceef1;
  margin: 8px 16px;
}

.drawer-footer {
  padding: 14px;
  text-align: center;
  font-size: 11px;
  color: #6b6d78;
  border-top: 1px solid #eceef1;
}

.drawer-item.logout {
  color: #ff6b6b;
}
