#map {
    height: 90vh;
}

#controls {
    margin: 10px;
}


.text-label {
    font-weight: bold;
    color: black;
    text-align: center;
    white-space: nowrap;
    /* 避免换行 */
    transform: translate(-50%, -50%);
    /* 居中对齐 */
    pointer-events: none;
    /* 禁止鼠标事件 */
    background: white;
    /* 文本框背景颜色 */
    border: 1px solid #ccc;
    /* 文本框边框 */
    border-radius: 5px;
    /* 圆角效果 */
    padding: 0;
    /* 无内边距 */
    box-sizing: border-box;
    /* 包括边框在内计算尺寸 */
}

.lat-lng-display {
    font-size: 14px;
    color: black;
    font-family: Arial, sans-serif;
}


.text-label-vertical {
    font-size: 14px;
    /* 字体大小 */
    font-weight: bold;
    /* 加粗字体 */
    color: black;
    /* 文字颜色 */
    text-align: center;
    /* 居中对齐 */
    white-space: nowrap;
    /* 防止换行 */
    transform: translate(0%, 0%);
    /* 让文字标签居中于点 */
    pointer-events: none;
    /* 禁止鼠标事件，避免影响地图交互 */

    /* 竖排显示 */
    writing-mode: vertical-rl;
    /* 设置竖排文字方向 */
    text-orientation: upright;
    /* 保持每个字正向显示 */
}


/* 修改后的style.css新增样式 */
#timeControls {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Segoe UI', Arial, sans-serif;
}

#timeInput {
    width: 120px;
    margin-right: 10px;
    padding: 5px;
}

#timeControls button {
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#timeControls button:hover {
    background: #0056b3;
}
.fast-forward {
    margin: 5px;
    padding: 6px 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.fast-forward:hover {
    background: #218838;
    transform: translateY(-1px);
}

.fast-forward:active {
    transform: translateY(1px);
}

#timeControls > div {
    margin-bottom: 10px;
}
.rect-label-text {
    font-size: 12px;
    color: white;
    font-weight: bold;
    text-shadow: 
      -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
      1px 1px 0 #000; /* 文字描边 */
    white-space: nowrap;
  }
  
  .rect-label {
    pointer-events: none !important; /* 禁止交互 */
  }