/**
 * @license
 * Copyright 2024 Google LLC. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */

/*
 * Optional: Makes the sample page fill the window.
 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/*
 * Prevent a flash of unstyled content before the custom element is defined.
 */
gmp-map:not(:defined) {
    display: none;
}

/*#title {
    color: #fff;
    background-color: #0d6efd;
    font-size: 20px;
    font-weight: 500;
    padding: 6px 12px;
}*/

#infowindow-content {
    display: none;
}

.pac-card {
    /*background-color: #fff;*/
    border-radius: 2px;
    /*box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);*/
    margin: 10px;
    font: 400 18px Roboto, Arial, sans-serif;
    overflow: hidden;
}

.pac-controls {
    padding: 5px 11px;
}

.pac-controls label {
    font-size: 13px;
    font-weight: 300;
}

#place-picker {
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem 1rem 0;
}

:root {
    --gmpx-color-primary: #0d6efd; /* 搜索框外边框颜色 */
    --gmpx-font-size-base: 1.5rem; /* 搜索框字体大小 */
}

.form-control {
    border-width: 1px;
    border-radius: 4px;
}

.input-group-addon {
    border-width: 1px;
    border-radius: 4px;
}

.required > label:after {
    right: auto;
}

.ui-dialog .modal-header {
    background-color: #0d6efd;
}



.fiberRequestGrid th:first-of-type {
    z-index: 9999;
}

/* ========== 全屏按钮样式 ========== */

#fullscreenBtn {
    background: #0d6efd !important;
    border: 1px solid #0d6efd !important;
    border-radius: 3px !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 5px 10px !important;
    margin-bottom: 5px !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    vertical-align: middle !important;
    user-select: none !important;
    transition: all 0.15s ease-in-out !important;
    line-height: 1.5 !important;
    min-width: 40px !important;
    height: auto !important;
}

#fullscreenBtn:hover {
    background-color: #0b5ed7 !important;
    border-color: #0a58ca !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

#fullscreenBtn:active {
    background-color: #0a58ca !important;
    border-color: #0a53be !important;
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

#fullscreenBtn:focus {
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25) !important;
}

/* 全屏按钮图标 */
#fullscreenBtn .fullscreen-icon {
    font-size: 16px !important;
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #fullscreenBtn {
        font-size: 12px !important;
        padding: 4px 8px !important;
        min-width: 35px !important;
    }
    
    #fullscreenBtn .fullscreen-icon {
        font-size: 14px !important;
    }
}

/* RTL语言支持 */
[dir="rtl"] #fullscreenBtn {
    margin-left: 5px !important;
    margin-right: 0 !important;
}

/* 在控件槽位中的样式调整 */
gmp-map #fullscreenBtn {
    margin: 5px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}