@charset "UTF-8";
/* このファイル内、または style タグ内に記述 */
/* line 7, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-container {
  padding: 20px;
  background-color: #f9fbff;
  /* 画面全体の背景を少し変えて特別感を出す */
  font-family: sans-serif;
}

/* カードスタイル */
/* line 14, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  padding: 20px;
  border-left: 5px solid #eee;
}

/* line 23, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-card:nth-of-type(1) {
  border-left-color: #764ba2;
}

/* AI抽出 */
/* line 24, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-card:nth-of-type(2) {
  border-left-color: #2193b0;
}

/* SERP補完 */
/* line 26, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* line 32, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-icon-purple {
  color: #764ba2;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* line 33, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-icon-blue {
  color: #2193b0;
  margin-right: 10px;
  font-size: 1.2rem;
}

/* line 35, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-headline {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
  color: #333;
}

/* スタッツ */
/* line 43, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-stats {
  margin-bottom: 20px;
}

/* line 46, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-label {
  font-size: 0.8rem;
  color: #777;
  margin-right: 10px;
}

/* line 47, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-count {
  font-size: 1.4rem;
  color: #333;
}

/* line 48, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-subtext {
  font-size: 0.75rem;
  color: #999;
  margin-left: 8px;
}

/* ボタン（専用） */
/* line 51, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

/* line 62, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn-primary {
  background: #764ba2;
  color: white;
}

/* line 63, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn-secondary {
  background: #2193b0;
  color: white;
}

/* line 64, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* line 65, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

/* ===== Okurite Flash Notification System ===== */
/* line 73, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.app-flash-container {
  padding: 20px 0 0 0;
  background: transparent;
  /* 親の背景黒をそのまま活かす */
}

