
/* login-oauth-grant.ftl */
#kc-oauth {
  background: #101828;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

#kc-oauth .oauth-header {
  width: 600px;
}

#kc-oauth .oauth-header-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}

#kc-oauth .oauth-header-icon-box .oauth-app-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background-color: #F1F5F9;
}

#kc-oauth .oauth-header-icon-box .oauth-app-connect-line {
  position: relative;
  width: 123px;
  height: 3px;
  background: #4B5563;
}

#kc-oauth .oauth-header-icon-box .oauth-app-connect-line .oauth-app-connect-line-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#kc-oauth .oauth-header-title {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: #99A1AF;
}

#kc-oauth .oauth-header-title .weight-bold {
  color: #E5E7EB;
}

#kc-oauth .oauth-content {
  width: 600px;
  margin-top: 24px;
  border-radius: 14px;
  border: 1px solid #364153;
  box-shadow: 0px 1px 3px 0px #0000004D;;
}

#kc-oauth .oauth-content-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: #101828;
  border-bottom: 1px solid #364153;
  color: #D1D5DC;
  font-size: 16px;
  line-height: 24px;
  border-radius: 14px 14px 0px 0px;
}

#kc-oauth .oauth-content-title > img {
  margin-top: 4px;
  width: 20px;
}

#kc-oauth .oauth-content-list {
  padding: 24px;
}

#kc-oauth .oauth-content-list .list-title { 
  color: #F3F4F6;
  font-size: 16px;
  line-height: 24px;
}

#kc-oauth .oauth-content-tips {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 24px 12px;
  border-top: 1px solid #364153;
  border-bottom: 1px solid #364153;
  background-color: #101828;
}

#kc-oauth .oauth-content-tips > img {
  margin-top: 4px;
  width: 16px;
}

#kc-oauth .oauth-content-tips .tips-desc {
  color: #D1D5DC;
  font-size: 16px;
  line-height: 24px;
}

#kc-oauth .oauth-content-tips .tips-url {
  color: #51A2FF;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #1C398E;
  border-radius: 4px;
  padding: 4px 10px;
  margin-top: 6px;
  background-color: #1E2939;
  min-height: 24px;
}

#kc-oauth .form-actions {
  padding: 24px;
  display: flex;
  gap: 12px;
}

#kc-oauth .form-actions #kc-cancel, #kc-oauth .form-actions #kc-login {
  flex: 1;
  border-radius: 10px;
  font-size: 16px;
  line-height: 24px;
  padding: 10px 24px;
}

#kc-oauth .form-actions #kc-cancel {
  background-color: #364153;
  background-image: none;
  border: 1px solid #4A5565;
  color: #E5E7EB;
  text-align: left;
}

#kc-oauth .form-actions #kc-login {
  background-color: #6C4DFF;
  background-image: none;
  text-align: left;
}

#kc-oauth .perm-list-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  border-radius: 10px;
}

#kc-oauth ul li.perm-item { 
  border: 1px solid #4A5565;
  background-color: #364153;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#kc-oauth ul li.perm-item > img {
  margin-top: 4px;
  width: 20px;
}

#kc-oauth ul li.perm-item .perm-name { 
  color: #F3F4F6;
  font-size: 16px;
  line-height: 24px;
}

#kc-oauth ul li.perm-item .perm-desc { 
  color: #99A1AF;
  font-size: 16px;
  line-height: 24px;
  margin-top: 4px;
}

#kc-oauth ul li.perm-item .perm-required {
  color: #E5E7EB;
  font-size: 12px;
  line-height: 16px;
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #4A5565;
  margin-left: 4px;
}
