
/* login-oauth-grant.ftl */
#kc-oauth {
  background: #FFFFFF;
  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: #C7C4C4;
}

#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: #717182;
}

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

#kc-oauth .oauth-content {
  width: 600px;
  margin-top: 24px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 1px 2px -1px #0000001A, 0px 1px 3px 0px #0000001A;
}

#kc-oauth .oauth-content-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  color: #62748E;
  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: #0A0A0A;
  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 #DBEAFE;
  border-bottom: 1px solid #DBEAFE;
  background-color: #F8FAFC;
}

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

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

#kc-oauth .oauth-content-tips .tips-url {
  color: #1447E6;
  font-size: 16px;
  line-height: 24px;
  border: 1px solid #BEDBFF;
  border-radius: 4px;
  padding: 4px 10px;
  margin-top: 6px;
  background-color: #FFFFFF;
  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: #FFFFFF;
  background-image: none;
  border: 1px solid #CAD5E2;
  color: #0A0A0A;
  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 #E2E8F0;
  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: #0A0A0A;
  font-size: 16px;
  line-height: 24px;
}

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

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