/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.pf-c-button.pf-m-control {
    --pf-c-button--after--BorderColor:rgba(255, 255, 255, 0);
    background-color:rgba(255, 255, 255, 0);
}

.col-xs-12{
    display: flex;
    flex-direction: row;
}
.form-group {
  margin-bottom: 16px;
}
.user-profile-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #0070e0;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  top: 20px;
  right: 20px;
  margin-right: 10px;
}

.user-profile-button:hover {
  background-color: #0052a8;
}

.user-profile-button svg {
  width: 24px;
  height: 24px;
  stroke: white;
}
.welcome-text span{
    color:#0070e0;
    font-size: 20px;
    font-weight: 310;
}
.copyright-text span{
    color:#2c3034;
    font-size: 10px;
}
.copyright-text{
    display: flex;
    align-items: center;
}
.card-pf{
    background: none;
    box-shadow: none;
}
.login-pf {
  background: #0070e0;
}
.login-pf-page {
    padding-top: 0;
    width: 60%;
    min-width: 802px;
}
.login-pf-page-header {
    display:none;
}
.login-pf-header {
    display:none;
}
.login-pf body {
  background:rgba(255,255,255,0);
  background-size: cover;
  height: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-attachment: fixed;
  
}

/* 登录容器 - 用于居中卡片 */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}

/* 登录卡片 - 响应式居中 */
.login-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  min-height: 550px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 卡片左侧区域 */
.card-left {
  flex: 1;
  background: rgba(255, 255, 255, 0);

  color: white;
  padding: 10px 50px 10px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.logo-area {
  margin-bottom: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.logo-placeholder {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.welcome-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color:#2c3034;
}

.welcome-text p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 350px;
  opacity: 0.9;
}

.geometric-decorations {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 0;
}

.geometric-decorations .circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px dashed rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 0;
  left: 0;
}

.geometric-decorations .arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-left: none;
  border-bottom: none;
  position: absolute;
  bottom: 60px;
  right: 40px;
}

.geometric-decorations .triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(255, 255, 255, 0.15);
  position: absolute;
  top: 40px;
  right: 60px;
  transform: rotate(45deg);
}

/* 卡片右侧区域 - 表单 */
.card-right {
  flex: 1;
  background: white;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#kc-form-wrapper {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

/* 表单元素样式 - 适用于所有表单页面 */

.remember-me label{
    font-weight:500;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #3A4750;
  font-size: 14px;
}
.form-control,
input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  border: 1px solid #DFE3E7;
  border-radius: 8px;
  font-size: 12px;
}

.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-color: #0070e0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 112, 224, 0.2);
}

.password-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-password {
  font-size: 12px;
  color: #0070e0;
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.password-wrapper,
.input-group {
  position: relative;
  width: 100%;
}

/* 确保密码可见性按钮正确显示 */
.input-group input[type="password"],
.input-group input[type="text"] {
  padding-right: 40px; /* 为按钮留出空间 */
}

.password-toggle,
button[data-password-toggle] {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #95A5A6;
}

/* 记住我选项 */
.form-options {
  margin: 5px 0 20px;
}

.remember-me {
  display: flex;
  align-items: center;
}

.remember-me input {
  margin: -5px 10px 0px 0px;
  accent-color: #0070e0;
}

/* 按钮样式 - 适用于所有表单页面 */
.form-actions {
  margin: 20px 0;
}

.login-button,
.btn.btn-primary,
.btn.btn-default,
#kc-login,
#kc-form-buttons input[type="submit"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: #3A4750;
  color: white;
}

.login-button:hover,
.btn.btn-primary:hover,
.btn.btn-default:hover,
#kc-login:hover,
#kc-form-buttons input[type="submit"]:hover {
  background-color: #2c363d;
}

.signup-area {
  text-align: center;
  margin: 20px 0;
  font-size: 12px;
  color: #3A4750;
}

.signup-button,
#kc-form-options a,
.forgot-password,
.instruction a {
  color: #0070e0;
  font-weight: 600;
  text-decoration: none;
  margin-left: 5px;
  
}
#kc-form-options{
    margin-bottom:10px;
}

.signup-button:hover,
#kc-form-options a:hover,
.forgot-password:hover,
.instruction a:hover {
  text-decoration: underline;
}

/* 错误消息 */

.alert.alert-error,
.alert.alert-warning,
.alert.alert-danger,
.message-error,
.input-error-message,
#input-error,
[id^="input-error-"] {
  display:none;
  background-color: #fce9e9;
  color: #e74c3c;
  padding: 12px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
}
.form-error {
  background-color: #fce9e9;
  color: #e74c3c;
  padding: 12px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
}

