.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    /* height: 100vh; ความสูงเต็มหน้าจอ */
    background-color: #f0f0f0; /* เพิ่มสีพื้นหลังให้ดูชัด */
}

.containerXXX {
    width: 100%;
    border-collapse: collapse;
    justify-content: center;
}

/* สไตล์สำหรับตาราง */
.container {
    width: 100%;
    border-collapse: collapse;
    justify-content: center;
}

/* เพิ่มช่องว่างระหว่างเซลล์ */
.container td {
    padding: 10px;
}

.map-cell, .player-cell {
    display: flex;
    justify-content: center; /* จัดกลางแผนที่ในแนวนอน */
    /*align-items: center; */    /* จัดกลางแผนที่ในแนวตั้ง */
    /* height: 500px;            กำหนดความสูงของเซลล์ที่มีแผนที่ */
    text-align: center;
    display: block; 
    margin: 0 auto;
    width: 80%; 
    height: auto;
    /* background-color: black; */
}

.select-cell {
    display: flex;
    justify-content: center;  /* จัดกลางแผนที่ในแนวนอน */
    /* align-items: center;      จัดกลางแผนที่ในแนวตั้ง */
    /* height: 500px;            กำหนดความสูงของเซลล์ที่มีแผนที่ */
}

.header-cell {
    display: flex;
    text-align: center;
    /* justify-content: center;  จัดกลางแผนที่ในแนวนอน */
    display: block; 
    margin: 0 auto;
    /* align-items: center;      จัดกลางแผนที่ในแนวตั้ง */
    /* height: 500px;            กำหนดความสูงของเซลล์ที่มีแผนที่ */
}



/**************************/

#map {
    width: 100%;
    height: 320px;
    border: 3px solid #4CAF50; /* สีเขียว */
    border-radius: 10px;       /* มุมโค้ง */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); /* เงาเล็กน้อย */
}

#video {
    width: 100%;
    height: 320px;
    border: 3px solid #2196F3; /* สีฟ้า */
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    background-color: black;
}

#cctvUrlDisplay {
    margin-top: 0px;
    font-size: 14px;
    /* font-weight: bold; */
}

/* ปรับให้หัว popup (ปุ่ม X) หายไป */
.gm-style-iw-d {
    padding: 0 !important;
}

.gm-style-iw {
    padding: 1 !important;
    overflow: hidden !important;
}

.gm-ui-hover-effect {
    display: none !important;

}

/* ซ่อนปุ่ม X */