/* ═══════════════════════════════════════════════════════
   orustbo.com – shared stylesheet
   ═══════════════════════════════════════════════════════ */

:root {
  --ocean-deep:   #1a3a5c;
  --ocean-mid:    #2e6d9e;
  --ocean-light:  #5ba3c9;
  --ocean-foam:   #d0eaf7;
  --sky:          #f0f8ff;
  --white:        #ffffff;
  --text-dark:    #1a2e3d;
  --text-mid:     #4a6275;
  --text-light:   #7a99ad;
  --font:         Arial, Helvetica, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--sky);
  color: var(--text-dark);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(91,163,201,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 20% 100%, rgba(30,106,158,0.10) 0%, transparent 60%);
}

/* ── HEADER ──────────────────────────────────── */
header {
  text-align: center;
  padding: 48px 20px 8px;
}

.logo {
  display: inline-block;
  font-family: var(--font);
  font-size: 3em;
  font-weight: bold;
  color: var(--ocean-deep);
  letter-spacing: -1px;
  text-decoration: none;
  line-height: 1;
}

.logo span { color: var(--ocean-mid); }

.logo-rule {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-light), var(--ocean-mid));
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ── NAV LINKS ───────────────────────────────── */
.nav-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--ocean-mid);
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
  color: var(--ocean-deep);
  border-color: var(--ocean-mid);
}

/* ── SEARCH ──────────────────────────────────── */
.search-wrap {
  max-width: 620px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.search-wrap form {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26,58,92,0.10);
  overflow: hidden;
  border: 2px solid var(--ocean-foam);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-wrap form:focus-within {
  border-color: var(--ocean-light);
  box-shadow: 0 4px 24px rgba(46,109,158,0.18);
}

#sokfalt {
  flex: 1;
  border: none;
  outline: none;
  padding: 15px 18px;
  font-size: 1.05em;
  font-family: var(--font);
  color: var(--text-dark);
  background: transparent;
}

#sokfalt::placeholder { color: var(--text-light); }

.search-wrap input[type="submit"] {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  color: #fff;
  border: none;
  padding: 15px 22px;
  font-family: var(--font);
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}

.search-wrap input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean-mid));
}

