﻿html, body{
    height: 100%; width: 100%;
    min-width:unset;
    scrollbar-width: thin;
    overflow: auto;
}

canvas { display: block; margin: 0 auto; width: 100%; height: auto; }

.fc-log-out {
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
}

.fc-log-c {
    font-size: 128px;
    z-index: -1;
}

.fc-log-l {
    position: absolute;
    font-size: 72px;
    font-weight: bold;
    z-index: -1;
}
  
.fc-log > div {
    width: 14px;
    height: 53px;
    background-color: #c73535;
    left: 25px;
    top: 70px;
    position: absolute;
    border-radius: 3px;
}

.fc-table-center{
    width: 100%; height: 100%;
    position: absolute;
}

.fc-table-center>table{
    width: inherit;
    height: inherit;
    border-collapse: collapse;
}

.fc-table-center td:nth-child(1){
    width: inherit;
    height: inherit;
}

.fc-svg-button-top {
    position:relative; 
    top:-1px;
}

.fc-primary-blink {
    --fc-blink-color: #007bff;
}

.fc-warning-blink {
    --fc-blink-color: #ffc107;
}

.fc-blink-boxshow {
    --fc-blink-color: #dc3545; /* 預設顏色 */
    animation: blink-animation 1s steps(1, start) infinite;
}

.tooltip-inner {
    text-align: left;
}

.fc .fc-no-affect-btn {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.fc .fc-no-affect-btn:active {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.fc .font-family-apple-system {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 18px;
}

.fc .font-family-apple-system-ip {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: #000;
}

.fc-background-color {
    background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 50%, #e0e7ff 100%);
    background-attachment: fixed;
    min-height: 100vh;
  }
  
@keyframes blink-animation {
    0% { box-shadow: none; }
    50% { box-shadow: 0 0 5px 0.25rem var(--fc-blink-color); }
    100% { box-shadow: none; }
}

.custom-modal-width {
    max-width: 700px;
}

.tdw225 {
    width: 225px;
}

.tdw66 {
    width: 66px;
}

.tdw85 {
    width: 85px;
}

.tdw50 {
    width: 50px;
}

.trh51 {
    height: 51px;
}
/* Footer 樣式 - 固定在底部，與 navbar 相同高度和樣式 */
.page-footer {
  height: 52px;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #dee2e6;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-footer .text-muted {
  color: #1e3a8a !important;
  font-size: 14px;
}

/* 為 body 加上底部 padding，避免內容被 footer 遮住 */
body.fc.fc-background-color {
  padding-bottom: 52px !important;
}
