/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* タブナビゲーションスタイル */
.tab-link {
  padding-bottom: 1rem;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
}

.tab-active {
  border-color: #3b82f6;
  color: #3b82f6;
}

.tab-inactive {
  border-color: transparent;
  color: #6b7280;
}

.tab-inactive:hover {
  border-color: #d1d5db;
  color: #374151;
}

/* ボタン共通スタイル */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  background-color: #2563eb;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  background-color: #ffffff;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

/* AIチャット タイピングカーソル */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: #6b7280;
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
