﻿.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}
.mobile-nav-drawer.active {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.drawer-brand img {
  width: 36px;
  height: auto;
}
.drawer-brand span {
  font-family: var(--accent-font);
  font-weight: 800;
  font-size: 18px;
  color: var(--primary-color);
  letter-spacing: -1px;
}
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drawer-close:hover {
  background: #eee;
  transform: rotate(90deg);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.drawer-user-card {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.drawer-user-card:active {
  transform: scale(0.98);
}
.drawer-user-card.submenu-open {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.user-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
#mobileNavAvatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.avatar-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}
.text-info {
  flex: 1;
  min-width: 0;
}
.text-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.text-info p {
  font-size: 12px;
  color: #777;
  margin: 0;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-user-card .fa-chevron-down {
  transition: transform 0.3s ease;
}
.drawer-user-card.submenu-open .fa-chevron-down {
  transform: rotate(180deg);
}
.mobile-profile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  padding-left: 10px;
  margin-top: 0;
}
.drawer-user-card.submenu-open .mobile-profile-submenu {
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.mobile-profile-submenu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.mobile-profile-submenu a:hover {
  color: var(--primary-color);
}
.drawer-login-cta {
  margin-bottom: 30px;
}
.btn-drawer-login {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--primary-color);
  color: #fff !important;
  font-weight: 600;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(255, 122, 4, 0.3);
  transition: all 0.3s ease;
}
.btn-drawer-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 4, 0.4);
}
.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.drawer-links li {
  margin-bottom: 8px;
}
.drawer-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  color: #333 !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.drawer-links a i {
  font-size: 18px;
  color: var(--primary-color);
  width: 24px;
  text-align: center;
  transition: all 0.2s;
}
.drawer-links a:hover,
.drawer-links a.active {
  background: rgba(255, 122, 4, 0.08);
  color: var(--primary-color) !important;
}
.drawer-links a:hover i,
.drawer-links a.active i {
  transform: scale(1.1);
}
.drawer-footer {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.drawer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555;
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 15px;
}
.drawer-contact-item i {
  color: var(--primary-color);
}
.drawer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.drawer-socials a {
  width: 44px;
  height: 44px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 18px;
  transition: all 0.3s ease;
}
.drawer-socials a:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}
.drawer-socials {
  display: none !important;
}
