@import "flora.tabs.css";

h2, td, th{
	text-align: center;
}
td {
    font-size: 13px;
}
.right-info{
	float: right;
}
.overview-info, .article, td, th{
	border: solid 1px;
}
.overview-info{
    min-height: 50px;
}
table{
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
#forecast-1 tbody>tr>td, #forecast-2 tbody>tr>td, #wave-1 tr td:first-child, #wave-2 tr td:first-child,  #wave-3 tr td:first-child, #wave-4 tr td:first-child{
	width: 11%;
}
/* #forecast-2-gsm tr td:last-child, #forecast-2-gsm tr th:last-child, .hidden{
	border-right: solid 1px rgba(255, 255, 255, 0);
	border-bottom: 0;
	border-top: 0;
} */
#table-3 tr td:first-child {
	width: 11%;
	border-left: solid 3px rgba(255, 255, 255, 0);
	border-bottom: 0;
	border-top: 0;
}
.hidden-border{
	border-right: solid 1px rgba(255, 255, 255, 0);
	border-bottom: 0;
	border-top: 0;
}
#article{
	text-align: left;
}
#graphArea{
	border: solid 1px black;
}
.domain{
	stroke: black;
	fill: none;
	stroke-width: 1px;
}
.area_chart {
  width: calc(100% - 20px);
}

/* Chart improvements */
#chart_minami {
  margin: 0px 0px 20px 0px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wave-tooltip {
  font-family: Arial, sans-serif;
  font-size: 12px;
  min-width: 120px;
  max-width: 320px;
  padding: 8px 12px;
  white-space: nowrap;
  text-align: left;
}

.wave-tooltip table {
  border-collapse: collapse;
  margin-top: 5px;
  width: 100%;
}

.wave-tooltip td {
  padding: 2px 0px;
  border: none;
  font-size: 11px;
}

.wave-tooltip td:first-child {
  text-align: left;
  color: #666;
}

.wave-tooltip td:last-child {
  text-align: right;
  font-weight: bold;
  color: #333;
}

/* Multi-edit styles */
.editing-multiple {
    background-color: #007cba !important;
    color: white !important;
    transition: background-color 0.1s ease, color 0.1s ease;
}

.editing-multiple-control {
    background-color: #28a745 !important;
    color: white !important;
    transition: background-color 0.1s ease, color 0.1s ease;
}

/* Selection hint */
body.shift-mode::after {
    content: "Shift + Drag for multi-edit";
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #007cba;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 12px;
    z-index: 9999;
    pointer-events: none;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#forecast-3{
  margin-top: 15px;
}

.weekly-image-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0;
  list-style: none;
}
.weekly-image-list li {
  margin-bottom: 0;
  margin: auto;
}
@media (max-width: 700px) {
  .weekly-image-list {
    grid-template-columns: 1fr;
  }
}

#week.preview-pdf table td{
  padding-block: 6px;
  border-collapse: collapse !important;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
#week.preview-pdf table {
  width: 99%;
}
