﻿/* ===== HEADER NAVBAR ===== */
.layout-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.9);
}

.navbar-content-container {
  display: flex;
  align-items: center;
  height: 54px;
  padding: 0 1rem;
  background: rgba(20, 12, 40, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-spacer {
  flex: 1;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Navigation Buttons */
.nav-toggle-btn,
.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-toggle-btn:hover,
.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.nav-toggle-btn .material-symbols-rounded,
.nav-icon-btn .material-symbols-rounded {
  font-size: 26px;
}

/* Login Button */
.btn-login {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #8b5cf6 0%, #7c3aed 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
  white-space: nowrap;
}

.btn-login:hover {
  background: linear-gradient(90deg, #7c3aed 0%, #6d28d9 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
  transform: translateY(-1px);
}

.btn-login .material-symbols-rounded {
  font-size: 20px;
}

/* Sidebar Menu Button in Header - Mobile Only */
.sidebar-menu-button-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.sidebar-menu-button-mobile:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.sidebar-menu-button-mobile .material-symbols-rounded {
  font-size: 26px;
}

/* ===== QUICK ACCESS MENU ===== */
.quick-access-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 80px 0 0 120px;
}

.quick-access-overlay.active {
  display: flex;
}

.quick-access-menu {
  background: rgba(26, 16, 53, 0.95);
  border-radius: 6px;
  width: 380px;
  max-height: 560px;
  box-shadow: rgba(15, 8, 35, 0.9) 0 4px 12px;
  border: 1px solid rgba(26, 16, 53, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.quick-access-header {
  padding: 1rem 1.5rem;
}

.quick-access-header h6 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

.quick-access-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow-y: auto;
  max-height: 510px;
}

.quick-access-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.quick-access-item:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-access-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.quick-access-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.quick-access-icon .material-symbols-rounded {
  font-size: 26px;
  color: #fff;
}

.quick-access-item h6 {
  font-size: 14px;
  font-weight: 500;
  color: #8b5cf6;
  margin: 0;
  text-align: center;
}

/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {
  .layout-navbar {
    padding: 8px;
  }

  .navbar-content-container {
    height: 48px;
    padding: 0 12px;
    border-radius: 8px;
  }

  .sidebar-menu-button-mobile {
    display: flex;
  }

  .btn-login span:last-child {
    display: none;
  }

  .btn-login {
    padding: 8px 12px;
  }

  .quick-access-overlay {
    padding: 70px 1rem 0;
    justify-content: center;
  }

  .quick-access-menu {
    width: 100%;
    max-width: 380px;
  }
}
