/* Cloud 업무 포털 — 밝은 카드형, 마젠타 강조 */

/* 배경: 연회색 + 옅은 원·십자 무늬 */
.login-ui {
  background-color: #f2f3f6 !important;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(230, 0, 126, 0.06) 0 120px, transparent 121px),
    radial-gradient(circle at 85% 78%, rgba(230, 0, 126, 0.05) 0 160px, transparent 161px),
    repeating-linear-gradient(0deg, transparent 0 59px, rgba(0, 0, 0, 0.025) 59px 60px),
    repeating-linear-gradient(90deg, transparent 0 59px, rgba(0, 0, 0, 0.025) 59px 60px) !important;
}

/* 카드 */
.login-ui .login-dialog {
  background: #fff !important;
  border: none !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 40px rgba(20, 20, 40, 0.10) !important;
  padding: 2.4em 2.2em 1.6em !important;
  width: 22em !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box;
}

/* 기본 아보카도 로고 숨기고 글자 로고로 */
.login-ui .login-dialog .logo { display: none !important; }
.login-ui .login-dialog .version { margin: 0 0 1.6em !important; text-align: center; }
.login-ui .login-dialog .version .app-name {
  font-size: 1.7em !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: #1d1d24 !important;
}
.login-ui .login-dialog .version .app-name::before {
  content: "";
  display: block;
  width: 44px; height: 44px;
  margin: 0 auto 0.5em;
  border-radius: 12px;
  background: #e6007e
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M7 18a5 5 0 0 1-.6-9.96A6 6 0 0 1 18 9a4.5 4.5 0 0 1 .5 8.98V18H7z'/></svg>")
    center / 26px no-repeat;
}
.login-ui .login-dialog .version .version-number { display: none !important; }

/* 입력칸: 밑줄형 */
.login-ui .login-fields .labeled-field { margin: 0 0 1.1em !important; }
.login-ui .login-fields input[type="text"],
.login-ui .login-fields input[type="password"] {
  border: none !important;
  border-bottom: 1.5px solid #d4d6dd !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0.6em 0.1em !important;
  font-size: 1.05em !important;
  box-shadow: none !important;
  width: 100% !important;
}
.login-ui .login-fields input:focus {
  outline: none !important;
  border-bottom-color: #e6007e !important;
}
.login-ui .login-fields .field-header { color: #8a8d96 !important; font-size: 0.85em !important; }

/* 로그인 버튼 */
.login-ui .login-dialog .buttons { margin-top: 0.6em !important; }
.login-ui .login-dialog input[type="submit"],
.login-ui .login-dialog .buttons .login {
  width: 100% !important;
  background: #e6007e !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: 1.05em !important;
  font-weight: 700 !important;
  padding: 0.8em !important;
  box-shadow: none !important;
  cursor: pointer;
}
.login-ui .login-dialog input[type="submit"]:hover { background: #c4006b !important; }

/* 오류 메시지 */
.login-ui .login-dialog .login-error {
  background: #fde7f1 !important;
  color: #a3005a !important;
  border: none !important;
  border-radius: 6px !important;
}

/* 안내 문구 */
.portal-notice {
  margin: 1.2em 0 0;
  color: #8a8d96;
  font-size: 0.82em;
  text-align: center;
  line-height: 1.5;
  word-break: keep-all;
}

/* 하단 프로그램 다운로드 띠 (전용 프로그램 안에서는 숨김) */
.portal-download-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 16px;
  background: #e8e9ec;
  color: #2b2d33;
  font-size: 0.95em;
  font-weight: 600;
  text-align: center;
  word-break: keep-all;
}
.portal-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #6c737d;
  color: #fff !important;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.portal-download-btn:hover { background: #565c65; }
.in-portal-app .portal-download-bar { display: none; }

/* 전용 프로그램 열기 / 설치 권유 창 */
.cp-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(20, 20, 30, 0.45);
}
.cp-modal {
  width: 26em; max-width: 100%; box-sizing: border-box;
  padding: 2em 2em 1.5em;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(20, 20, 40, 0.25);
  color: #1d1d24;
  text-align: center;
  word-break: keep-all;
}
.cp-modal-logo {
  width: 48px; height: 48px; margin: 0 auto 1em;
  border-radius: 12px;
  background: #e6007e
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><circle cx='8.5' cy='13' r='3.5'/><circle cx='12.5' cy='11' r='4.5'/><circle cx='16.25' cy='13.25' r='3.25'/><rect x='8.5' y='12.5' width='7.75' height='4'/></svg>")
    center / 30px no-repeat;
}
.cp-modal h2 { margin: 0 0 0.6em; font-size: 1.3em; }
.cp-modal p { margin: 0 0 1.2em; color: #5c5f68; line-height: 1.6; }
.cp-modal ul { margin: 0 0 1.4em; padding: 0; list-style: none; color: #5c5f68; line-height: 1.9; }
.cp-modal ul li::before { content: "✓ "; color: #e6007e; font-weight: 700; }
.cp-btn {
  display: block; width: 100%; box-sizing: border-box;
  margin: 0 0 0.6em; padding: 0.8em;
  border-radius: 8px; border: none;
  font: inherit; font-weight: 700; font-size: 1em;
  text-decoration: none !important; cursor: pointer;
}
.cp-btn-primary { background: #e6007e; color: #fff !important; }
.cp-btn-primary:hover { background: #c4006b; }
.cp-btn-ghost { background: #f0f1f4; color: #2b2d33; }
.cp-btn-ghost:hover { background: #e3e5ea; }
.cp-hint { display: none; margin: 0 0 0.8em !important; font-size: 0.88em; color: #a3005a !important; }
.cp-hint-on { display: block; }
.cp-never { display: block; margin: 0.4em 0 0.8em; font-size: 0.88em; color: #8a8d96; cursor: pointer; }
.cp-link { font-size: 0.85em; color: #8a8d96 !important; }

/* 연결 목록 화면 등 앱 안쪽 강조색 */
.user-menu .menu-dropdown .menu-title,
.menu-dropdown .menu-contents li a:hover { color: #e6007e; }
/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Label/tag denoting the user that shared a connection */
.jdbc-share-tag {

    background: #0095ff;
    padding: 0.25em;

    -moz-border-radius:    0.25em;
    -webkit-border-radius: 0.25em;
    -khtml-border-radius:  0.25em;
    border-radius:         0.25em;

    color: white;
    font-size: 0.75em;
    font-weight: bold;

}
