/* ============================================================
 * dashboard.css
 * ダッシュボード系ページ共通CSS
 * Dashboard pages shared CSS (layout, sidebar, header, content)
 * ============================================================ */

/* ------------------------------------------------------------
 * ダッシュボードレイアウト・背景
 * Dashboard layout and background effects
 * ------------------------------------------------------------ */
.dashboard-layout { height: 100vh; background: linear-gradient(135deg, var(--dash-bg-primary) 0%, var(--dash-bg-secondary) 50%, var(--dash-bg-primary) 100%); display: flex; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; color: var(--dash-text-primary); padding: var(--dash-spacing); gap: var(--dash-spacing); position: relative; overflow: hidden; }
.dashboard-layout::before { content: ""; position: fixed; top: 20%; left: 20%; width: 24rem; height: 24rem; background: var(--dash-accent-glow); border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; opacity: 0.6; }
.dashboard-layout::after { content: ""; position: fixed; bottom: 20%; right: 20%; width: 24rem; height: 24rem; background: var(--dash-blue-glow); border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; opacity: 0.6; }
.dashboard-layout .dashboard-main::before { content: ""; position: fixed; inset: 0px; background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; z-index: 0; }

/* ------------------------------------------------------------
 * サイドバー
 * Dashboard sidebar
 * ------------------------------------------------------------ */
