/* EventKit — login.css (redesign 2026) */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Roboto+Mono:wght@500&display=swap');

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  height: 100vh;
  display: flex;
  background: #f5f6f8;
}

/* ── Layout ── */
.ek-layout {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* ── Left panel (carousel + news) ── */
.ek-left {
  display: none;
  width: 50%;
  background: #eef0f3;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}

@media (min-width: 1024px) {
  .ek-left { display: flex; }
}

/* Carousel */
.ek-carousel {
  position: relative;
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  background: #cdd0d4;
  min-height: 0;
}

.ek-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.ek-carousel-slide.active { opacity: 1; }

.ek-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ek-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 55%);
  pointer-events: none;
}

.ek-carousel-caption {
  position: absolute;
  bottom: 38px;
  left: 18px;
  right: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
  letter-spacing: .01em;
}

.ek-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
}

.ek-dot {
  height: 5px;
  width: 5px;
  border-radius: 9999px;
  background: rgba(255,255,255,.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .3s, background .3s;
}

.ek-dot.active {
  width: 14px;
  background: #fff;
}

.ek-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(255,255,255,.65);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s, background .2s;
}

.ek-carousel:hover .ek-carousel-btn { opacity: 1; }
.ek-carousel-btn:hover { background: #fff; }
.ek-carousel-btn.prev { left: 12px; }
.ek-carousel-btn.next { right: 12px; }
.ek-carousel-btn svg {
  width: 15px; height: 15px;
  stroke: #3f3f46; stroke-width: 2; fill: none;
}

/* News */
.ek-news-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #8e9299;
  margin-bottom: 8px;
}

.ek-news-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ek-news-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.7);
  border: 0.5px solid rgba(0,0,0,.07);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
}

.ek-news-item:hover { background: #fff; }

.ek-news-content { flex: 1; min-width: 0; }

.ek-news-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.ek-news-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #3b5fa0;
}

.ek-news-date { font-size: 10px; color: #a1a1aa; }

.ek-news-title { font-size: 12.5px; line-height: 1.4; color: #444; }
.ek-news-item:hover .ek-news-title { color: #1a1a1a; }

.ek-news-arrow { color: #c5c8ce; flex-shrink: 0; transition: color .15s; }
.ek-news-item:hover .ek-news-arrow { color: #3b5fa0; }
.ek-news-arrow svg {
  width: 13px; height: 13px;
  stroke: currentColor; stroke-width: 2.2; fill: none;
  display: block;
}

/* ── Right panel ── */
.ek-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f6f8;
  padding: 48px 32px;
}

.ek-form-wrap {
  width: 100%;
  max-width: 360px;
}

/* Logo */
.ek-logo { margin-bottom: 36px; }

.ek-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.ek-logo-marktmanager {
  height: 66px !important;
}


.ek-logo-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  background: #e3e8f0;
  color: #3b5fa0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
  font-family: 'Roboto Mono', monospace;
}

/* Form fields */
.ek-field {
  position: relative;
  margin-bottom: 12px;
}

.ek-field input {
  display: block;
  width: 100%;
  padding: 22px 16px 8px;
  font-size: 14.5px;
  color: #1a1f2e;
  background: #fff;
  border: 1px solid #dde0e6;
  border-radius: 8px;
  outline: none;
  appearance: none;
  transition: border-color .15s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: normal;
}

.ek-field input:focus {
  border-color: #3b5fa0;
}

.ek-field label {
  position: absolute;
  top: 15px;
  left: 16px;
  font-size: 14.5px;
  color: #9da3ae;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .18s, color .18s;
}

.ek-field input:not(:placeholder-shown) + label,
.ek-field input:focus + label {
  transform: translateY(-7px) scale(0.76);
}

.ek-field input:focus + label { color: #3b5fa0; }

/* Password toggle */
.ek-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9da3ae;
  display: flex;
  align-items: center;
  padding: 4px;
}

.ek-toggle-pw:hover { color: #555; }

.ek-toggle-pw svg {
  width: 18px; height: 18px;
  stroke: currentColor; stroke-width: 1.75; fill: none;
}

/* Form footer (hulp-link) */
.ek-form-footer {
  margin-top: 10px;
  text-align: left;
}

.ek-help-link {
  font-size: 12.5px;
  color: #9da3ae;
  text-decoration: none;
  transition: color .15s;
}

.ek-help-link:hover { color: #3b5fa0; }

/* Error message */
.ek-error {
  font-size: 13px;
  color: #c0392b;
  background: #fdf0ef;
  border: 1px solid #f5c6c3;
  border-radius: 7px;
  padding: 9px 14px;
  margin-bottom: 14px;
  display: none;
}

.ek-error.visible { display: block; }

/* Submit button */
.ek-btn-login {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: none;
  background: #2e4d8a;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.ek-btn-login:hover { background: #253f72; }

.ek-btn-login svg {
  width: 15px; height: 15px;
  stroke: #fff; stroke-width: 2.2; fill: none;
  opacity: .85;
}

/* Microsoft Entra button */
.ek-btn-entra {
  width: 100%;
  padding: 13px;
  border-radius: 8px;
  border: 1px solid #dde0e6;
  background: #fff;
  color: #1a1f2e;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s, border-color .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-top: 16px;
}

.ek-btn-entra:hover {
  background: #f5f6f8;
  border-color: #3b5fa0;
  color: #1a1f2e;
}

.ek-entra-info {
  margin-top: 20px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}
