*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:    rgb(0, 90, 199);
  --blue-dk: rgb(0, 65, 145);
  --green:   rgb(50, 195, 120);
  --bg:      rgb(20, 20, 22);
  --surface: rgb(30, 30, 34);
  --card:    rgb(40, 40, 46);
  --raised:  rgb(52, 52, 60);
  --border:  rgba(255,255,255,0.07);
  --muted:   rgba(255,255,255,0.4);
  --white:   #f0f0f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100vh;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(14, 14, 16, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-left button,
.header-right button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  opacity: 0.65;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.header-left button:hover,
.header-right button:hover {
  opacity: 1;
}

.header-left img,
.header-right img {
  height: 22px;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-center img {
  height: 40px;
  cursor: pointer;
}

.header-right {
  display: flex;
  gap: 4px;
  position: relative;
}

/* ── PROFILE DROPDOWN ── */
.profile-menu {
  position: relative;
  z-index: 300;
}

.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 8px;
  min-width: 200px;
  display: none;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.profile-dropdown.active {
  display: flex;
}

.profile-dropdown button,
.profile-dropdown a {
  background: none;
  border: none;
  color: var(--white);
  padding: 0.9rem 1.2rem;
  text-align: left;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif;
  transition: background 0.15s;
  text-decoration: none;
  display: block;
  width: 100%;
}

.profile-dropdown button:hover,
.profile-dropdown a:hover {
  background: var(--raised);
}

.profile-user {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.profile-user strong {
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}

/* Admin kalender link i dropdown */
.admin-panel-link {
  background: rgba(0, 90, 199, 0.15) !important;
  color: var(--blue) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-bottom: 1px solid var(--border);
}

.admin-panel-link:hover {
  background: rgba(0, 90, 199, 0.28) !important;
}
