.login-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 0;
  font-size: 14px;
}

  .login-page .col-md-7 {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }

  .login-page .row,
  .login-page .col-12,
  .login-page .col-md-10,
  .login-page .col-lg-8 {
    all: unset;
  }

  .login-page h4 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 24px;
  }

.form-control-wrapper {
  margin-bottom: 16px;
}

.position-relative {
  text-align: center;
  margin: 24px 0;
}

.login-form--text {
  font-size: 14px;
  color: #777;
}

.s-btns-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
}

.cta--apple-pay {
  width: 370px;
  max-width: 100%;
}

.login-form-button--black {
  height: 43px;
  border-radius: 6px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
}

  .login-form-button--black:hover {
    background: #1a1a1a;
    text-decoration: underline;
  }

.login-page .d-flex {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.login-form--link {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

  .login-form--link:hover {
    text-decoration: underline;
  }

/* Google Login Styling */
.login-external-google {
  width: 100% !important;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#g_id_onload {
  display: none;
}

.g_id_signin {
  width: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  margin-left: 10px;
}

  .g_id_signin iframe {
    max-width: none !important;
    height: 43px !important;
    border: none !important;
  }

  .g_id_signin > div {
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
  }

    /* Přepsání fit-content z Google SDK - JEN TOTO BYLO PŘIDÁNO */
    .g_id_signin > div[style*="fit-content"],
    .g_id_signin > div[class*="L5Fo6c"] {
      width: 360px !important;
      max-width: 360px !important;
      display: block !important;
    }

  .g_id_signin div[role="button"] {
    border-radius: 6px !important;
    height: 46px !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
  }

  .g_id_signin span {
    padding-right: 0;
  }

.login-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0;
  width: 100%;
}

.login-divider-text {
  padding: 0 12px;
  font-size: 14px;
  color: #777;
  background: #fff;
  z-index: 1;
  position: relative;
}

.login-divider::before {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin-right: 12px;
}

.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e0e0e0;
  margin-left: 12px;
}

#appleid-signin {
  cursor: pointer;
}

  #appleid-signin:hover {
    background: #1a1a1a;
  }

.container-fluid {
  min-width: 380px;
}

/* Media queries pro mobilní zařízení */
@media (max-width: 768px) {

    .g_id_signin > div[style*="fit-content"],
    .g_id_signin > div[class*="L5Fo6c"] {
      width: 100% !important;
      max-width: 100% !important;
    }
}