.dashboard-sidebar { width: var(--dash-sidebar-width); height: 100%; background: var(--dash-glass); backdrop-filter: blur(24px); border: 1px solid var(--dash-glass-border); border-radius: 1.25rem; display: flex; flex-direction: column; flex-shrink: 0; box-shadow: var(--dash-glass-shadow); overflow: hidden; }
.dashboard-sidebar-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--dash-border); display: flex; align-items: center; justify-content: space-between; }
.sidebar-close-btn { display: none; background: transparent; border: none; color: rgba(255, 255, 255, 0.6); cursor: pointer; padding: 0.25rem; border-radius: 4px; transition: color 0.2s ease 0s, background 0.2s ease 0s; }
.sidebar-close-btn:hover { color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.1); }
@media (max-width: 768px) {
  .sidebar-close-btn { display: flex; align-items: center; justify-content: center; }
}
.dashboard-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.dashboard-logo-icon { width: 2.25rem; height: 2.25rem; background: linear-gradient(135deg, var(--dash-accent-light), var(--dash-accent)); border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; color: white; }
.dashboard-logo-icon svg { width: 1.25rem; height: 1.25rem; }
.dashboard-logo-text { font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--dash-text-primary); letter-spacing: -0.02em; }
.dashboard-nav { flex: 1 1 0%; padding: 0.75rem 0px; overflow-y: auto; }
.dashboard-nav-section { padding: 0px 0.875rem; margin-bottom: 0.75rem; }
.dashboard-nav-title { font-size: 0.6875rem; font-weight: 600; color: var(--dash-text-muted); text-transform: uppercase; letter-spacing: 0.1em; padding: 0px 0.75rem; margin-bottom: 0.5rem; }
.dashboard-nav-list { list-style: none; margin: 0px; padding: 0px; }
.dashboard-nav-item { margin: 0.125rem 0px; }
.dashboard-nav-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 1rem; border-radius: 0.5rem; color: var(--dash-text-secondary); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: all 0.15s ease 0s; }
.dashboard-nav-link:hover { background: rgba(255, 255, 255, 0.08); color: var(--dash-text-primary); }
.dashboard-nav-link.active { background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(8px); border: 1.5px solid rgba(255, 255, 255, 0.25); color: var(--dash-text-primary); font-weight: 600; box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px, rgba(255, 255, 255, 0.15) 0px 1px 0px inset; }
.dashboard-nav-link svg { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.dashboard-user { padding: 0.75rem 1.25rem; border-top: 1px solid var(--dash-border); display: flex; align-items: center; gap: 0.75rem; }
.dashboard-user-avatar { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; background: linear-gradient(135deg, var(--dash-accent-light), var(--dash-accent)); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; color: white; }
.dashboard-user-info { flex: 1 1 0%; min-width: 0px; }
.dashboard-user-name { font-size: 0.875rem; font-weight: 600; color: var(--dash-text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dashboard-user-email { font-size: 0.75rem; color: var(--dash-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------
 * ヘッダー
 * Dashboard header and actions
 * ------------------------------------------------------------ */
.dashboard-main { flex: 1 1 0%; display: flex; flex-direction: column; min-height: calc(100vh - var(--dash-spacing) * 2); gap: var(--dash-spacing); }
.dashboard-header { background: var(--dash-glass); backdrop-filter: blur(24px); border: 1px solid var(--dash-glass-border); border-radius: 1.25rem; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; box-shadow: var(--dash-glass-shadow); }
.dashboard-header-title { font-size: 1rem; font-weight: 600; margin: 0px; color: var(--dash-text-primary); }
.dashboard-header-left { display: flex; align-items: center; gap: 0.75rem; }
.dashboard-header-logo { display: none; }
.mobile-only { display: none !important; }
.dashboard-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.dashboard-lang-toggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--dash-text-secondary); background: transparent; border: none; cursor: pointer; transition: all 0.2s ease 0s; white-space: nowrap; }
.dashboard-lang-toggle:hover { color: var(--dash-accent); background: transparent; }
.dashboard-lang-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-lang-toggle { display: none; width: 100%; padding: 0.75rem 1rem; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--dash-text-secondary); background: transparent; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top: 1px solid var(--dash-border); cursor: pointer; transition: color 0.2s ease 0s; }
.sidebar-lang-toggle:hover { color: var(--dash-accent); }
.sidebar-lang-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.dashboard-menu-toggle { display: none; }
.desktop-only { display: flex; }
.dashboard-sidebar-logout { display: none; padding: 1rem; border-top: 1px solid var(--dash-glass-border); margin-top: auto; }
.dashboard-sidebar-logout .dashboard-btn { width: 100%; justify-content: center; }
.dashboard-sidebar-logout .dashboard-btn span { display: inline; }

/* ------------------------------------------------------------
 * メインコンテンツエリア
 * Dashboard main content area
 * ------------------------------------------------------------ */
.dashboard-content { flex: 1 1 0%; background: var(--dash-glass); backdrop-filter: blur(24px); border: 1px solid var(--dash-glass-border); border-radius: 1.25rem; padding: 2rem; box-shadow: var(--dash-glass-shadow); overflow-y: auto; }
.dashboard-welcome { margin-bottom: 2rem; }
.dashboard-welcome-title { font-size: 1.75rem; font-weight: 700; color: var(--dash-text-primary); margin: 0px 0px 0.5rem; letter-spacing: -0.02em; }
.dashboard-welcome-subtitle { font-size: 1rem; color: var(--dash-text-secondary); margin: 0px; }
.dashboard-content-compact { padding: 1.5rem; max-height: calc(-60px + 100vh); overflow-y: auto; }
.dashboard-top-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.25rem; padding: 1.25rem 1.5rem; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; }
.dashboard-welcome-compact { flex-shrink: 0; }
.dashboard-welcome-title-compact { font-size: 1.375rem; font-weight: 700; color: var(--dash-text-primary); margin: 0px 0px 0.25rem; letter-spacing: -0.02em; }
.dashboard-welcome-subtitle-compact { font-size: 0.875rem; color: var(--dash-text-secondary); margin: 0px; }
.dashboard-grid-2col { display: grid; grid-template-columns: 1fr 280px; gap: 1.25rem; align-items: start; }
.dashboard-col-left { display: flex; flex-direction: column; gap: 1rem; }
.dashboard-col-right { display: flex; flex-direction: column; gap: 0.75rem; }
.dashboard-section-compact { display: flex; flex-direction: column; gap: 0.5rem; }
.dashboard-section-title-sm { font-size: 0.8125rem; font-weight: 600; color: var(--dash-text-secondary); margin: 0px; display: flex; align-items: center; gap: 0.5rem; }
.dashboard-table-card-compact { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; overflow: hidden; }
.dashboard-table-sm { font-size: 0.8125rem; }
.dashboard-table-sm th, .dashboard-table-sm td { padding: 0.625rem 0.75rem; }
.dashboard-shortcut-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; text-decoration: none; transition: all 0.2s ease 0s; }
.dashboard-shortcut-card:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.15); }
.dashboard-shortcut-card.cyan { border-color: rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.05); }
.dashboard-shortcut-card.cyan .dashboard-shortcut-icon { color: var(--dash-accent); }
.dashboard-shortcut-card.orange { border-color: rgba(251, 146, 60, 0.2); background: rgba(251, 146, 60, 0.05); }
.dashboard-shortcut-card.orange .dashboard-shortcut-icon { color: rgb(251, 146, 60); }
.dashboard-shortcut-card.purple { border-color: rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.05); }
.dashboard-shortcut-card.purple .dashboard-shortcut-icon { color: rgb(168, 85, 247); }
.dashboard-shortcut-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; flex-shrink: 0; }
.dashboard-shortcut-content { flex: 1 1 0%; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.dashboard-shortcut-label { font-size: 0.8125rem; font-weight: 500; color: var(--dash-text-primary); }
.dashboard-shortcut-value { font-size: 1rem; font-weight: 700; color: var(--dash-text-primary); }
.dashboard-shortcut-arrow { color: var(--dash-text-muted); }

/* ------------------------------------------------------------
 * アカウントバー
 * Account information bar
 * ------------------------------------------------------------ */
.account-bar { display: flex; align-items: center; gap: 1.5rem; padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0.5rem; }
.account-bar-email { display: flex; align-items: center; gap: 0.625rem; color: var(--dash-text-primary); font-size: 0.875rem; font-weight: 500; }
.account-bar-email svg { color: var(--dash-accent); }
.account-bar-stats { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.account-bar-stat { display: flex; align-items: center; gap: 0.5rem; }
.account-bar-label { font-size: 0.75rem; color: var(--dash-text-secondary); }
.account-bar-value { font-size: 0.875rem; font-weight: 600; padding: 0.125rem 0.5rem; border-radius: 0.25rem; }
.account-bar-value.active { background: rgba(34, 197, 94, 0.15); color: rgb(34, 197, 94); }
.account-bar-value.inactive { background: rgba(148, 163, 184, 0.15); color: rgb(148, 163, 184); }
.account-bar-settings { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: none; background: transparent; color: var(--dash-text-secondary); cursor: pointer; transition: color 0.2s ease 0s; border-radius: 0.25rem; }
.account-bar-settings:hover { color: var(--dash-text-primary); background: rgba(255, 255, 255, 0.05); }

/* ------------------------------------------------------------
 * カード・グリッドレイアウト
 * Cards, square cards, and grid layouts
 * ------------------------------------------------------------ */
.dashboard-square-card { display: flex; flex-direction: column; padding: 1.25rem; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; backdrop-filter: blur(12px); text-decoration: none; transition: all 0.2s ease 0s; position: relative; min-height: 120px; }
.dashboard-square-card:hover { background: var(--dash-glass-strong); border-color: rgba(255, 255, 255, 0.25); }
.dashboard-square-card.green { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.08); }
.dashboard-square-card.green:hover { border-color: rgba(52, 211, 153, 0.6); background: rgba(52, 211, 153, 0.15); }
.dashboard-square-card.green .dashboard-square-icon { color: rgb(52, 211, 153); }
.dashboard-square-card.green .dashboard-square-value { color: rgb(52, 211, 153); }
.dashboard-square-icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; color: var(--dash-accent); margin-bottom: 0.75rem; }
.dashboard-square-title { font-size: 0.875rem; font-weight: 600; color: var(--dash-text-primary); margin-bottom: 0.25rem; }
.dashboard-square-value { font-size: 1.5rem; font-weight: 700; color: var(--dash-text-primary); margin-bottom: 0.5rem; }
.dashboard-square-desc { font-size: 0.75rem; color: var(--dash-text-secondary); line-height: 1.4; }
.dashboard-square-arrow { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--dash-text-muted); }
.expiry-banner { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 0.5rem; margin-bottom: 1rem; }
.expiry-banner-icon { color: rgb(251, 191, 36); flex-shrink: 0; }
.expiry-banner-content { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; flex: 1 1 0%; }
.expiry-banner-text { font-size: 0.875rem; color: var(--dash-text-primary); }
.expiry-banner-link { font-size: 0.875rem; font-weight: 600; color: rgb(251, 191, 36); text-decoration: none; white-space: nowrap; }
.expiry-banner-link:hover { text-decoration: underline; }
.dashboard-cards-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.dashboard-cards-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 1100px) {
  .dashboard-cards-row-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .dashboard-grid-2col { grid-template-columns: 1fr; }
  .dashboard-col-right { flex-flow: wrap; }
  .dashboard-shortcut-card { flex: 1 1 0%; min-width: 140px; }
  .dashboard-cards-row-3 { grid-template-columns: repeat(3, 1fr); }
  .dashboard-top-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 768px) {
  .dashboard-cards-row-3 { grid-template-columns: 1fr; }
  .dashboard-cards-row-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .dashboard-cards-row-4 .dashboard-square-card { min-height: unset; height: 110px; padding: 1.25rem 1rem; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
  .dashboard-cards-row-4 .dashboard-square-icon { width: 1.5rem; height: 1.5rem; margin-bottom: 0.5rem; }
  .dashboard-cards-row-4 .dashboard-square-icon svg { width: 20px; height: 20px; }
  .dashboard-cards-row-4 .dashboard-square-title { font-size: 0.8125rem; margin-bottom: 0.125rem; }
  .dashboard-cards-row-4 .dashboard-square-desc { display: none; }
  .dashboard-cards-row-4 .dashboard-square-value { font-size: 1.125rem; margin-top: 0.125rem; }
  .dashboard-cards-row-4 .dashboard-square-arrow { display: none; }
  .account-bar { flex-wrap: wrap; gap: 0.75rem; position: relative; }
  .account-bar-stats { margin-left: 0px; width: 100%; justify-content: flex-start; }
  .account-bar-settings { position: absolute; right: 0.75rem; top: 0.75rem; }
}
@media (max-width: 600px) {
  .dashboard-content-compact { padding: 1rem; }
  .dashboard-col-right { flex-direction: column; }
  .dashboard-shortcut-card { min-width: unset; }
  .dashboard-table-sm th, .dashboard-table-sm td { padding: 0.5rem; font-size: 0.75rem; }
}

/* ------------------------------------------------------------
 * ダッシュボードカード・バッジ
 * Dashboard cards and badges
 * ------------------------------------------------------------ */
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.dashboard-card { background: linear-gradient(rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%); backdrop-filter: blur(20px); border: 1px solid var(--dash-glass-border); border-radius: 1rem; padding: 1.5rem; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px; position: relative; overflow: hidden; }
.dashboard-card::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); }
.dashboard-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1rem; }
.dashboard-card-icon { width: 2.75rem; height: 2.75rem; border-radius: 0.625rem; display: flex; align-items: center; justify-content: center; background: var(--dash-accent-bg); color: var(--dash-accent); }
.dashboard-card-icon svg { width: 1.375rem; height: 1.375rem; }
.dashboard-card-menu { width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; color: var(--dash-text-muted); cursor: pointer; }
.dashboard-card-title { font-size: 0.875rem; font-weight: 500; color: var(--dash-text-secondary); margin: 0px 0px 0.375rem; }
.dashboard-card-value { font-size: 2rem; font-weight: 700; color: var(--dash-text-primary); margin: 0px; letter-spacing: -0.02em; line-height: 1.1; }
.dashboard-card-value span { font-size: 1rem; font-weight: 500; color: var(--dash-text-muted); margin-left: 0.25rem; }
.dashboard-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--dash-border); }
.dashboard-card-link { font-size: 0.875rem; font-weight: 500; color: var(--dash-text-primary); text-decoration: underline; text-underline-offset: 2px; display: flex; align-items: center; gap: 0.375rem; }
.dashboard-card-link svg { width: 1rem; height: 1rem; }
.dashboard-card-badge { font-size: 0.75rem; font-weight: 500; color: var(--dash-accent); }
.dashboard-product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.dashboard-product-card { background: linear-gradient(rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%); backdrop-filter: blur(20px); border: 1px solid var(--dash-glass-border); border-radius: 1rem; padding: 1.5rem; display: flex; align-items: center; gap: 1.25rem; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px; position: relative; overflow: hidden; }
.dashboard-product-card::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); }
.dashboard-product-icon { width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--dash-accent-bg); color: var(--dash-accent); }
.dashboard-product-icon svg { width: 1.75rem; height: 1.75rem; }
.dashboard-product-info { flex: 1 1 0%; }
.dashboard-product-name { font-size: 1rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px 0px 0.25rem; }
.dashboard-product-status { font-size: 0.8125rem; color: var(--dash-text-muted); display: flex; align-items: center; gap: 0.375rem; }
.dashboard-product-status.active { color: var(--dash-accent); }
.dashboard-product-status.active::before { content: ""; width: 6px; height: 6px; background: var(--dash-accent); border-radius: 50%; }
.dashboard-product-actions { display: flex; gap: 0.5rem; }
.dashboard-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s ease 0s, opacity 0.2s ease 0s; border: none; font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; }
.dashboard-btn:active { opacity: 0.9; }
.dashboard-btn-primary { background: var(--dash-accent); color: var(--dash-bg-primary); font-weight: 600; }
.dashboard-btn-primary:hover { background: var(--dash-accent-light); }
.dashboard-btn-secondary { background: rgba(255, 255, 255, 0.1); color: var(--dash-text-primary); border: 1px solid rgba(255, 255, 255, 0.2); }
.dashboard-btn-secondary:hover { background: rgba(255, 255, 255, 0.15); }
.dashboard-btn-icon { width: 2.25rem; height: 2.25rem; padding: 0px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0.5rem; color: var(--dash-text-primary); }
.dashboard-btn-icon:hover { background: rgba(255, 255, 255, 0.15); }
.dashboard-btn svg { width: 1rem; height: 1rem; }
.dashboard-section { margin-bottom: 2rem; }
.dashboard-section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.dashboard-section-title { font-size: 1rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px; }
.dashboard-activity { background: linear-gradient(rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%); backdrop-filter: blur(20px); border: 1px solid var(--dash-glass-border); border-radius: 1rem; overflow: hidden; box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 20px; position: relative; }
.dashboard-activity::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); z-index: 1; }
.dashboard-activity-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--dash-border); display: flex; align-items: center; justify-content: space-between; }
.dashboard-activity-title { font-size: 1rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px; }
.dashboard-activity-badge { font-size: 0.75rem; font-weight: 500; padding: 0.25rem 0.625rem; border-radius: 9999px; background: var(--dash-accent-bg); color: var(--dash-accent); }
.dashboard-activity-item { display: flex; align-items: center; gap: 0.875rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--dash-border); }
.dashboard-activity-item:last-child { border-bottom: none; }
.dashboard-activity-icon { width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: var(--dash-accent-bg); display: flex; align-items: center; justify-content: center; color: var(--dash-accent); flex-shrink: 0; }
.dashboard-activity-icon svg { width: 1.125rem; height: 1.125rem; }
.dashboard-activity-content { flex: 1 1 0%; }
.dashboard-activity-text { font-size: 0.875rem; font-weight: 500; color: var(--dash-text-primary); margin: 0px 0px 0.125rem; }
.dashboard-activity-time { font-size: 0.75rem; color: var(--dash-text-muted); }
@media (max-width: 1024px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; min-height: auto; position: relative; top: 0px; display: none; }
  .dashboard-sidebar.open { display: flex; }
  .dashboard-main { min-height: auto; }
}
@media (max-width: 640px) {
  .dashboard-layout { padding: 0.75rem; gap: 0.75rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-product-grid { grid-template-columns: 1fr; }
  .dashboard-product-card { flex-direction: column; text-align: center; }
  .dashboard-product-actions { width: 100%; justify-content: center; }
  .dashboard-welcome-title { font-size: 1.25rem; }
  .dashboard-content { padding: 1rem; }
}
.dashboard-menu-toggle { display: none; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--dash-border); color: var(--dash-text-primary); padding: 0.5rem; cursor: pointer; border-radius: 0.5rem; }
@media (max-width: 1024px) {
  .dashboard-menu-toggle { display: flex; align-items: center; justify-content: center; }
}
.dashboard-layout { user-select: none; }
.dashboard-nav::-webkit-scrollbar, .dashboard-content::-webkit-scrollbar { width: 3px; }
.dashboard-nav::-webkit-scrollbar-track, .dashboard-content::-webkit-scrollbar-track { background: transparent; }
.dashboard-nav::-webkit-scrollbar-thumb, .dashboard-content::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.08); border-radius: 2px; }
.dashboard-table-card { background: transparent; border-radius: 0px; overflow: hidden auto; margin-bottom: 2rem; max-height: 300px; }
.dashboard-table-desktop { display: block; }
.dashboard-license-cards { display: none; flex-direction: column; gap: 1rem; }
@media (max-width: 768px) {
  .dashboard-table-desktop { display: none; }
  .dashboard-license-cards { display: flex; }
}
.dashboard-table-card::-webkit-scrollbar { width: 6px; }
.dashboard-table-card::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }
.dashboard-table-card::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 3px; }
.dashboard-table-card::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
.dashboard-table { width: 100%; border-collapse: collapse; }
.dashboard-table th { text-align: left; padding: 0.75rem 1.5rem 0.75rem 0px; font-size: 0.75rem; font-weight: 500; color: var(--dash-text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid rgba(255, 255, 255, 0.1); white-space: nowrap; }
.dashboard-table td { padding: 1rem 1.5rem 1rem 0px; font-size: 0.9375rem; color: var(--dash-text-primary); border-bottom: 1px solid rgba(255, 255, 255, 0.06); white-space: nowrap; }
.dashboard-table th:last-child, .dashboard-table td:last-child { padding-right: 0px; }
.dashboard-table tbody tr:last-child td { border-bottom: none; }
.dashboard-table tbody tr:hover td { color: var(--dash-accent); }
.dashboard-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; padding: 0.25rem 0.5rem; font-size: 0.8125rem; font-weight: 600; border-radius: 0.375rem; }
.dashboard-badge.active { background: rgba(34, 197, 94, 0.2); color: rgb(34, 197, 94); }
.dashboard-badge.inactive { background: rgba(156, 163, 175, 0.2); color: rgb(156, 163, 175); }
.dashboard-badge.expired { background: rgba(239, 68, 68, 0.2); color: rgb(239, 68, 68); }
.dashboard-table-btn { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 0.375rem; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15); color: var(--dash-text-secondary); cursor: pointer; transition: all 0.2s ease 0s; }
.dashboard-table-btn:hover { background: rgba(255, 255, 255, 0.15); color: var(--dash-text-primary); }
.dashboard-cards-row { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.dashboard-card-compact { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1.25rem; background: linear-gradient(rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%); backdrop-filter: blur(16px); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; position: relative; }
.dashboard-card-compact::before { content: ""; position: absolute; top: 0px; left: 0px; right: 0px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent); }
.dashboard-card-icon-sm { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; flex-shrink: 0; }
.dashboard-card-icon-sm.cyan { background: rgba(34, 211, 238, 0.15); color: var(--dash-accent); }
.dashboard-card-icon-sm.amber { background: rgba(251, 191, 36, 0.15); color: rgb(251, 191, 36); }
.dashboard-card-icon-sm svg { width: 20px; height: 20px; }
.dashboard-card-content { display: flex; flex-direction: column; gap: 0.125rem; }
.dashboard-card-label { font-size: 0.75rem; color: var(--dash-text-muted); }
.dashboard-card-number { font-size: 1.125rem; font-weight: 600; color: var(--dash-text-primary); }
.dashboard-card-link-inline { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; font-weight: 500; color: var(--dash-accent); text-decoration: none; transition: opacity 0.2s ease 0s; }
.dashboard-card-link-inline:hover { opacity: 0.8; }
.dashboard-card-link { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--dash-accent); text-decoration: none; margin-top: 0.5rem; transition: opacity 0.2s ease 0s; }
.dashboard-card-link:hover { opacity: 0.8; }
.dashboard-table-scroll { overflow-x: auto; }
.dashboard-table-scroll .dashboard-table { min-width: 1000px; }
.licence-serial { font-family: "Fira Code", monospace; font-size: 0.8125rem; }
.dashboard-section-header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.dashboard-section-header-row .dashboard-section-title { margin-bottom: 0px; }
.licence-account-card { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 1.25rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; margin-bottom: 1.5rem; }
.licence-account-email { display: flex; align-items: center; gap: 0.5rem; color: var(--dash-text-primary); font-size: 0.875rem; font-weight: 500; }
.licence-account-email svg { color: var(--dash-accent); opacity: 0.8; }
.licence-account-stats { display: flex; gap: 1.5rem; flex: 1 1 0%; }
.licence-stat { display: flex; flex-direction: column; align-items: center; gap: 0.125rem; }
.licence-stat-value { font-size: 1.25rem; font-weight: 700; color: var(--dash-text-primary); }
.licence-stat-value.accent { color: var(--dash-accent); }
.licence-stat-value.muted { color: var(--dash-text-muted); }
.licence-stat-label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dash-text-muted); }
.licence-section-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; padding: 1rem; margin-bottom: 1rem; }
.licence-section-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.licence-section-header svg { color: var(--dash-accent); opacity: 0.8; }
.licence-section-header span { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dash-text-primary); }
.licence-section-header .licence-filter-tabs { margin-left: auto; }
.licence-btn-add-inline { margin-left: auto; background: rgba(255, 255, 255, 0.08); color: var(--dash-text-secondary); border: 1px solid var(--dash-glass-border); padding: 0.25rem 0.5rem; font-size: 0.6875rem; }
.licence-btn-add-inline:hover { background: rgba(255, 255, 255, 0.12); color: var(--dash-text-primary); }
.licence-btn-add-inline-modal { margin-left: auto; background: rgba(255, 255, 255, 0.08); color: var(--dash-text-secondary); border: 1px solid var(--dash-glass-border); padding: 0.25rem 0.5rem; font-size: 0.6875rem; display: flex; align-items: center; gap: 0.25rem; }
.licence-btn-add-inline-modal:hover { background: rgba(255, 255, 255, 0.12); color: var(--dash-text-primary); }
.licence-plus-icon svg { stroke: var(--dash-accent); }
.licence-section-card .dashboard-table-card { background: transparent; border: none; padding: 0px; }
.licence-filter-tabs { display: flex; gap: 0.25rem; background: rgba(255, 255, 255, 0.05); border-radius: 0.375rem; padding: 0.125rem; }
.licence-filter-tab { padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 500; color: var(--dash-text-muted); background: transparent; border: none; border-radius: 0.375rem; cursor: pointer; white-space: nowrap; transition: all 0.2s ease 0s; }
.licence-filter-tab:hover { color: var(--dash-text-secondary); }
.licence-filter-tab.active { background: rgba(255, 255, 255, 0.1); color: var(--dash-text-primary); }
.licence-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.375rem; padding: 0.375rem 0.75rem; font-size: 0.75rem; font-weight: 500; border-radius: 0.375rem; border: none; cursor: pointer; transition: all 0.2s ease 0s; }
.licence-btn-charge { background: rgba(34, 211, 238, 0.15); color: var(--dash-accent); border: 1px solid rgba(34, 211, 238, 0.3); }
.licence-btn-charge:hover { background: rgba(34, 211, 238, 0.25); }
.licence-btn-orange { background: rgba(251, 146, 60, 0.9); color: rgb(255, 255, 255); border: 1px solid rgb(251, 146, 60); }
.licence-btn-orange svg { stroke: rgb(255, 255, 255); }
.licence-btn-orange:hover { background: rgb(251, 146, 60); }
.download-cards { flex-direction: column; gap: 0.75rem; padding: 0.75rem; }
.download-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--dash-glass-border); border-radius: 8px; }
.download-card-name { font-size: 0.9rem; font-weight: 500; color: var(--dash-text-primary); }
.download-card-date { font-size: 0.8rem; color: var(--dash-text-secondary); }
.download-card-btn { align-self: flex-start; margin-top: 0.5rem; }
.licence-accordion { flex-direction: column; }
.licence-accordion-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--dash-glass-border); border-radius: 8px; color: var(--dash-text-primary); cursor: pointer; font-size: 0.9rem; font-weight: 500; }
.licence-accordion-toggle svg { transition: transform 0.2s ease 0s; }
.licence-accordion-toggle.open svg { transform: rotate(180deg); }
.licence-accordion-content { flex-direction: column; gap: 0.75rem; padding: 0.75rem 1rem 1rem; }
.licence-accordion-mobile-actions { display: flex; justify-content: flex-end; margin-bottom: 0.5rem; }
.licence-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; padding: 0.5rem 0px; }
@media (max-width: 768px) {
  .licence-cards-grid { grid-template-columns: 1fr; }
}
.licence-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--dash-glass-border); border-radius: 8px; }
.licence-card-header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.licence-card-product { font-size: 0.95rem; font-weight: 600; color: var(--dash-text-primary); }
.licence-card-remaining { font-size: 0.85rem; font-weight: 600; color: var(--dash-accent); background: rgba(34, 211, 238, 0.1); padding: 0.25rem 0.5rem; border-radius: 4px; }
.licence-card-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.85rem; }
.licence-card-label { color: var(--dash-text-secondary); }
.licence-card-value { color: var(--dash-text-primary); text-align: right; }
.licence-serial-small { font-family: "Fira Code", monospace; font-size: 0.75rem; }
.licence-card-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--dash-glass-border); }
.licence-btn-ghost { background: transparent; color: var(--dash-text-secondary); border: 1px solid var(--dash-glass-border); }
.licence-btn-ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--dash-text-primary); }
.licence-btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.licence-section-accordion { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1rem 1.25rem; background: transparent; border: none; color: var(--dash-text-primary); cursor: pointer; font-size: 1rem; font-weight: 600; }
.licence-section-accordion svg { transition: transform 0.2s ease 0s; color: var(--dash-text-secondary); }
.licence-section-accordion svg.rotated { transform: rotate(180deg); }
.licence-section-accordion-left { display: flex; align-items: center; gap: 0.75rem; }
.licence-section-accordion-left svg { color: var(--dash-accent); }
.licence-section-accordion-wrapper { display: flex; align-items: center; justify-content: space-between; padding-right: 1rem; }
.licence-section-accordion-wrapper .licence-section-accordion { flex: 1 1 0%; }
.licence-btn-add-inline svg { color: var(--dash-accent); }
.licence-accordion-add-btn { width: 100%; margin-bottom: 0.75rem; justify-content: center; }
.licence-filter-tabs-mobile { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.licence-filter-tabs-mobile .licence-filter-tab { flex: 1 1 0%; text-align: center; }
.licence-section-accordion .rotated { transform: rotate(180deg); }
.licence-section-accordion span { transition: transform 0.2s ease 0s; }
.licence-details-accordion { border: none; display: none !important; }
.licence-details-accordion > summary { list-style: none; }
.licence-details-accordion > summary::-webkit-details-marker { display: none; }
.licence-details-accordion > summary .licence-accordion-chevron { display: inline-flex; transition: transform 0.2s ease; }
.licence-details-accordion[open] > summary .licence-accordion-chevron { transform: rotate(180deg); }
.licence-modal-cards { flex-direction: column; gap: 0.75rem; }
.licence-btn-full { width: 100%; justify-content: center; }
.licence-card-actions-right { justify-content: flex-end; }
.licence-add-account-wrapper { display: flex; justify-content: flex-end; margin-top: 1rem; }
.licence-btn-add-account-modal { margin-left: auto; }
.licence-modal-warning-spaced { margin-top: 1rem; margin-bottom: 1rem; }
.licence-products-grid-modal { margin-bottom: 1.5rem; }
.licence-modal-serial .dashboard-table-card { overflow-x: auto; }
.dashboard-table-btn.rotated { transform: rotate(180deg); }
.dashboard-table-btn { transition: transform 0.2s ease 0s; }
.licence-hid-info-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.25rem 1rem 0.25rem 0px; }
.licence-hid-info-row .licence-hid-label { min-width: 120px; font-weight: 500; color: var(--dash-text-secondary); margin-left: -1rem; }
.licence-hid-info-row .licence-hid-number { flex: 1 1 0%; min-width: 150px; font-family: "Fira Code", "Geist Mono", monospace; font-size: 0.8125rem; color: var(--dash-text-muted); }
.licence-hid-info-row .dashboard-badge { flex-shrink: 0; margin-right: 0.5rem; }
.licence-serial-cards { display: none; flex-direction: column; gap: 0.75rem; }
@media (max-width: 1024px) {
  .licence-serial-cards.mobile-only { display: flex; }
}
.licence-serial-card { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; overflow: hidden; }
.licence-serial-card-header { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.02); }
.licence-serial-card-num { font-size: 0.875rem; font-weight: 600; color: var(--dash-text-muted); min-width: 1.5rem; }
.licence-serial-card-value { flex: 1 1 0%; font-family: "Fira Code", "Geist Mono", monospace; font-size: 0.8125rem; color: var(--dash-text-primary); word-break: break-all; }
.licence-serial-hid-list { border-top: 1px solid var(--dash-glass-border); }
.licence-serial-hid-item { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.licence-serial-hid-item:last-child { border-bottom: none; }
.licence-serial-hid-name { font-size: 0.8125rem; font-weight: 500; color: var(--dash-text-secondary); }
.licence-serial-hid-number { font-family: "Fira Code", "Geist Mono", monospace; font-size: 0.75rem; color: var(--dash-text-muted); word-break: break-all; }
.licence-serial-hid-item .dashboard-badge { align-self: flex-start; margin-top: 0.25rem; }
.licence-btn-use { background: rgba(34, 197, 94, 0.15); color: rgb(34, 197, 94); border: 1px solid rgba(34, 197, 94, 0.3); }
.licence-btn-use:hover { background: rgba(34, 197, 94, 0.25); }
.licence-btn-buy { background: var(--dash-accent); color: rgb(15, 23, 42); padding: 0.5rem 1rem; }
.licence-btn-buy:hover { background: var(--dash-accent-light); }
.licence-btn-add { background: rgba(255, 255, 255, 0.1); color: var(--dash-text-primary); border: 1px solid var(--dash-glass-border); margin-top: 1rem; }
.licence-btn-add:hover { background: rgba(255, 255, 255, 0.15); }
.licence-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--dash-glass-border), transparent); margin: 1.5rem 0px; }
.licence-products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.licence-product-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.25rem 1rem; background: linear-gradient(rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; text-align: center; }
.licence-product-name { font-size: 0.875rem; font-weight: 500; color: var(--dash-text-primary); }
.licence-product-price { font-size: 1.25rem; font-weight: 700; color: var(--dash-accent); }
.licence-notes { margin-top: 2rem; padding: 1rem; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.2); border-radius: 0.5rem; }
.licence-notes p { font-size: 0.8125rem; color: rgba(251, 191, 36, 0.9); margin: 0px; line-height: 1.6; }
.licence-notes p + p { margin-top: 0.5rem; }
.modal-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.modal-content { background: linear-gradient(rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%); border: 1px solid var(--dash-glass-border); border-radius: 1rem; width: 100%; max-width: 480px; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--dash-glass-border); }
.modal-title { font-size: 1.125rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px; }
.modal-close { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 0.5rem; color: var(--dash-text-secondary); cursor: pointer; transition: all 0.2s ease 0s; }
.modal-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--dash-text-primary); }
.settings-modal { max-width: 420px; }
.settings-tabs { display: flex; border-bottom: 1px solid var(--dash-glass-border); }
.settings-tab { flex: 1 1 0%; padding: 1rem; background: transparent; border: none; color: var(--dash-text-secondary); font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease 0s; position: relative; }
.settings-tab:hover { color: var(--dash-text-primary); background: rgba(255, 255, 255, 0.05); }
.settings-tab.active { color: var(--dash-accent); }
.settings-tab.active::after { content: ""; position: absolute; bottom: 0px; left: 0px; right: 0px; height: 2px; background: var(--dash-accent); }
.settings-form { padding: 1.5rem; }
.settings-form-content { display: flex; flex-direction: column; gap: 1.25rem; }
.settings-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.settings-label { font-size: 0.8125rem; font-weight: 500; color: var(--dash-text-secondary); }
.settings-current-value { font-size: 0.9375rem; color: var(--dash-text-primary); padding: 0.625rem 0.875rem; background: rgba(255, 255, 255, 0.05); border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.1); }
.settings-input { font-size: 0.9375rem; color: var(--dash-text-primary); padding: 0.75rem 1rem; background: rgba(255, 255, 255, 0.05); border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.15); outline: none; transition: all 0.2s ease 0s; }
.settings-input::placeholder { color: var(--dash-text-muted); }
.settings-input:focus { border-color: var(--dash-accent); background: rgba(255, 255, 255, 0.08); }
.settings-submit { margin-top: 0.5rem; padding: 0.875rem 1.5rem; background: var(--dash-accent); color: rgb(0, 0, 0); font-size: 0.9375rem; font-weight: 600; border: none; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s ease 0s; }
.settings-submit:hover { background: var(--dash-accent-light); }
@media (max-width: 480px) {
  .settings-modal { max-width: 100%; max-height: 100vh; border-radius: 0px; }
  .settings-tab { font-size: 0.8125rem; padding: 0.875rem 0.5rem; }
}
.licence-modal-overlay { position: fixed; inset: 0px; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.licence-modal { background: linear-gradient(rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%); border: 1px solid var(--dash-glass-border); border-radius: 1rem; width: 100%; max-width: 480px; max-height: 80vh; overflow: hidden; display: flex; flex-direction: column; box-shadow: rgba(0, 0, 0, 0.5) 0px 20px 60px; }
.licence-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--dash-glass-border); }
.licence-modal-title { font-size: 1.125rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px; }
.licence-modal-close { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 0.5rem; color: var(--dash-text-secondary); cursor: pointer; transition: all 0.2s ease 0s; }
.licence-modal-close:hover { background: rgba(255, 255, 255, 0.15); color: var(--dash-text-primary); }
.licence-modal-content { padding: 1.5rem; overflow-y: auto; }
.licence-modal-section { margin-bottom: 1.5rem; }
.licence-modal-section:last-child { margin-bottom: 0px; }
.licence-modal-section-title { font-size: 0.875rem; font-weight: 600; color: var(--dash-text-secondary); margin: 0px 0px 1rem; }
.licence-products-grid-modal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.licence-product-card-v2 { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; padding: 1rem 0.75rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--dash-glass-border); border-radius: 0.75rem; text-align: center; position: relative; }
.licence-product-card-v2.highlight { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.3); }
.licence-product-label { position: absolute; top: -0.5rem; left: 50%; transform: translateX(-50%); padding: 0.125rem 0.5rem; font-size: 0.625rem; font-weight: 600; background: var(--dash-accent); color: rgb(15, 23, 42); border-radius: 0.25rem; white-space: nowrap; }
.licence-product-card-v2 .licence-product-name { font-size: 0.75rem; font-weight: 500; color: var(--dash-text-secondary); margin-top: 0.25rem; }
.licence-product-card-v2 .licence-product-price { font-size: 1.25rem; font-weight: 700; color: var(--dash-text-primary); }
.licence-product-monthly { font-size: 0.6875rem; color: var(--dash-text-muted); margin-bottom: 0.5rem; }
.licence-product-card-v2.highlight .licence-product-monthly { color: var(--dash-accent); }
.licence-product-card-v2 .licence-btn-buy { width: 100%; padding: 0.375rem 0.5rem; font-size: 0.6875rem; }
@media (max-width: 700px) {
  .licence-products-grid-modal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 450px) {
  .licence-products-grid-modal { grid-template-columns: 1fr; }
}
.licence-modal-sm { max-width: 400px; }
.licence-modal-serial { max-width: 580px; }
.licence-modal-lg { max-width: 800px; }
@media (max-width: 768px) {
  .licence-modal-mobile-fullscreen { padding: 0px; align-items: stretch; }
  .licence-modal-mobile-fullscreen .licence-modal { max-width: 100%; max-height: 100%; height: 100%; border-radius: 0px; border: none; }
  .licence-modal-mobile-fullscreen .licence-modal-content { flex: 1 1 0%; overflow-y: auto; }
  .licence-products-grid-modal { grid-template-columns: repeat(2, 1fr); }
}
.licence-product-bonus { font-size: 0.75rem; font-weight: 600; color: rgb(34, 197, 94); margin-bottom: 0.5rem; }
.licence-form-group { margin-bottom: 1rem; }
.licence-form-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--dash-text-secondary); margin-bottom: 0.5rem; }
.licence-form-input { width: 100%; padding: 0.625rem 0.875rem; font-size: 0.875rem; color: var(--dash-text-primary); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--dash-glass-border); border-radius: 0.5rem; outline: none; transition: all 0.2s ease 0s; }
.licence-form-input:focus { border-color: var(--dash-accent); background: rgba(255, 255, 255, 0.08); }
.licence-form-input::placeholder { color: var(--dash-text-muted); }
.licence-password-wrapper { position: relative; display: flex; align-items: center; }
.licence-password-input { padding-right: 2.5rem; }
.licence-password-toggle { position: absolute; right: 0.625rem; display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; background: transparent; border: none; color: var(--dash-text-muted); cursor: pointer; border-radius: 0.25rem; transition: color 0.2s ease 0s; }
.licence-password-toggle:hover { color: var(--dash-text-primary); }
.licence-form-hint { display: block; margin-top: 0.375rem; font-size: 0.75rem; color: var(--dash-text-muted); }
.licence-modal-actions { margin-top: 1.5rem; display: flex; gap: 0.75rem; }
.licence-modal-actions-split { justify-content: space-between; }
.licence-modal-warning { margin-top: 1rem; padding: 0.75rem 1rem; background: rgba(251, 191, 36, 0.1); border: 1px solid rgba(251, 191, 36, 0.3); border-radius: 0.5rem; }
.licence-modal-warning p { margin: 0px; font-size: 0.8125rem; color: rgba(251, 191, 36, 0.9); }
.licence-modal-add-btn { margin-top: 0.75rem; }
.licence-btn-full { width: 100%; justify-content: center; }
.licence-btn-primary { background: var(--dash-accent); color: rgb(255, 255, 255); border: 1px solid var(--dash-accent); font-weight: 600; }
.licence-btn-danger { background: rgba(239, 68, 68, 0.2); color: rgb(239, 68, 68); border: 1px solid rgba(239, 68, 68, 0.4); }
.licence-hid-row { background: rgba(255, 255, 255, 0.02); }
.licence-hid-cell { font-size: 0.8125rem; color: var(--dash-text-secondary); padding-left: 0px !important; }
.licence-hid-label { color: var(--dash-text-primary); font-weight: 500; min-width: 110px; }
.licence-hid-info { display: flex; align-items: center; gap: 1.5rem; width: 100%; }
.licence-hid-info .dashboard-badge { margin-left: auto; margin-right: 0.5rem; }
.licence-hid-label { color: var(--dash-text-primary); font-weight: 500; min-width: 120px; flex-shrink: 0; }
.licence-hid-number { color: var(--dash-text-secondary); font-size: 0.8125rem; }
.dashboard-badge-sm { font-size: 0.6875rem; padding: 0.125rem 0.5rem; }

