﻿.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 41, 97, 0.95);
  color: #fff;
  box-shadow: 0 8px 24px rgba(13, 27, 61, 0.18);
}

.topbar,
.admin-topbar {
  min-height: 88px;
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}

.brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.brand-wordmark {
  font-size: 1.1rem;
  font-weight: 700;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.admin-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-nav-link {
  min-height: auto;
  padding: 0.4rem 0.2rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  color: #fff;
  text-decoration: none;
}

.admin-menu {
  position: relative;
}

.admin-menu-trigger {
  min-height: auto;
  padding: 0.4rem 0.2rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.admin-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  display: none;
  min-width: 190px;
  padding: 0.4rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(20, 41, 97, 0.14);
  box-shadow: 0 10px 24px rgba(11, 25, 48, 0.2);
}

.admin-menu:hover .admin-menu-panel,
.admin-menu:focus-within .admin-menu-panel {
  display: grid;
  gap: 0.2rem;
}

.admin-menu-panel a {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  color: #1d2f57;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

.admin-menu-panel a:hover,
.admin-menu-panel a:focus-visible {
  background: #edf3ff;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.active {
  background: #fff;
  border-color: #fff;
}

.flag-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  border-radius: 999px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 1px rgba(17, 34, 68, 0.12), 0 2px 6px rgba(11, 25, 48, 0.18);
}

.lang-btn[data-lang="en"] .flag-icon {
  background-image: url('/static/assets/images/uk_flag.png');
}

.lang-btn[data-lang="el"] .flag-icon {
  background-image: url('/static/assets/images/greece_flag.png');
}

.theme-btn {
  color: #d4bf76;
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

@media (max-width: 900px) {
  .brand-wordmark {
    display: none;
  }
}