/* ── GRID ────────────────────────────────────── */
.grid-wrap {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.panel {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(26,58,92,0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  background: var(--ocean-foam);
}

.panel:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 32px rgba(26,58,92,0.22);
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.panel:hover img { transform: scale(1.06); }

.panel-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,50,80,0.82) 0%, transparent 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 1em;
  font-weight: 600;
  padding: 28px 14px 12px;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.panel.placeholder {
  background: linear-gradient(135deg, var(--ocean-foam), #e0f0fb);
  border: 2px dashed var(--ocean-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.panel.placeholder .plus {
  font-size: 2.5em;
  color: var(--ocean-light);
  opacity: 0.6;
}

/* ── ANNOUNCEMENTS (front page) ──────────────── */
.annons-wrap {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.annons-wrap h2 {
  font-size: 1em;
  font-weight: 700;
  color: var(--ocean-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border-left: 4px solid var(--ocean-mid);
  padding-left: 12px;
}

.annons-list {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
  overflow: hidden;
}

.annons-item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ocean-foam);
  transition: background 0.15s;
}

.annons-item:last-child { border-bottom: none; }
.annons-item:hover { background: #f6fbff; }

.annons-badge {
  font-size: 0.70em;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-admin    { background: #fde8d8; color: #a03010; }
.badge-forening { background: #ddf0e0; color: #2a7a3b; }
.badge-privat   { background: #e8f0fd; color: #3050a0; }

.annons-content {
  flex: 1;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.annons-headline {
  font-size: 0.96em;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  line-height: 1.4;
}

.annons-headline:hover { color: var(--ocean-mid); }

.annons-body {
  font-size: 0.88em;
  color: var(--text-mid);
  line-height: 1.55;
  margin: 0;
}

.annons-meta {
  font-size: 0.78em;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.annons-empty {
  padding: 22px 18px;
  color: var(--text-light);
  font-size: 0.9em;
  text-align: center;
}

.annons-cta {
  margin-top: 10px;
  font-size: 0.82em;
  color: var(--text-light);
}

.annons-cta a { color: var(--ocean-mid); text-decoration: none; font-weight: 600; }
.annons-cta a:hover { text-decoration: underline; }

/* ── NEWSLETTER SECTION ──────────────────────── */
.nl-wrap {
  max-width: 620px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.nl-card {
  background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
  border-radius: 16px;
  padding: 40px 44px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(26,58,92,0.20);
}

.nl-card h2 {
  color: var(--white);
  font-size: 1.25em;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.nl-card p {
  color: var(--ocean-foam);
  font-size: 0.9em;
  line-height: 1.65;
  margin-bottom: 26px;
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}

.nl-input {
  padding: 12px 16px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95em;
  background: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nl-input::placeholder {
  color: var(--text-light);
  font-style: italic;
}

.nl-input:focus {
  border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
}

.nl-btn {
  background: var(--white);
  color: var(--ocean-deep);
  border: none;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95em;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.1s;
}

.nl-btn:hover  { background: var(--ocean-foam); }
.nl-btn:active { transform: scale(0.98); }

.nl-notice {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.14);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.9em;
  line-height: 1.5;
}

/* ── PAGE WRAPPER (konto / admin) ────────────── */
.page-wrap {
  max-width: 740px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.page-wrap h1 {
  font-size: 1.6em;
  color: var(--ocean-deep);
  margin-bottom: 24px;
}

/* ── CARD ────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
  padding: 24px;
  margin-bottom: 24px;
}

.card h2 {
  font-size: 1.05em;
  color: var(--ocean-deep);
  margin-bottom: 16px;
}

/* ── FORM ELEMENTS ───────────────────────────── */
label {
  display: block;
  font-size: 0.87em;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 5px;
  margin-top: 14px;
}

label:first-of-type { margin-top: 0; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--ocean-foam);
  border-radius: 7px;
  font-family: var(--font);
  font-size: 0.95em;
  color: var(--text-dark);
  background: var(--sky);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--ocean-light);
  box-shadow: 0 0 0 3px rgba(91,163,201,0.15);
}

textarea { resize: vertical; min-height: 80px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 7px;
  border: none;
  font-family: var(--font);
  font-size: 0.92em;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  line-height: 1.4;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  color: #fff;
  margin-top: 16px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean-mid));
}

.btn-sm {
  padding: 5px 13px;
  font-size: 0.80em;
  margin-top: 0;
}

.btn-danger  { background: #e84040; color: #fff; }
.btn-danger:hover  { background: #c03030; }

.btn-success { background: #2f9e44; color: #fff; }
.btn-success:hover { background: #237a35; }

.btn-secondary { background: var(--ocean-foam); color: var(--ocean-deep); }
.btn-secondary:hover { background: #b8ddf0; }

/* ── ALERTS ──────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 0.9em;
  line-height: 1.5;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }

/* ── ROLE TAGS ───────────────────────────────── */
.role-tag {
  display: inline-block;
  font-size: 0.78em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

.role-admin      { background: #fde8d8; color: #a03010; }
.role-forening   { background: #ddf0e0; color: #2a7a3b; }
.role-privat     { background: #e8f0fd; color: #3050a0; }
.role-newsletter { background: #f0e8fd; color: #602080; }

/* ── MANAGEMENT LIST (konto/admin) ───────────── */
.mgmt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--ocean-foam);
  flex-wrap: wrap;
}

.mgmt-item:last-child { border-bottom: none; }

.mgmt-headline {
  flex: 1;
  font-weight: 600;
  font-size: 0.94em;
  min-width: 120px;
}

.mgmt-meta {
  font-size: 0.78em;
  color: var(--text-light);
}

.mgmt-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── TABLE (admin) ───────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88em;
}

th {
  text-align: left;
  padding: 10px 12px;
  background: var(--ocean-foam);
  color: var(--ocean-deep);
  font-weight: 700;
  white-space: nowrap;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--ocean-foam);
  vertical-align: middle;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #f6fbff; }

/* ── TABS (admin) ────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--ocean-foam);
  padding-bottom: 0;
}

.tab-link {
  padding: 9px 18px;
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  font-size: 0.9em;
  text-decoration: none;
  color: var(--text-mid);
  border: 2px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
  transition: background 0.15s, color 0.15s;
}

.tab-link:hover { background: var(--ocean-foam); color: var(--ocean-deep); }

.tab-link.active {
  background: var(--white);
  color: var(--ocean-deep);
  border-color: var(--ocean-foam);
  border-bottom-color: var(--white);
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  text-align: center;
  padding: 0 20px 30px;
  font-size: 0.8em;
  color: var(--text-light);
}

/* ── COOKIE BANNER ───────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ocean-deep);
  color: #e8f4fc;
  font-family: var(--font);
  font-size: 0.88em;
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

#cookie-banner p { flex: 1; min-width: 220px; line-height: 1.6; }
#cookie-banner a { color: var(--ocean-foam); text-decoration: underline; }

#cookie-accept {
  background: var(--ocean-light);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.9em;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

#cookie-accept:hover { background: var(--ocean-mid); }

/* ── MESSAGING ───────────────────────────────── */
.msg-wrap {
  max-width: 740px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

/* Conversation list */
.conv-list { list-style: none; }

.conv-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ocean-foam);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}

.conv-item:last-child { border-bottom: none; }
.conv-item:hover { background: #f6fbff; }

.conv-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  color: var(--white);
  font-weight: 700;
  font-size: 1.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.conv-info { flex: 1; min-width: 0; }

.conv-name {
  font-weight: 600;
  font-size: 0.95em;
  color: var(--text-dark);
}

.conv-preview {
  font-size: 0.82em;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.conv-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.conv-time {
  font-size: 0.75em;
  color: var(--text-light);
}

.unread-badge {
  background: var(--ocean-mid);
  color: var(--white);
  font-size: 0.72em;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

/* Chat view */
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.chat-header .conv-avatar { width: 36px; height: 36px; font-size: 0.95em; }

.chat-header-info { flex: 1; }

.chat-partner-name {
  font-size: 1.1em;
  font-weight: 700;
  color: var(--ocean-deep);
}

.chat-back {
  font-size: 0.85em;
  color: var(--ocean-mid);
  text-decoration: none;
  font-weight: 600;
}

.chat-back:hover { text-decoration: underline; }

.chat-bubbles {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
  padding: 18px;
  min-height: 260px;
  max-height: 480px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.bubble-row.mine { flex-direction: row-reverse; }

.bubble-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  color: var(--white);
  font-size: 0.72em;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.bubble-row.mine .bubble-avatar {
  background: linear-gradient(135deg, var(--ocean-light), var(--ocean-mid));
}

.bubble {
  max-width: 68%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.93em;
  line-height: 1.55;
  word-break: break-word;
}

.bubble.theirs {
  background: var(--ocean-foam);
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
}

.bubble.mine {
  background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-deep));
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.bubble-time {
  font-size: 0.72em;
  color: var(--text-light);
  margin-top: 3px;
  text-align: right;
}

.bubble-row.theirs .bubble-time { text-align: left; }

.chat-compose {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chat-compose textarea {
  flex: 1;
  min-height: 48px;
  max-height: 140px;
  resize: none;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.95em;
}

/* Nav unread count */
.nav-badge {
  display: inline-block;
  background: var(--ocean-mid);
  color: var(--white);
  font-size: 0.68em;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
  vertical-align: middle;
  line-height: 1.6;
}

/* ── CALENDAR ────────────────────────────────── */
.cal-wrap {
  max-width: 860px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.cal-wrap h2 {
  font-size: 1em;
  font-weight: 700;
  color: var(--ocean-deep);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  border-left: 4px solid var(--ocean-mid);
  padding-left: 12px;
}

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-nav-title {
  font-weight: 700;
  font-size: 1em;
  color: var(--ocean-deep);
  letter-spacing: 0.02em;
}

.cal-nav a {
  color: var(--ocean-mid);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.9em;
  transition: background 0.15s;
}

.cal-nav a:hover { background: var(--ocean-foam); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  background: var(--ocean-foam);
  border: 1px solid var(--ocean-foam);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
}

.cal-header-cell {
  background: var(--ocean-deep);
  color: var(--white);
  text-align: center;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 2px;
}

.cal-day {
  background: var(--white);
  min-height: 68px;
  padding: 5px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cal-day--empty { background: #f6fbff; }

.cal-day--today .cal-day-num {
  background: var(--ocean-mid);
  color: var(--white);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day--has-events { background: #f0f8ff; }

.cal-day-num {
  font-size: 0.80em;
  font-weight: 700;
  color: var(--text-mid);
  line-height: 1;
  margin-bottom: 2px;
}

.cal-event-dot {
  display: block;
  font-size: 0.68em;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--ocean-mid);
  color: var(--white);
  border-radius: 3px;
  padding: 1px 4px;
  text-decoration: none;
  transition: background 0.15s;
}

.cal-event-dot:hover { background: var(--ocean-deep); }

.cal-upcoming { margin-top: 20px; }

.cal-upcoming h3 {
  font-size: 0.88em;
  font-weight: 700;
  color: var(--ocean-deep);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--ocean-light);
}

.cal-event-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ocean-foam);
  background: var(--white);
  transition: background 0.15s;
}

.cal-event-item:first-child { border-radius: 10px 10px 0 0; }
.cal-event-item:last-child  { border-bottom: none; border-radius: 0 0 10px 10px; }
.cal-event-item:only-child  { border-radius: 10px; }
.cal-event-item:hover { background: #f6fbff; }

.cal-event-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ocean-deep);
  color: var(--white);
  border-radius: 8px;
  width: 46px;
  min-width: 46px;
  padding: 5px 4px;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  flex-shrink: 0;
}

.cal-badge-day {
  font-size: 1.4em;
  line-height: 1;
}

.cal-event-content { flex: 1; min-width: 0; }

.cal-event-title {
  font-weight: 600;
  font-size: 0.95em;
  color: var(--text-dark);
  text-decoration: none;
  display: block;
  line-height: 1.4;
}

.cal-event-title:hover { color: var(--ocean-mid); }

.cal-event-meta {
  font-size: 0.78em;
  color: var(--text-light);
  margin-top: 3px;
}

.cal-empty {
  padding: 22px 18px;
  color: var(--text-light);
  font-size: 0.9em;
  text-align: center;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(26,58,92,0.08);
}

.cal-cta {
  margin-top: 10px;
  font-size: 0.82em;
  color: var(--text-light);
}

.cal-cta a { color: var(--ocean-mid); text-decoration: none; font-weight: 600; }
.cal-cta a:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 600px) {
  .logo { font-size: 2.2em; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  #cookie-banner { flex-direction: column; text-align: center; }
  .annons-item { flex-direction: column; gap: 6px; }
  .annons-meta { margin-top: 0; }
  .mgmt-item { flex-direction: column; align-items: flex-start; }
  .bubble { max-width: 85%; }
  .chat-bubbles { max-height: 320px; }
  .cal-day { min-height: 44px; }
  .cal-event-dot { display: none; }
  .cal-event-date-badge { width: 38px; min-width: 38px; }
}