/* ------------------------------------------------------------
 * レスポンシブ（サイドバー・ヘッダー）
 * Responsive: sidebar and header layout changes
 * ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .dashboard-sidebar { position: fixed; left: -280px; top: 0px; height: 100vh; z-index: 1000; transition: left 0.3s ease 0s; border-radius: 0px; }
  .dashboard-sidebar.open { left: 0px; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-main { margin-left: 0px; }
  .dashboard-menu-toggle { display: flex; align-items: center; justify-content: center; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); border-radius: 8px; padding: 8px; color: var(--dash-text-primary); cursor: pointer; }
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .licence-details-accordion { display: block !important; }
  .dashboard-header-logo { display: flex; align-items: center; }
  .dashboard-sidebar-logout { display: block; }
}
@media (max-width: 768px) {
  .dashboard-layout { height: 100vh; overflow: hidden; }
  .dashboard-main { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
  .dashboard-header { padding: 0.75rem 1rem; gap: 0.5rem; flex-shrink: 0; }
  .dashboard-header-title { font-size: 1rem; }
  .dashboard-header-actions { gap: 0.5rem; }
  .dashboard-lang-toggle { display: none; }
  .sidebar-lang-toggle { display: flex; }
  .dashboard-btn span { display: none; }
  .dashboard-btn { padding: 0.5rem; }
  .dashboard-content { padding: 1rem; gap: 1rem; flex: 1 1 0%; overflow-y: auto; }
  .licence-section-card { padding: 1rem; }
  .licence-section-header { font-size: 0.8125rem; padding: 0.5rem 0.75rem; margin-bottom: 0.75rem; }
  .dashboard-table-card { overflow-x: auto; margin-left: -0.5rem; margin-right: -0.5rem; padding-left: 0.5rem; padding-right: 0.5rem; }
  .dashboard-table { min-width: 600px; }
  .dashboard-table th, .dashboard-table td { padding: 0.5rem 0.375rem; font-size: 0.75rem; }
  .dashboard-table th:first-child, .dashboard-table td:first-child { padding-left: 0.5rem; }
  .licence-btn { padding: 0.375rem 0.625rem; font-size: 0.6875rem; }
  .licence-btn svg { width: 12px; height: 12px; }
  .licence-filter-tabs { flex-wrap: wrap; gap: 0.25rem; }
  .licence-filter-tab { padding: 0.25rem 0.5rem; font-size: 0.6875rem; }
  .licence-section-header-row { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .licence-section-header-row .licence-filter-tabs { width: 100%; }
  .licence-products-grid, .licence-products-grid-modal { grid-template-columns: 1fr; }
  .licence-modal { width: 95%; max-width: none; max-height: 90vh; margin: 1rem; }
  .licence-modal-sm { width: 95%; }
  .licence-modal-header { padding: 1rem; }
  .licence-modal-title { font-size: 1rem; }
  .licence-modal-content { padding: 1rem; }
  .licence-modal-section-title { font-size: 0.8125rem; }
  .dashboard-user { padding: 0.75rem 1rem; }
  .dashboard-user-name { font-size: 0.8125rem; }
  .dashboard-user-email { font-size: 0.6875rem; }
}
@media (max-width: 480px) {
  .dashboard-header-title { font-size: 0.875rem; }
  .dashboard-table { min-width: 500px; }
  .licence-section-header { font-size: 0.75rem; }
  .licence-section-header svg { width: 12px; height: 12px; }
}

/* ------------------------------------------------------------
 * ステートリンク（①②切り替え）
 * State switching links (① ②)
 * ------------------------------------------------------------ */
