/* Growth 브랜딩 — SFTPGo WebClient
   1) 로그인 화면: 로고 + 표준 Google SSO 버튼만.
   2) 로그인 후 사이드바: 상단 로고 + 그 아래 "Growth Server File Manager"(줄바꿈, 작게). */

/* 1) 로그인 화면 — 로고 + Google 버튼만 */
#sign_in_form h1 {
  display: none !important;
}
#sign_in_form .fv-row {
  display: none !important;
}
#sign_in_form #sign_in_submit {
  display: none !important;
}
#sign_in_form img[class*="h-80px"] {
  height: 37px !important;
  width: auto !important;
}
#sign_in_form .row {
  justify-content: center !important;
}

/* OIDC 버튼 → 표준 Google SSO 버튼 (흰 배경 · 4색 G · "Sign in with Google") */
#sign_in_form a[href="/web/client/oidclogin"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  height: 44px !important;
  padding: 0 16px !important;
  background: #ffffff !important;
  border: 1px solid #dadce0 !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-size: 0 !important; /* 기존 "Sign in with OpenID" 텍스트 숨김 */
}
#sign_in_form a[href="/web/client/oidclogin"] img {
  display: none !important; /* openid 아이콘 숨김 */
}
#sign_in_form a[href="/web/client/oidclogin"]::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: url("google-g.svg") center/contain no-repeat;
}
#sign_in_form a[href="/web/client/oidclogin"]::after {
  content: "Sign in with Google";
  font-family: "Roboto", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.25px;
  color: #3c4043;
}
#sign_in_form a[href="/web/client/oidclogin"]:hover {
  background: #f8faff !important;
  border-color: #d2e3fc !important;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.28) !important;
}

/* 2) 로그인 후 사이드바 헤더 — 로고 위 / 텍스트 아래 (줄바꿈) */
#kt_app_sidebar_header .app-sidebar-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}
#kt_app_sidebar_header span.text-sidebar {
  font-size: 0.72rem !important;
  line-height: 1.15 !important;
  padding-left: 0 !important;
  margin-top: 6px !important;
  white-space: normal !important;
}
