/* 自定义Account界面样式，使其与Login界面相似 */

/* 全局样式 */
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 背景样式 */
body {
  background: url(../img/9plus_login_bg.jpg) no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}
.keycloak__loading-container{
    background-color: rgba(255, 255, 255, 0);
    border-radius: 30px;
    max-height: 785px;
}
#page-sidebar{
    max-height:89%;
    border-radius: 0 0 0 30px;
}
:root {
    --pf-v5-c-page__sidebar--BackgroundColor: rgba(255,255,255,0.9);
    --pf-v5-global--BorderWidth--sm:0px;
    --pf-v5-c-data-list__item--BackgroundColor:rgba(255, 255, 255, 0.6);
}
.account-ui{
    background-color: rgba(255, 255, 255, 0.8);
    margin: 3%;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    max-height:90%;
}
input[type="text"],
input[type="password"],
input[type="email"],
.pf-v5-c-menu-toggle.pf-m-expanded.pf-m-full-width{
  width: 100%;
  border: 1px solid #DFE3E7;
  border-radius: 8px;

}
.pf-v5-c-spinner{
    display:none;
}

._brand_1gmge_1{
   max-height: 30px;
}
.pf-v5-c-page__main-section{
    background: rgba(255, 255, 255, 0);
    border: none;
}

.pf-v5-c-content{
    margin: 0 0 0 0;
}
.pf-v5-c-form.pf-m-horizontal{
    margin-left: 0;
    margin-right: 0;
}
.pf-v5-c-toolbar__item.pf-m-overflow-menu.pf-m-align-right.pf-v5-u-m-0-on-lg{
    margin-left:10px;
}
.pf-v5-c-nav__link:focus{
    background-color:rgba(255,255,255,0);
}
.pf-v5-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-v5-c-nav__link{
    background-color: rgba(255,255,255,0);
}
/* 页面容器样式 */
.pf-v5-c-page {
  background: transparent !important;
  --pf-v5-c-page--BackgroundColor: transparent !important;
}
._sticky_1cdve_5{
    display:none;
}
/* 侧边栏样式 */
.pf-v5-c-page__sidebar.pf-m-expanded{
    /*box-shadow: 0px 0px 20px 4px #03030324;*/
}
/* 侧边栏导航样式 */
.pf-v5-c-nav {
  background: transparent !important;
  --pf-v5-c-nav__item--before--BorderColor:rgba(255,255,255,0)
  --pf-v5-c-nav__link--before--BorderBottomWidth:0px;

}

.pf-v5-c-nav__link {
  color: #2c3034 !important;
  font-weight: 500;
}

.pf-v5-c-nav__link:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.pf-v5-c-nav__link.pf-m-current {
  background: rgba(255, 255, 255, 0.4) !important;
  color: #0070e0 !important;
  font-weight: 600;
}
.pf-v5-c-alert{
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
}
/* 头部样式 */
.pf-v5-c-masthead {
  --pf-v5-c-masthead--c-toolbar--BackgroundColor: rgba(255, 255, 255, 0);
  background: rgba(17,17,17,0.82) !important;
  backdrop-filter: blur(8px);
  border-bottom: none !important;
  border-radius: 30px 30px 0 0;
  display: flex;
  flex-direction: row;
}

/* Logo样式 */
._brand_1gmge_1 {
  height: 50px;
  width: auto;
}

.pf-v5-c-page__main {
    background-color: rgba(255, 255, 255, 0);

    max-height: 89%;
}



/* 主内容区域样式 */
.pf-v5-c-page__main-section {

}

/* 标题样式 */
.pf-v5-c-title.pf-m-2xl {
  color: #2c3034;
  font-weight: 700;
  font-size: 2.5rem;
}

/* 描述文本样式 */
.pf-v5-c-page__main-section p {
  color: #0070e0;
  font-size: 20px;
  font-weight: 310;
}

/* 卡片样式 */
.pf-v5-c-page__main-section.pf-v5-u-px-0 {

  margin-top: 0 !important;
}
.pf-v5-c-page__main-section.pf-m-light {
  padding: 30px;
  margin-top: 0 !important;    
}


/* 表单元素样式 */
.pf-v5-c-form-control {

  border-radius: 8px;

}

.pf-v5-c-form-control:focus {
  border-color: #0070e0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 112, 224, 0.2);
}

/* 按钮样式 */
.pf-v5-c-button.pf-m-primary {
  background-color: #0070e0;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: none;
}

.pf-v5-c-button.pf-m-primary:hover {
  background-color: #0052a8;
}

.pf-v5-c-button.pf-m-secondary {
  background-color: #3A4750;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  border: none;
}

.pf-v5-c-button.pf-m-secondary:hover {
  background-color: #2c363d;
}

/* 数据列表样式 */
.pf-v5-c-data-list {

  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --pf-v5-c-data-list__item--BackgroundColor:rgba(255, 255, 255, 0.6);
}

#applications-list-header.pf-v5-c-data-list__item {
  border-radius: 0px;
  border-bottom: 1px solid #f0f0f0;
}

.pf-v5-c-data-list__item {
  border-radius: 0px;
  border-bottom: 1px solid #f0f0f0;
}

.pf-v5-c-data-list__item-content {
  padding: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .pf-v5-c-page__main-section {
    margin: 10px;
    padding: 20px !important;
  }
  
  .pf-v5-c-title.pf-m-2xl {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .pf-v5-c-page__main-section {
    margin: 5px;
    padding: 15px !important;
  }
  
  .pf-v5-c-title.pf-m-2xl {
    font-size: 1.8rem;
  }
}

/* 暗色模式适配 */
.pf-v5-theme-dark .pf-v5-c-page__main-section {
  background: rgba(27, 29, 33, 0.9) !important;
}

.pf-v5-theme-dark .pf-v5-c-nav__link {
  color: #e0e0e0 !important;
}

.pf-v5-theme-dark .pf-v5-c-nav__link.pf-m-current {
  color: #0070e0 !important;
}

.pf-v5-theme-dark .pf-v5-c-title.pf-m-2xl {
  color: #e0e0e0;
}

.pf-v5-theme-dark .pf-v5-c-data-list {
  background: #1b1d21;
}

.pf-v5-theme-dark .pf-v5-c-data-list__item {
  border-bottom: 1px solid #2c3034;
}