.dashboard-state-link { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 6px; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); color: var(--dash-text-secondary); font-size: 0.875rem; font-weight: 600; text-decoration: none; transition: all 0.2s ease 0s; }
.dashboard-state-link:hover { background: var(--dash-glass-strong); color: var(--dash-text-primary); }
.dashboard-state-link.active { background: var(--dash-accent); color: rgb(0, 0, 0); border-color: var(--dash-accent); }

/* ------------------------------------------------------------
 * Welcome画面：はじめに手順
 * Getting Started steps
 * ------------------------------------------------------------ */
.getting-started-list { display: flex; flex-direction: column; gap: 8px; }
.getting-started-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); border-radius: 8px; backdrop-filter: blur(12px); }
.getting-started-item.completed { border-color: rgba(34, 211, 238, 0.3); background: rgba(34, 211, 238, 0.05); }
.step-number-sm { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; min-width: 28px; border-radius: 50%; background: var(--dash-glass-strong); border: 2px solid var(--dash-glass-border); color: var(--dash-text-primary); font-size: 0.875rem; font-weight: 700; }
.getting-started-item.completed .step-number-sm { background: rgba(34, 211, 238, 0.15); border-color: var(--dash-accent); color: var(--dash-accent); }
.step-text { flex: 1 1 0%; }
.step-title-inline { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dash-text-primary); }
.step-desc-inline { display: block; font-size: 0.75rem; color: var(--dash-text-secondary); margin-top: 2px; }
.dashboard-welcome.centered { text-align: center; }