/* 成功消息 */
.alert.alert-success,
.message-success {
  background-color: #e8f7f0;
  color: #27ae60;
  padding: 12px;
  border-radius: 8px;
  margin: 20px 0;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
}
.alert-success{
  color: #27ae60;
  padding: 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  z-index: 100;
  position: fixed;
  top: 0%;
  left: 25%;
  right: 25%;
  min-width: 50%;
  background-color: rgba(255, 255, 255, 0.4);
}
/* 指令文本样式 */
.instruction,
.instruction p,
#kc-info-wrapper,
#kc-info-message {
  font-size: 14px;
  line-height: 1.6;
  color: #3A4750;
  margin-bottom: 20px;
}
.alert-info,.alert-warning,.alert-error {
    z-index: 100;
    position: fixed;
    top: 0%;
    left: 25%;
    right: 25%;
    min-width: 50%;
    background-color:rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    border-radius:10px;
}
.pf-c-alert__title{
    color:black;
}
/* 社交媒体登录 */
.social-login {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #f0f0f0;
}

.social-header {
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.divider {
  position: relative;
  margin-bottom: 20px;
}

.divider:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: #f0f0f0;
  z-index: 1;
}

.divider span {
  display: inline-block;
  background: white;
  padding: 0 12px;
  position: relative;
  z-index: 2;
  color: #95A5A6;
}

.social-label {
  display: block;
  font-weight: 600;
  color: #95A5A6;
  margin-top: 5px;
}

.social-providers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  background-color: #f0f0f0;
  color: #3A4750;
}

.social-link:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
}
.login-pf-page .login-pf-header{
    margin:0px;
    display:none;
}
/* 响应式设计 */
@media (max-width: 768px) {
  .login-pf {
      height:120%;
  }
  .login-card {
    flex-direction: column;
    min-height: auto;
    max-width: 450px;
  }
  
  .card-left, .card-right {
    padding: 40px 30px;
  }
  
  .geometric-decorations {
    display: none;
  }
  .login-pf-page {
    padding-top: 0;
    width: 100%;
    min-width: 600px;
  }
  .menu,
  .menu > div {
    border-radius: 15px 15px 0px 0px !important;
  }
  .menu > div > div {
    border-radius: 15px 15px 0px 0px !important;
  }
  .dock {
    border-radius: 15px 15px 0px 0px !important;
    padding:15px !important;
  }

  .dock,
  .dock > div {
    border-radius: 15px 15px 0px 0px !important;
  }
}

@media (max-width: 480px) {
  .login-pf {
      height:120%;
  }
  .login-card {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .card-left, .card-right {

  }
  
  .welcome-text h1 {
    font-size: 2rem;
  }
  
  #kc-form-wrapper {
    max-width: 100%;
  }
  .login-pf-page {
    padding-top: 0;
    width: 100%;
    min-width: 400px;
  }
  .menu,
  .menu > div {
    border-radius: 15px 15px 0px 0px;
  }
  .menu > div > div {
    border-radius: 15px 15px 0px 0px;
  }
  .dock {
    border-radius: 15px 15px 0px 0px;
    padding:15px !important;
  }
  .dock,
  .dock > div {
    border-radius: 15px 15px 0px 0px;
  }
}

/* LIQUID GLASS STYLES */

.liquidGlass-wrapper {
  position: relative;
  display: flex;
  font-weight: 600;
  overflow: hidden;

  color: black;
  cursor: pointer;
  min-height:100%;
  backdrop-filter: blur(5px);


}

.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
    padding: 2px; /* 新增 */
    -webkit-mask: 
        linear-gradient(#000, #000) content-box, 
        linear-gradient(#000, #000); /* 新增 */
    -webkit-mask-composite: xor; /* 新增 */
    mask: 
        linear-gradient(#000, #000) content-box, 
        linear-gradient(#000, #000); /* 新增 */
    mask-composite: exclude; /* 新增 */
}

.liquidGlass-tint {
  z-index: 1;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
}

.liquidGlass-shine {
  position: absolute;
  inset: 0;
  z-index: 2;

  overflow: hidden;

  box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
  z-index: 3;
  min-height:100%;
}

.wrapper {
  display: flex;
  gap: 25px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.menu,
.menu > div {
  padding: 0.4rem;
  border-radius: 15px 0px 0px 15px;
}

.menu:hover {

}

.menu > div > div {
  font-size: 20px;
  color: white;
  padding: 0.4rem 0.6rem;
  border-radius: 15px 0px 0px 15px;

}

.menu > div > div:hover {

}

.dock {
  display: flex;

  justify-content: center;
  gap: 8px;
  border-radius: 15px 0px 0px 15px;
  padding: 0.6rem;
  min-height:100%;
  flex: 1;
  background: rgba(255, 255, 255, 0);

  color: white;
  padding: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dock,
.dock > div {
  border-radius: 15px 0px 0px 15px;
}

.dock:hover {

}

.dock:hover > div {

}

.dock img {
  width: 60px;
  padding: 0;

}

.dock img:hover {


}
@keyframes moveBackground {
  from {
    background-position: 0% 0%;
  }
  to {
    background-position: 0% -1500%;
  }
}