/* COMPONENTS */

.divider {
    border: 0.5px var(--color-border) solid;
    margin-top: 20px;
    margin-bottom: 20px;
}

.button-primary {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    border-radius: 4px;
    padding: 11px 16px 11px 16px;
}

.button-primary:hover, .button-primary:active {
    background: var(--color-primary-hover) !important;
}

.button-primary:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem var(--color-primary-hover);
}

.button-ghost {
    color: var(--color-primary);
    border-radius: 4px;
    padding: 11px 16px 11px 16px;
}

.button-ghost:hover {
    color: var(--color-text);
}

/* SPOTLIGHT LOGO */

.spotlight {
    display: flex;
    align-items: center;
}

/* HEADER */

.header {
    width: 100%;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 var(--space-space-md, 16px);
    height: 66px;
}

/* MAIN */

.login-layout {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.login-content {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-space-md, 16px);
  background-color: #FFF;
}

.advert-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-space-md, 16px);
  background-color: rgb(231, 231, 230);
  z-index: 200;
}

.ad-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-image-container {
  position: relative;
  width: 40vw;
  height: 30vw;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 350px;
  min-height: 250px;
}

.ad-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
  display: block;
}

.ad-icon-overlay {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 10;
  border-radius: 8px;
}

.ad-text-block {
    width: 40vw;
    font-size: 36px;
    font-weight: 600;
    color: #1D1D1F;
    line-height: 1;
    letter-spacing: 0.64px;
    min-width: 350px;
}

/* FOOTER */

.widget-footer {
    display: none;
    justify-content: center;
    width: 100%;
    font-size: var(--font-size-xs);
    padding-bottom: 40px;
    color: var(--color-muted);
}

.widget-footer .footer-content {
    width: 66%;
}

/* Responsive design - advertisement text */
@media (max-width: 1200px) {
  .ad-text-block {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .ad-text-block {
    font-size: 28px;
  }
}

@media (max-width: 800px) {
  .ad-text-block {
    font-size: 24px;
  }
}

/* Responsive design - hide advertisement below 768px */
@media (max-width: 768px) {
  .login-content {
    flex-direction: column;
  }

  .advert-container {
    display: none;
  }

  .login-container {
    flex: none;
    min-height: calc(100vh - 66px);
  }
}