/* ------------------------------------------------------------
 * Welcome画面：商品プランカード
 * Product plan cards
 * ------------------------------------------------------------ */
.product-plans-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 768px) {
  .product-plans-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 15px; padding-bottom: 8px; gap: 12px; scrollbar-width: none; margin-right: -1rem; padding-right: 1rem; }
  .product-plans-grid::-webkit-scrollbar { display: none; }
  .product-plan-card { flex: 0 0 260px; scroll-snap-align: start; }
}
.product-plan-card { position: relative; padding: 24px 20px 20px; background: var(--dash-glass); border: 1px solid var(--dash-glass-border); border-radius: 16px; backdrop-filter: blur(12px); display: flex; flex-direction: column; cursor: pointer; transition: all 0.2s ease 0s; }
.product-plan-card:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.25); transform: translateY(-2px); }
.product-plan-card.popular { border: 2px solid var(--dash-accent); box-shadow: rgba(34, 211, 238, 0.15) 0px 0px 30px; }
.product-plan-card.recommended { border: 2px solid rgb(52, 211, 153); box-shadow: rgba(52, 211, 153, 0.15) 0px 0px 30px; }
.product-plan-card.mobile { border: 2px solid rgb(168, 85, 247); box-shadow: rgba(168, 85, 247, 0.15) 0px 0px 30px; }
.plan-badge { position: absolute; top: 0px; left: 50%; transform: translate(-50%, -50%); padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; color: white; }
.plan-badge.popular { background: linear-gradient(135deg, var(--dash-accent), #3b82f6); }
.plan-badge.recommended { background: linear-gradient(135deg, rgb(52, 211, 153), rgb(20, 184, 166)); }
.plan-badge.mobile { background: linear-gradient(135deg, rgb(168, 85, 247), rgb(139, 92, 246)); }
.plan-header { margin-bottom: 16px; }
.plan-name { font-size: 1rem; font-weight: 700; color: var(--dash-text-primary); }
.plan-name.cyan { color: var(--dash-accent); }
.plan-name.emerald { color: rgb(52, 211, 153); }
.plan-name.purple { color: rgb(168, 85, 247); }
.plan-price { font-size: 2.5rem; font-weight: 700; color: var(--dash-text-primary); line-height: 1; }
.plan-per-month { font-size: 1rem; color: var(--dash-text-secondary); margin-top: 8px; margin-bottom: 20px; }
.plan-per-month.cyan { color: var(--dash-accent); }
.plan-per-month.emerald { color: rgb(52, 211, 153); }
.plan-per-month.purple { color: rgb(168, 85, 247); }
.plan-features { flex: 1 1 0%; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--dash-glass-border); }
.plan-feature { display: flex; justify-content: space-between; gap: 8px; font-size: 0.875rem; }
.feature-label { color: var(--dash-text-secondary); }
.feature-value { color: var(--dash-text-primary); font-weight: 600; }
.feature-value.muted { color: var(--dash-text-muted); font-weight: 400; }
.feature-value.cyan { color: var(--dash-accent); }
.feature-value.emerald { color: rgb(52, 211, 153); }
.feature-value.purple { color: rgb(168, 85, 247); }
.plan-button { margin-top: 20px; padding: 12px 16px; border-radius: 10px; font-size: 0.875rem; font-weight: 600; color: var(--dash-text-primary); background: var(--dash-glass-strong); border: 1px solid var(--dash-glass-border); cursor: pointer; transition: all 0.2s ease 0s; }
.plan-button:hover { background: rgba(255, 255, 255, 0.2); }
.plan-button.primary { background: linear-gradient(135deg, var(--dash-accent), #3b82f6); border: none; color: rgb(0, 0, 0); }
.plan-button.primary:hover { opacity: 0.9; }
.plan-button.success { background: linear-gradient(135deg, rgb(52, 211, 153), rgb(20, 184, 166)); border: none; color: rgb(0, 0, 0); }
.plan-button.success:hover { opacity: 0.9; }
.plan-button.purple { background: linear-gradient(135deg, rgb(168, 85, 247), rgb(139, 92, 246)); border: none; color: rgb(255, 255, 255); }
.plan-button.purple:hover { opacity: 0.9; }
.product-note { text-align: center; font-size: 0.75rem; color: var(--dash-text-muted); margin-top: 20px; }
@media (max-width: 1200px) {
  .product-plans-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .product-plans-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-plans-grid { grid-template-columns: 1fr; }
  .getting-started-item { padding: 8px 12px; }
  .step-number-sm { width: 24px; height: 24px; min-width: 24px; font-size: 0.75rem; }
  .step-title-inline { font-size: 0.8rem; }
}

/* ------------------------------------------------------------
 * お問い合わせページ
 * Contact form page
 * ------------------------------------------------------------ */
.contact-main { flex: 1 1 0%; display: flex; align-items: center; justify-content: center; padding: 2rem; min-height: calc(-80px + 100vh); }
.contact-container { width: 100%; max-width: 520px; background: linear-gradient(rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%); border: 1px solid var(--dash-glass-border); border-radius: 1rem; padding: 2.5rem; backdrop-filter: blur(12px); box-shadow: rgba(0, 0, 0, 0.4) 0px 20px 60px; }
.contact-title { font-size: 1.75rem; font-weight: 700; color: var(--dash-text-primary); margin: 0px 0px 0.5rem; text-align: center; }
.contact-subtitle { font-size: 0.9375rem; color: var(--dash-text-secondary); text-align: center; margin: 0px 0px 2rem; line-height: 1.6; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.contact-label { font-size: 0.875rem; font-weight: 500; color: var(--dash-text-secondary); }
.contact-input { padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0.5rem; color: var(--dash-text-primary); font-size: 0.9375rem; outline: none; transition: all 0.2s ease 0s; }
.contact-input::placeholder { color: var(--dash-text-muted); }
.contact-input:focus { border-color: var(--dash-accent); background: rgba(255, 255, 255, 0.08); }
.contact-textarea { padding: 0.875rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 0.5rem; color: var(--dash-text-primary); font-size: 0.9375rem; outline: none; transition: all 0.2s ease 0s; resize: vertical; min-height: 120px; font-family: inherit; }
.contact-textarea::placeholder { color: var(--dash-text-muted); }
.contact-textarea:focus { border-color: var(--dash-accent); background: rgba(255, 255, 255, 0.08); }
.contact-submit { margin-top: 0.5rem; padding: 1rem 1.5rem; background: var(--dash-accent); color: rgb(0, 0, 0); font-size: 1rem; font-weight: 600; border: none; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s ease 0s; }
.contact-submit:hover { background: var(--dash-accent-light); }
.contact-success { text-align: center; padding: 2rem 0px; }
.contact-success-icon { color: rgb(52, 211, 153); margin-bottom: 1.5rem; }
.contact-success-title { font-size: 1.5rem; font-weight: 600; color: var(--dash-text-primary); margin: 0px 0px 0.75rem; }
.contact-success-message { font-size: 0.9375rem; color: var(--dash-text-secondary); margin: 0px 0px 2rem; line-height: 1.6; }
.contact-back-btn { display: inline-block; padding: 0.875rem 2rem; background: var(--dash-accent); color: rgb(0, 0, 0); font-size: 0.9375rem; font-weight: 600; border-radius: 0.5rem; text-decoration: none; transition: all 0.2s ease 0s; }
.contact-back-btn:hover { background: var(--dash-accent-light); }
@media (max-width: 768px) {
  .contact-main { padding: 2rem 1rem 1rem; align-items: flex-start; }
  .contact-container { padding: 1.5rem; }
  .contact-title { font-size: 1.5rem; }
}


