body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

#table-container {
    overflow: auto;
    max-height: 90vh;
    max-width: 90vw;
}

table {
    border-collapse: collapse;
    font-size: 12px;
}

td {
    border: 2px solid #000;
    padding: 0; /* Remove fixed padding */
    min-width: 50px;
    min-height: 25px;
    resize: both;
    overflow: auto;
    white-space: nowrap; /* Prevent text from wrapping */
}

td > div {
    padding: 4px; /* Add padding to a div inside each cell */
}

td:focus {
    outline: none;
    border: #00f;
}

.selected {
    background-color: #d0e1f9;
}

.coordinates-display {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #ccc;
    font-size: 12px;
}

.navbar {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    margin-bottom: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.brand {
    font-size: 1.5em;
    margin-right: auto;
    margin-left: auto;
}

.brand2 {
    font-size: 1.5em;
    margin-right: auto;
    margin-left: 0%;
}

.navbar-buttons {
    display: flex;
}

.navbar-buttons button {
    background-color: #555;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px; /* Add margin to create space between buttons */
    cursor: pointer;
    transition: background-color 0.3s;
}

.navbar-buttons button:hover {
    background-color: #777;
}

.coordinates-display {
    font-size: 14px;
}

/* Import Google Font - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
.wrapper{
  visibility: hidden;
  position: absolute;
  width: 300px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.wrapper .menu{
  padding: 10px 12px;
}
.content .item{
  list-style: none;
  font-size: 22px;
  height: 50px;
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 2px;
  padding: 0 5px 0 10px;
  white-space: nowrap;
}
.content .item:hover{
  background: #f2f2f2;
}
.content .item span{
  margin-left: 8px;
  font-size: 19px;
}
.content .setting{
  display: flex;
  margin-top: -5px;
  padding: 5px 12px;
  border-top: 1px solid #ccc;
}
.content .share{
  position: relative;
  justify-content: space-between;
}
.share .share-menu{
  position: absolute;
  background: #fff;
  min-width: 80px;
  width: max-content;
  right: -80px;
  top: -35px;
  padding: 13px;
  opacity: 0;
  pointer-events: none;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.08);
  transition: 0.2s ease;
}
.share:hover .share-menu{
  opacity: 1;
  pointer-events: auto;
}