/* line 78, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.app-flash {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 15px auto;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: flashFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

/* Notice: 深みのあるエレクトリックブルーの透過ブレンドと発光 */
/* line 95, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.app-flash-notice {
  background: linear-gradient(135deg, rgba(0, 162, 255, 0.2) 0%, rgba(0, 80, 255, 0.15) 100%);
  border: 1px solid rgba(0, 162, 255, 0.5);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 162, 255, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 162, 255, 0.25), inset 0 0 15px rgba(0, 162, 255, 0.1);
}

/* Alert: 危険・警告操作用のレッド透過ブレンドと発光 */
/* line 106, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.app-flash-alert {
  background: linear-gradient(135deg, rgba(255, 80, 80, 0.2) 0%, rgba(200, 40, 40, 0.15) 100%);
  border: 1px solid rgba(255, 80, 80, 0.5);
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 80, 80, 0.6);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 80, 80, 0.25), inset 0 0 15px rgba(255, 80, 80, 0.1);
}

/* フェードインアニメーション */
@keyframes flashFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* レスポンシブ対応: 画面幅1240px以下で左右に綺麗なマージンをキープ */
@media (max-width: 1240px) {
  /* line 130, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
  .app-flash-container {
    padding: 15px 20px 0 20px;
  }

  /* line 133, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
  .app-flash {
    margin-bottom: 10px;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}
/* インラインフォーム */
/* line 146, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-form-inline form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

/* line 152, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* line 153, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-field-group label {
  font-size: 0.75rem;
  color: #666;
}

/* line 154, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-select, .ai-input-number {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fcfcfc;
}

/* line 161, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-worker-state {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 8px;
  padding: 3px 10px;
}

/* line 170, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-worker-state.is-running {
  background: #d4edda;
  color: #155724;
}

/* line 175, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-worker-state.is-stopped {
  background: #fff3cd;
  color: #856404;
}

/* line 180, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-serp-progress {
  background: #f6fbfd;
  border: 1px solid #d8edf3;
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 14px 16px;
}

/* line 188, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-topline {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* line 196, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-topline .ai-label {
  margin-right: 0;
}

/* line 200, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-percent {
  color: #1f6f8b;
  font-weight: 700;
  margin-left: auto;
}

/* line 206, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-track {
  background: #e7eef3;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

/* line 213, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-fill {
  background: linear-gradient(90deg, #2193b0, #4bbf73);
  border-radius: inherit;
  height: 100%;
  transition: width 0.35s ease;
  width: 0;
}

/* line 221, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-progress-meta {
  color: #667085;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 10px 16px;
  justify-content: space-between;
  margin-top: 10px;
}

/* テーブル（専用） */
/* line 232, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-table-wrapper {
  background: #fff;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

/* line 238, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-custom-table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
}

/* line 243, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-custom-table thead th {
  background: #f4f7f9;
  padding: 12px;
  text-align: left;
  font-size: 0.85rem;
  color: #555;
}

/* line 250, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-custom-table tbody td {
  padding: 12px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
}

/* line 255, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-company a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

/* line 256, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-company a:hover {
  color: #764ba2;
}

/* line 257, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-address {
  max-width: 260px;
  word-break: break-word;
}

/* line 261, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-industry small {
  display: block;
  color: #888;
}

/* line 262, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-links {
  min-width: 96px;
  white-space: nowrap;
}

/* line 267, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-link-pill {
  color: #1f6f8b;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-right: 8px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* line 277, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-link-pill:hover {
  color: #155267;
}

/* line 281, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-list-header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* line 289, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-list-count {
  background: #eef1f7;
  border-radius: 999px;
  color: #555;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
}

/* line 298, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-empty-row {
  color: #777;
  font-weight: 600;
  padding: 24px !important;
  text-align: center;
}

/* ── 進捗ダッシュボード ── */
/* line 306, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  /* line 312, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
  .ai-dash-summary-grid {
    grid-template-columns: 1fr;
  }
}
/* line 314, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-block {
  background: #f7f9fc;
  border-radius: 8px;
  padding: 16px 20px;
}

/* line 319, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #333;
  border-bottom: 1px solid #e1e6ef;
  padding-bottom: 6px;
}

/* line 327, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* line 332, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.9rem;
}

/* line 339, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-list li.ai-summary-total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #cfd6e3;
  font-weight: 600;
}

/* line 345, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-list .ai-label {
  color: #555;
}

/* line 346, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-summary-list .ai-count {
  color: #2c3e50;
}

/* ── フィルタ ── */
/* line 349, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-filter-form {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-end;
}

/* line 355, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-filter-form .ai-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}

/* line 361, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-filter-form label {
  font-size: 0.85rem;
  color: #555;
}

/* line 362, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-dash-filter-form .ai-checkbox-label {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

/* line 367, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-input-text {
  padding: 6px 8px;
  border: 1px solid #cfd6e3;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* line 373, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-btn-tertiary {
  background: #eef1f7;
  color: #555;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
}

/* ── バッジ・○× ── */
/* line 386, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* line 393, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge-gray {
  background: #e3e6ec;
  color: #555;
}

/* line 394, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge-yellow {
  background: #fff3cd;
  color: #856404;
}

/* line 395, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge-green {
  background: #d4edda;
  color: #155724;
}

/* line 396, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge-blue {
  background: #d1ecf1;
  color: #0c5460;
}

/* line 397, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-badge-red {
  background: #f8d7da;
  color: #721c24;
}

/* line 399, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-fill-ok {
  color: #28a745;
  font-weight: 700;
}

/* line 400, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-fill-warn {
  color: #b7791f;
  font-weight: 700;
}

/* line 401, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-fill-ng {
  color: #dc3545;
  font-weight: 700;
}

/* line 403, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-fill {
  text-align: center;
}

/* line 404, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.ai-col-serp-status {
  white-space: nowrap;
}

/* line 406, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-worker-state {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 10px;
}

/* line 414, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-worker-state.is-running {
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.6);
  color: #10b981;
}

/* line 420, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-worker-state.is-stopped {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #f59e0b;
}

/* line 426, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress {
  background: rgba(2, 6, 23, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 16px;
}

/* line 434, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__topline {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* line 442, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__percent {
  color: #38bdf8;
  font-weight: 700;
  margin-left: auto;
}

/* line 448, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__track {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
}

/* line 456, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__fill {
  background: linear-gradient(90deg, #38bdf8, #10b981);
  border-radius: inherit;
  height: 100%;
  transition: width 0.2s ease;
  width: 0;
}

/* line 464, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__meta {
  color: rgba(229, 231, 235, 0.62);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 10px 16px;
  justify-content: space-between;
  margin-top: 10px;
}

/* line 474, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__audit {
  justify-content: flex-start;
}
/* line 477, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-serp-progress__audit code {
  color: #7dd3fc;
  font-size: 0.75rem;
  margin-left: 4px;
  word-break: break-all;
}

/* line 485, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-target-preview__table {
  max-height: 260px;
}

/* line 489, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-detect__draft-table {
  max-height: none;
  overflow-x: auto;
}

/* line 494, /opt/webroot/okurite/app/assets/stylesheets/customers.scss */
.sc-list-count {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 999px;
  color: #7dd3fc;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
}
