@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800;900&display=swap");

:root {
  --primary: #18344f;
  --accent: #347fd1;
  --bg-light: #f3f7fa;
  --text-light: #203044;
  --card-light: #ffffff;
  --border-light: #dce5ed;
  --brand-navy: #17324b;
  --brand-blue: #347fd1;
  --brand-cyan: #52c1e8;
}

body {
  font-family: "Public Sans", "Segoe UI", sans-serif;
}

header.site-header {
  background-color: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid rgba(23, 50, 75, 0.08);
  box-shadow: 0 8px 24px rgba(23, 50, 75, 0.08);
  backdrop-filter: blur(12px);
}

.site-header .navbar,
.site-header .site-navbar {
  background: transparent;
  box-shadow: none;
}

.site-header .brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.site-header .brand-logo img,
.site-header .brand-logo-image {
  width: clamp(58px, 5vw, 72px);
  height: auto;
  flex-shrink: 0;
}

.site-header .brand-wordmark {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.05;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(90deg, #1f3d5b 0%, #3d7ed1 45%, #1eb7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header .nav-link-item,
.site-header .site-menu-main .nav-link-item {
  color: #18344f !important;
  font-weight: 600;
}

.site-header .nav-link-item:hover,
.site-header .site-menu-main .nav-link-item:hover {
  color: #347fd1 !important;
}

.footer-section,
.fugu-foote2-section {
  background: #102a43 !important;
  color: #e7eef5;
}

.footer-section p,
.footer-section small,
.fugu-foote2-section p,
.fugu-foote2-section small,
.fugu-foote2-section .text-muted {
  color: #b9c9d7 !important;
}

.footer-section a,
.fugu-foote2-section a {
  transition: color 0.2s ease;
}

.footer-section a:hover,
.fugu-foote2-section a:hover {
  color: #74d3f2 !important;
}

.fugu-foote2-section {
  padding: 64px 0 24px;
}

.fugu-foote2-section .fugu-default-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.fugu-foote2-section .fugu-footer-top {
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fugu-foote2-section .fugu-footer-middle {
  padding: 28px 0;
}

.fugu-footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fugu-footer-logo img {
  width: 48px;
  height: auto;
}

.fugu-footer-logo .brand-wordmark {
  color: #eaf7ff;
  background: linear-gradient(90deg, #ffffff 0%, #a7e7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.fugu-foote2-section .fugu-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fugu-foote2-section .fugu-email {
  color: #eaf7ff;
}

.fugu-foote2-section .fugu-email img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.fugu-foote2-section .fugu-btn,
.fugu-foote2-section .fugu-header-btn {
  border-radius: 6px;
}

.chat-float-btn,
.chat-window {
  display: none !important;
}

body[data-theme="dark"] header.site-header,
body.dark header.site-header {
  background-color: rgba(17, 35, 52, 0.97) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .site-header .nav-link-item,
body.dark .site-header .nav-link-item,
body[data-theme="dark"] .site-header .site-menu-main .nav-link-item,
body.dark .site-header .site-menu-main .nav-link-item {
  color: #e8f0f6 !important;
}

body[data-theme="dark"] .site-header .brand-wordmark,
body.dark .site-header .brand-wordmark {
  background: linear-gradient(90deg, #ffffff 0%, #a7e7ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body[data-theme] {
  --bg: #f3f7fa;
  --card: #ffffff;
  --text: #203044;
  --sidebar: #17324b;
  --accent: #347fd1;
  --border: #dce5ed;
  --shadow: rgba(23, 50, 75, 0.08);
  --sidebar-text: #c7d6e3;
  --sidebar-hover: #244763;
  font-family: "Public Sans", "Segoe UI", sans-serif;
}

body[data-theme="dark"] {
  --bg: #111d2b;
  --card: #192b3d;
  --text: #e7eef5;
  --sidebar: #10283e;
  --accent: #56b8e8;
  --border: #2c4256;
  --shadow: rgba(0, 0, 0, 0.25);
  --sidebar-text: #c7d6e3;
  --sidebar-hover: #1c3a54;
}

body[data-theme="light"] {
  background: var(--bg);
  color: var(--text);
}

body[data-theme="dark"] {
  background: var(--bg);
  color: var(--text);
}

.sidebar {
  background: linear-gradient(180deg, var(--sidebar) 0%, #10283e 100%);
  color: #ffffff;
  box-shadow: 3px 0 18px rgba(14, 39, 59, 0.16);
}

.sidebar h2 {
  font-size: 1.05rem;
  font-weight: 900;
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.sidebar a {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 10px 13px;
}

.sidebar a:hover,
.sidebar a.active {
  background: rgba(82, 193, 232, 0.15);
  border-color: rgba(82, 193, 232, 0.22);
  color: #ffffff;
}

.avatar-box {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(82, 193, 232, 0.08);
}

.main-content {
  min-height: 100vh;
  background: var(--bg);
}

.content-wrapper {
  max-width: 1440px;
  padding: 30px clamp(18px, 3vw, 40px);
}

.card {
  background: var(--card);
  border-color: var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px var(--shadow);
}

.header-toggle,
.btn,
.btn-submit,
.btn-execute {
  border-radius: 6px;
}

.btn,
.btn-submit,
.btn-execute {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn:hover,
.btn-submit:hover,
.btn-execute:hover {
  background: #2868ad;
  border-color: #2868ad;
  color: #ffffff;
}

.header-toggle:focus-visible,
.btn:focus-visible,
.btn-submit:focus-visible,
.btn-execute:focus-visible,
.sidebar a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(52, 127, 209, 0.3);
  outline-offset: 2px;
}

input,
select,
textarea {
  border-color: var(--border);
  border-radius: 6px;
}

body[data-theme="dark"] input,
body[data-theme="dark"] select,
body[data-theme="dark"] textarea {
  background: #13263a;
  color: var(--text);
}

table th {
  background: rgba(52, 127, 209, 0.08);
}

@media (max-width: 768px) {
  .site-header .brand-logo {
    gap: 9px;
  }

  .site-header .brand-wordmark {
    max-width: 190px;
    white-space: normal;
    font-size: 0.76rem;
  }

  .fugu-foote2-section {
    padding-top: 44px;
  }

  .fugu-footer-logo {
    margin-bottom: 20px;
  }

  .content-wrapper {
    padding: 22px 16px;
  }
}
