/**
 * Mobile Header Styles
 * Visible only on mobile devices
 */

.mobile-header {
  display: block;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .mobile-header {
    display: none;
  }
}

.mobile-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 100%;
}

.mobile-header__logo {
  display: flex;
  align-items: center;
}

.mobile-header__logo img {
  height: 32px;
  width: auto;
}

.mobile-header__profile {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-header__profile:active {
  background: #f9fafb;
}

.mobile-header__profile-icon {
  width: 20px;
  height: 20px;
  color: #E31E24;
}

.mobile-header__chevron {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.mobile-header__profile {
  position: relative;
}

.mobile-header__profile-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
}

.mobile-header__profile-btn:active {
  background: #f9fafb;
}

.mobile-header__avatar {
  width: 28px;
  height: 28px;
  background: #E31E24;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

/* Mobile Profile Dropdown */
.mobile-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
}

.mobile-profile-dropdown.active {
  display: block;
}

.mobile-profile-header {
  padding: 16px;
}

.mobile-profile-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 4px 0;
}

.mobile-profile-email {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.mobile-profile-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 8px;
}

.mobile-profile-logout {
  display: block;
  padding: 12px 16px;
  color: #E31E24;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-profile-logout:hover {
  background: #f9fafb;
}

/* Hide desktop header on mobile */
.unitronics-header {
  display: none;
}

@media (min-width: 1024px) {
  .unitronics-header {
    display: block;
  }
}
