/* ラボ琉球 サイバーログインフォーム カスタムCSS */

/* ログイン画面全体の背景 */
.com-users-login {
  background: #0b0e14;
  color: #e0e6ed;
  padding: 30px 20px;
  border-radius: 12px;
  border: 1px solid rgba(0, 243, 255, 0.2);
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(0, 243, 255, 0.1);
}

/* ラベルテキスト */
.com-users-login label {
  color: #00f3ff;
  font-weight: 600;
  letter-spacing: 1px;
}

/* 入力フィールド */
.com-users-login input[type="text"],
.com-users-login input[type="password"] {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid #1f293d !important;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 12px;
  transition: all 0.3s ease;
}

/* 入力フィールドフォーカス時 */
.com-users-login input[type="text"]:focus,
.com-users-login input[type="password"]:focus {
  border-color: #00f3ff !important;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5) !important;
  outline: none;
}

/* ログインボタン */
.com-users-login button[type="submit"] {
  background: linear-gradient(135deg, #ff2a5f 0%, #a8002c 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 12px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 42, 95, 0.4);
  transition: all 0.3s ease;
}

.com-users-login button[type="submit"]:hover {
  box-shadow: 0 0 20px rgba(255, 42, 95, 0.8);
  transform: translateY(-1px);
}

/* パスキーボタン等の装飾 */
.com-users-login .btn-outline-secondary {
  border-color: #00f3ff !important;
  color: #00f3ff !important;
  background: transparent;
}
/* ログイン画面より下に出る不要なフッター・ボトムエリアを非表示にする */
body:has(.com-users-login) .container-footer,
body:has(.com-users-login) footer,
.com-users-login ~ div {
  display: none !important;
}

/* --- ラボ琉球：サイバー・エレクトロニカル（ディテール完全統一版） --- */

/* 1. 全体カラー変数の上書き */
:root {
  --body-bg: #030712 !important;
  --body-color: #f3f4f6 !important;
  --link-color: #38bdf8 !important;
}

body, html {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
}

/* 2. Joomlaのコンテナ・カード・記事枠のガラス風ダークパネル化 */
.card, .container-component, article, .item-page, main, fieldset, section, div.mod-custom, .card-body {
  background-color: rgba(15, 23, 42, 0.85) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  color: #f3f4f6 !important;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5) !important;
}

/* 白背景ボックスや「続きを読む」エリアの完全ダーク化 */
.bg-white, .bg-light, .breadcrumb-container, .breadcrumbs, [class*="card-footer"], div[class*="readmore"] {
  background-color: rgba(15, 23, 42, 0.6) !important;
  color: #cbd5e1 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}

/* 3. 見出しのサイバーネオン装飾 */
h1, h2, h3, .page-header h1, .page-header h2 {
  color: #00f0ff !important; /* シアンネオン */
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6), 0 0 15px rgba(0, 240, 255, 0.3) !important;
  font-weight: bold !important;
}

/* 4. メニューリンクの可読性UP（シアン＆発光） */
ul.mod-menu a, nav a, .nav-link {
  color: #00f0ff !important;
  font-weight: bold !important;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.5) !important;
}

ul.mod-menu a:hover, nav a:hover, .nav-link:hover {
  color: #bc8cff !important; /* ホバー時はサイバーパープル */
  text-shadow: 0 0 8px rgba(188, 140, 255, 0.8) !important;
}

/* 5. ボタン類（赤系）をネオンボタンへ変更 */
.btn, button, input[type="submit"], .btn-primary, .btn-danger {
  background: linear-gradient(135deg, #0284c7, #06b6d4) !important;
  border: 1px solid #38bdf8 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.4) !important;
  transition: all 0.3s ease !important;
}

.btn:hover, button:hover, input[type="submit"]:hover {
  background: linear-gradient(135deg, #7c3aed, #c084fc) !important;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.8) !important;
}

/* 6. テキスト・リストの可読性 */
p, li {
  color: #e2e8f0 !important;
  line-height: 1.8 !important;
}

a {
  color: #38bdf8 !important;
}

a:hover {
  color: #a855f7 !important;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.8) !important;
}

/* --- ラボ琉球：最終ブラッシュアップ --- */

/* メタ情報（投稿日や作成者）の文字色をくっきり見やすく */
.article-info, .article-info dd, .createdby, .published, .hits, small {
  color: #94a3b8 !important;
}

/* メインビジュアルのまわりにうっすらネオンの光彩をまとう */
.header img, .banner img, .item-image img {
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  border-radius: 6px;
}

/* --- メニュー・モジュール周辺の背景を漆黒に統一 --- */
.mod-menu, div.mod-menu, .sidebar, .well, .module, div[class*="mod-"], .container-header {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
  border-color: rgba(56, 189, 248, 0.2) !important;
}

/* メニューのリンク文字をさらにくっきり発光させる */
.mod-menu li a, nav li a {
  color: #00f0ff !important;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.5) !important;
}

.mod-menu li a:hover, nav li a:hover {
  color: #c084fc !important;
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.8) !important;
}

/* --- フッターおよびログインボタン周辺の完全ブラック化 --- */
footer, .footer, .container-footer, .footer-inner, div[class*="footer"] {
  background-color: #030712 !important;
  color: #f3f4f6 !important;
  border-top: 1px solid rgba(56, 189, 248, 0.2) !important;
}

/* フッター内のログインボタン周辺の背景色を消す */
.login, .logout, div[class*="login"], .well {
  background-color: #030712 !important;
  border: none !important;
}