/* styles.css */

body {
  margin: 0;
  overflow: hidden; /* prevent page scroll */
  font-family: Arial, sans-serif;
  background-color: #f3f4f6;
}

h1 {
  font-weight: normal;
  font-size: 1em;
}

h2 {
  font-weight: bold;
  font-size: 1.5em;
}

h3 {
  font-weight: bold;
  font-size: 1.25em;
  margin: 10px;
}

.topbar {
  height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.app-container {
  display: flex;
  /*height: calc(100vh - 48px); /* Full height minus topbar */
  height: 100%;
}

.sidebar {
  width: 80px;
  height: 100vh;
  background-color: #ffffff;
  border-right: 1px solid #d1d5db;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

/* Main content area */
.main-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.nav-icon {
  text-align: center;
  margin-bottom: 30px;
  color: #4b5563;
  cursor: pointer;
}

.nav-icon:hover {
  color: #3b82f6;
}

.main-content-header {
  height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;  
}

.add-entity-button {
  text-align: center;
  margin-right: 30px;
  color: #4b5563;
  cursor: pointer;
}

.list-header {
  height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 16px;  
}

.list-header-cell {
  font-weight: normal;
  font-size: 1em;
  text-decoration: underline;
}

.list-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
}

.list-row {
  height: 48px;
  min-height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 16px;
}

.list-row-cell {
  font-size: 14px;
}

.region-column {
  width: 150px;
}

.location-column {
  width: 150px;
}

.contact-name-column {
  width: 200px;
}

.contact-type-column {
  width: 120px;
}

.store-num-column {
  width: 90px;
}

.interest-column {
  width: 100px;
  text-align: center;
}

.location-links-group {
  width: 246px;
  text-align: center;
}

.location-links-header-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.location-links-column {
  width: 82px;
  text-align: center;
}

.location-lpc-column {
  width: 90px;
  text-align: center;
}


.contact-basic-info-section {
  flex-direction: column;
  overflow-y: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  padding: 0 16px;  
}

.contact-basic-info-container {
  display: flex;
  width: 100%;
}




.location-detail-header {
  height: 48px;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;  
}

.location-detail-interest {
  font-weight: bold;
  font-size: 1.5em;
}

.data-fields-section {
  flex-direction: column;
  overflow-y: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  padding: 0 16px;  
}

.data-fields-section-with-columns {
  /* overflow-y: auto; */
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  padding: 0 16px;  
}

.data-fields-container {
  display: flex;
  width: 100%;
}

.data-fields-container > div {
  margin: 16px;
}

.data-fields-container > fieldset {
  margin-bottom: 12px;
}

.section-column-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-data-fields-container {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-bottom: 10px;
}

.form-field-container {
  display: flex;
  margin: 4px 16px;
}

.form-field-container > label {
  width: 100px;
}



.links-section {
  flex-direction: column;
  overflow-y: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  padding: 0 16px;  
}

.links-header {
  display: flex;
  align-items: center;
}

.links-header > h3 {
  width: 270px;
}

.add-link-button {
  text-align: center;
  margin-left: 30px;
  color: #4b5563;
  cursor: pointer;
}

.links-container {
  display: flex;
  flex-direction: column;
  margin: 10px 100px;
}

.links-container > div {
  margin: 10px;
}

.links-container > a {
  margin: 5px;
}

.links-container p {
  margin: 0;
}

.add-link-form {
  margin: 10px;
  display: none;
}

.store-locations-container {
  display: flex;
  flex-direction: row;
  /*margin: 10px 100px;*/
  width: 100%;
}

.store-locations-container > div {
  margin: 5px;
}


.history-section {
  flex-direction: column;
  overflow-y: auto;
  background-color: #ffffff;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  padding: 0 16px;  
}

.history-header {
  display: flex;
  align-items: center;
}

.history-header > h3 {
  width: 270px;
}

.add-comment-button {
  text-align: center;
  margin-left: 30px;
  color: #4b5563;
  cursor: pointer;
}

.history-container {
  display: flex;
  flex-direction: column;
  margin: 10px 100px;
}

.history-container > div {
  margin: 10px;
}

.history-item {
  margin: 10px 100px;
}

.history-item > p {
  margin: 10px;
}

