/*
 * 予約管理システム スタイルシート
 * 管理画面用のスタイル定義
 */

/* 全体レイアウト */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fc;
  color: #5a5c69;
}

/* サイドバー */
.sidebar {
  min-height: 100vh;
  background-color: #4e73df;
  background-image: linear-gradient(180deg, #4e73df 10%, #224abe 100%);
  background-size: cover;
}

.sidebar-brand {
  height: 4.375rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 800;
  padding: 1.5rem 1rem;
  text-align: center;
  letter-spacing: 0.05rem;
  z-index: 1;
}

.sidebar-brand-icon i {
  font-size: 2rem;
}

.sidebar-brand-text {
  font-size: 1.2rem;
  display: inline;
  margin-left: 0.5rem;
}

.sidebar .nav-item .nav-link {
  position: relative;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.sidebar .nav-item .nav-link:hover {
  color: #fff;
}

.sidebar .nav-item .nav-link:active {
  color: #fff;
  font-weight: 700;
}

.sidebar .nav-item .nav-link i {
  font-size: 0.85rem;
  margin-right: 0.25rem;
}

/* トップバー */
.topbar {
  height: 4.375rem;
}

.topbar .navbar-search {
  width: 25rem;
}

.topbar .nav-item .nav-link {
  height: 4.375rem;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
}

.topbar .nav-item .nav-link .badge-counter {
  position: absolute;
  transform: scale(0.7);
  transform-origin: top right;
  right: 0.25rem;
  margin-top: -0.25rem;
}

.topbar .dropdown-list {
  padding: 0;
  border: none;
  overflow: hidden;
}

.topbar .dropdown-list .dropdown-header {
  background-color: #4e73df;
  border: 1px solid #4e73df;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #fff;
}

/* カード */
.card {
  margin-bottom: 24px;
  border: none;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.card .card-header {
  background-color: #f8f9fc;
  border-bottom: 1px solid #e3e6f0;
}

.card-header-tabs {
  margin-right: -1rem;
  margin-bottom: -1rem;
  margin-left: -1rem;
  border-bottom: 0;
}

/* フォーム */
.form-control:focus {
  border-color: #bac8f3;
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.form-control-user {
  font-size: 0.8rem;
  border-radius: 10rem;
  padding: 1.5rem 1rem;
}

.btn-primary {
  background-color: #4e73df;
  border-color: #4e73df;
}

.btn-primary:hover {
  background-color: #2e59d9;
  border-color: #2653d4;
}

.btn-success {
  background-color: #1cc88a;
  border-color: #1cc88a;
}

.btn-success:hover {
  background-color: #17a673;
  border-color: #169b6b;
}

.btn-info {
  background-color: #36b9cc;
  border-color: #36b9cc;
}

.btn-info:hover {
  background-color: #2c9faf;
  border-color: #2a96a5;
}

.btn-warning {
  background-color: #f6c23e;
  border-color: #f6c23e;
}

.btn-warning:hover {
  background-color: #f4b619;
  border-color: #f4b30d;
}

.btn-danger {
  background-color: #e74a3b;
  border-color: #e74a3b;
}

.btn-danger:hover {
  background-color: #e02d1b;
  border-color: #d52a1a;
}

/* テーブル */
.table-responsive {
  overflow-x: auto;
}

.table th {
  background-color: #f8f9fc;
  border-top: none;
  font-weight: 700;
}

/* ページネーション */
.pagination .page-item.active .page-link {
  background-color: #4e73df;
  border-color: #4e73df;
}

.pagination .page-item .page-link {
  color: #4e73df;
}

/* ログイン・認証画面 */
.bg-login-image {
  background: url('/static/img/login-bg.jpg');
  background-position: center;
  background-size: cover;
}

.bg-register-image {
  background: url('/static/img/register-bg.jpg');
  background-position: center;
  background-size: cover;
}

.bg-password-image {
  background: url('/static/img/password-bg.jpg');
  background-position: center;
  background-size: cover;
}

/* ダッシュボード用スタイル */
.chart-area {
  position: relative;
  height: 10rem;
  width: 100%;
}

.chart-pie {
  position: relative;
  height: 15rem;
  width: 100%;
}

/* フッター */
footer.sticky-footer {
  padding: 2rem 0;
  flex-shrink: 0;
}

/* レスポンシブデザイン用 */
@media (min-width: 768px) {
  .chart-area {
    height: 20rem;
  }

  .chart-pie {
    height: 25rem;
  }
}

/* ユーティリティクラス */
.text-xs {
  font-size: .7rem;
}

.text-lg {
  font-size: 1.2rem;
}

.text-gray-300 {
  color: #dddfeb !important;
}

.text-gray-400 {
  color: #d1d3e2 !important;
}

.text-gray-500 {
  color: #b7b9cc !important;
}

.text-gray-600 {
  color: #858796 !important;
}

.text-gray-800 {
  color: #5a5c69 !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem 0 rgba(58, 59, 69, 0.2) !important;
}

.shadow {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.border-left-primary {
  border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
  border-left: 0.25rem solid #e74a3b !important;
}