@font-face {
  font-family: 'Avenir Next LT Pro';
  src: url('/kollektion-web/assets/font/AvenirNextLTPro-Regular.ttf');
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Avenir Next LT Pro', 'sans-serif';
  background: url('/kollektion-web/assets/kollektion.jpg') no-repeat center center fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.App {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-image: url('/kollektion-web/assets/kollektion.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: white;
}

.top-bar {
  width: 1200px;
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 1rem;
  min-width: 600px;
}

.logo {
  height: 45px;
}

.logo img {
  height: 28px;
  margin: 10px;
}

.app-title {
  font-weight: bold;
  color: black;
  margin-left: 20px;
  margin-right: 10px;
}

.divider {
  margin-left: 15px;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 80px);
  color: black;
}

.content {
  background: white;
  padding: 1rem;
  max-width: 50%;
  min-width: 600px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0.1px 0.3px rgba(0, 0, 0, 0.04), 0 0.4px 0.9px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  border-radius: 19px;
  color: #000;
}

.row {
  display: flex;
}

.col-left {
  justify-content: space-between;
}

.col-right {
  display: flex;
  flex-flow: column;
  flex: auto;
  justify-content: space-between;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

h1 {
  font-family: 'Avenir Next LT Pro', 'sans-serif';
  font-weight: bold;
  font-size: 1.5em;
  letter-spacing: 0.1px;
  color: black;
}

p {
  color: black;
}

a {
  color: #00B2A9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.button {
  font-weight: bold;
  background: #00B2A9;
  border-radius: 19px;
  color: #fff;
  padding: 0.5rem 1rem;
  margin: auto;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.button:hover {
  background-color: #008080;
}

footer {
  background-color: rgba(0, 0, 0, 0.1);
  width: 100%;
  min-width: 100%;
  display: flex;
  font-size: 14px;
  color: #333;
}

.fixed-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  color: #3095B4;
  text-align: center;
  padding: 10px;
  z-index: 1000;
}

.login-button-row {
  display: flex;
}

@media only screen and (max-width: 800px) {
  .top-bar {
    min-width: auto;
    width: 100%;
  }
  
  .content {
    max-width: 80%;
    min-width: auto;
  }
}

@media only screen and (max-width: 500px) {
  .content {
    max-width: 90%;
  }
  
  footer {
    height: 60px;
  }
}

/* GPC Popup Styles */
.gpc-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #ffffff;
  color: #333333;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 24px;
  z-index: 10000;
  font-family: 'Avenir Next LT Pro', sans-serif;
  border-top: 5px solid #00B2A9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gpc-popup.hidden {
  opacity: 0;
  transform: translate(-50%, -40%);
  pointer-events: none;
}

.gpc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 12px;
}

.gpc-header h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #000000;
  font-weight: bold;
}

.gpc-icon {
  font-size: 1.6rem;
}

.gpc-body {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4a4a4a;
  margin-bottom: 24px;
}

.gpc-lang-section p {
  margin-top: 0;
  margin-bottom: 12px;
}

.gpc-lang-tag {
  color: #000000;
  font-weight: bold;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px !important;
}

.gpc-lang-section a {
  color: #00B2A9;
  text-decoration: underline;
  font-weight: bold;
}

.gpc-lang-section a:hover {
  color: #008080;
}

.gpc-divider {
  border: 0;
  border-top: 1px dashed #cccccc;
  margin: 16px 0;
}

.gpc-buttons {
  display: flex;
  justify-content: flex-end;
}

.cookie-btn {
  font-weight: bold;
  border-radius: 19px;
  padding: 10px 24px;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s;
}

.cookie-btn.primary {
  background: #00B2A9;
  color: #ffffff;
}

.cookie-btn.primary:hover {
  background-color: #008080;
}

/* Modal overlay for GPC Popup */
.gpc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.gpc-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* TrustArc Cookie Consent Styles */
.trustarc_settings_link {
  position: fixed;
  bottom: 0px;
  left: 0px;
  text-indent: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none; /* Prevent clicks on the invisible fallback link */
}

.cookie-icon {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 1005; /* Increased to float above the footer banner (z-index: 1000) */
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,.2);
  border-radius: 50%;
  background-image: url('/kollektion-web/assets/DnB-Icon-Cookie-v2.svg');
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer; /* Show hand cursor on hover */
}

.cookie-icon a {
  display: block;
  width: 100% !important;
  height: 100% !important;
  text-indent: -9999px; /* Offscreen the text */
  overflow: hidden; /* Hide the overflowed text */
  position: relative !important; /* Force it to stay within the parent circle instead of inheriting fixed positioning */
  pointer-events: auto !important; /* Re-enable clicks on the cookie icon link */
}

#consent-banner {
  position: fixed;
  bottom: 0px;
  z-index: 9999;
}

