﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/*
-------------------------------------------------- */
.page__title {
  font-size: 2.0rem;
}

.container {
}

.t-w-100 {
    width: 100%;
}

.t-align-r {
    text-align: right;
}

.nowrap {
    white-space: nowrap;
}

.btn-back-to-top {
    position: fixed;
    bottom: 80px;
    display: none;
    z-index: 99;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    font-weight: bold;
    border-radius: 4px;
    border: 1px solid #828282;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button:not(.current) {
    color: black !important;
    padding: 5px 10px;
}

.dropdown-menu {
    max-height: 600px; 
    overflow-y: auto; 
}

.el_lv1Heading {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 1em;
    padding: 1em 1.5em;
    border-left: 6px solid #6356a3;
    background-color: #f0f0f0;
}

.el_article {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

@import url('search.css');

.spinner-container {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: absolute;
    top: 0;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Analysis Page Styles */
.analysis-section {
    background: #c4c4c4;
    margin-bottom: 24px;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.analysis-spinner {
    font-size: 2.5rem;
    color: #2d3748;
}
.analysis-header {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.analysis-badge {
    background: #23272b;
    color: #fff;
    border-radius: 6px;
    padding: 4px 12px;
    margin-left: 12px;
    font-size: 1rem;
}

.analysis-graph {
    width: 100%;
    height: 20rem;
    margin-bottom: 24px;
    aspect-ratio: 2 / 1;
    position: relative;
}

    .analysis-graph canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

.vertical-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #605d64ab;
    pointer-events: none; /* Prevent interaction */
}

.remote-spinner {
    width: 100%;
    margin: 0;
    text-align: center;
}

.remote-spinner .spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #17a2b8; /* 外枠の色 */
    border-top-color: transparent; /* 上だけ透明にして回転感を出す */
    border-radius: 50%; /* 円形 */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}