body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f0f2f5;
  }
  
  .field-container {
    max-width: 600px;
    margin: 16px auto;
    padding: 20px;
    background: white;
    border-radius: 20px;
  }
  
  input {
    display: block;
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    border-radius: 20px;
    max-width: 90%;
    border: solid 1px rgb(29,29,31,0.7);
  }
  
  button {
    padding: 10px;
    height: 40px;
    width: 150px;
    background-color: #004752;
    color: white;
    border: none;
    border-radius: 24px;
  }
  
  .error-message {
    color: red;
  }
  
  .map {
    height: 400px;
    margin-top: 8px;
  }
  
  .images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
  }
  
  .images img {
    max-height: 300px;
    border: 1px solid rgb(29,29,31,0.2);
    border-radius: 20px;
  }

  #pdf-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
  }

  #pdf-canvas {
    border: 1px solid rgb(29,29,31,0.1);
    width: 100%;
    max-width: 800px;
  }
  
  #pdf-controls button {
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
  }
  
  #pdf-controls .page-info {
    flex: 1;
    text-align: center;
    font-weight: bold;
  }

  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #e8e8e3;
  }
  
  .header-logo {
    width: auto;
    height: 24px;
    margin-right: 10px;
  }
  
  .header-title {
    flex-grow: 1;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
  }
  
  .logout-button {
    padding: 8px 16px;
    color: #004752;
    background: none;
    border: 1px solid rgb(0,71,82);
    border-radius: 20px;
    cursor: pointer;
  }
  
  .logout-button:hover {
    background: rgb(0,71,82, 0.1);
  }
  
  
  #field-input-container {
    display: flex;
    align-items: center;
    max-width: 100%;
  }
  
  #fieldId {
    border: solid 1px rgb(29,29,31,0.2);
    width: 100%;
    max-width: 90%;
    padding: 0px 16px;
    font-size: 14px;
    margin-right: 16px;
    height: 40px;
  }

  #fieldId:focus {
    outline: none; /* Optional: Removes the default browser outline */
    border: solid 1px rgba(29, 29, 31, 0.2); /* Darker border on focus */
    background-color: #e8e8e3;
  }
  
  #field-input-container button {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
  }

  .login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    gap: 16px;
    height: 100vh;
  }
  
  .login-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    object-fit: cover;
  }
  .login-image img {
    max-width: 100%;
    border-radius: 0px;
    height: 100%;
    object-fit: cover;
  }
  
  .login-box {
    flex: 1;
    max-width: 400px;
    padding: 16px;
    background: #fefefb;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .login-box label {
    display: block;
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 500px;
  }
  .login-box input {
    display: block;
    height: 40px;
    width: 400px;
    padding: 0px 16px;
    margin-bottom: 16px;
    border: 1px solid rgb(29,29,31,0.2);
    border-radius: 20px;
  }
  .login-box button {
    width: 100%;
    padding: 10px;
    background: #006666;
    color: #fefefb;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
  }
  .login-box button:hover {
    background: #004752;
  }
  
  .images {
  position: relative;
  width: fit-content;
  display: inline-block;
}
.land-img {
  max-width: 300px; /* Adjust as needed */
  border: 1px solid #e8e8e3;
  border-radius: 4px;
}
.fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}
.fullscreen-btn i {
  color: #333;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#map { height: 400px; width: 100%; }
.leaflet-control-fullscreen {
  position: relative !important;
}

.fieldDetails {
  border-radius: 8px;
  margin-bottom: 16px;

}
#fieldDetails p {
  margin: 4px 0;
  font-size: 14px;
}