@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
}

.container {
  max-width: 2600px;
  padding-top: 4px;
  padding-bottom: 40px;
}

.jumbotron {
  background-color: #007bff;
  color: white;
  border-radius: 0;
}

.table {
  background-color: white;
  border-collapse: collapse;
  width: 100%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

th,
td {
  font-size: 18px;
  line-height: 1.4;
  position: relative;
  min-width: 150px;
}

th {
  background-color: #f2f2f2;
  font-weight: 600;
}

.completed {
  text-decoration: line-through;
}

.collapsed-button {
  display: inline;
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 0.8em;
  color: #007bff;
  text-decoration: underline;
  padding-left: 5px;
}

/* Buttons */
button {
  border: none;
  color: #000000;
  font-weight: 600;
  border-radius: 4px;
  padding: 5px 12px;
  cursor: pointer;
  margin: 0 4px;
  min-width: 60px;
  
}

button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

button:not([disabled]):hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/* Review and final status buttons */
button[data-review-status="No"] {
  background-color: #007bff;
}

button[data-review-status="Yes"] {
  background-color: #28a745;
}

button[data-final-status="false"] {
  background-color: #6c757d;
}

button[data-final-status="true"] {
  background-color: #dc3545;
}

button:hover:not(.save-btn) {
  background-color: #007bff;
  color: white;
}

.service-buttons,
.notes-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px; /* Increased space between buttons for better separation */
  margin-top: 5px; /* Added margin for improved structure */
}

button.save-btn {
  font-size: 14px;
  padding: 4px 8px;
  background-color: #6c757d; /* Changed background color for better contrast */
  color: white;
}
/* Buttons layout */
.status-buttons {
  display: flex;
  align-items: center;
  gap: 2px;
}

.notes-field {
  display: flex;
  align-items: center;
  gap: 4px;
}

.year-label {
  font-size: 70%;
}
.custom-month-checkbox {
  padding: 1px 1px;
}
thead th {
  position: sticky;
  top: 0;
  background-color: #e8eff2; /* Add a background color to make the header visible when scrolling */
  z-index: 10; /* Give the header a higher z-index to avoid content overlap */
}
.table-wrapper {
  position: relative;
  height: calc(100vh - 197px); /* Adjust the value '180px' to match the space taken by elements above the table */
  overflow-y: auto;
}


.sticky-header {
  position: sticky;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  background: #e8eff2;
}
.provider-column {
  width: 18%; /* Adjust the width percentage as needed */
}
.mt-5 {
    margin-top: 0.1rem!important;
}
.provider-name {
  font-size: 14px;
  font-weight: bold;
  padding-top: 5px; /* Added padding for better spacing */
}
.address-column {
  max-width: 10%;
  padding-bottom: 5px; /* Added padding for improved structure */
}
.address-wrapper {
  display: flex;
  max-width: 250px; /* Set your desired max-width here */
}
.property-table-row {
    border-bottom: .5px solid #ddd; /* Adjust the border size and color as necessary */
}
.notes-row {
  border-bottom: 2px solid #504e4e; /* Adjust the border size and color as necessary */
}

.notes-input{
  margin-left: 10px;
}
.service-buttons-inline {
  display: inline-block;
}
.provider-wrapper {
  display: flex;
  align-items: center;
}

.service-buttons {
  margin-left: 5px;
}
/* Add the new classes to the style.css file */
.color-legend {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.color-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 200px; /* Adjust the width as needed */
  height: 25px; /* Adjust the height as needed */
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  border: 1px solid #000000;
  font-size: 0.875rem;
  line-height: 1.5;
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  background-clip: padding-box;
  border-radius: 0; /* Remove any border radius */
}
.btn-grey {
  background-color: #6c757d;
  color: #FFFFFF;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px; /* Increased space between buttons for better separation */
  margin-top: 5px; /* Added margin for improved structure */
}

.btn-black {
  background-color: #000000;
  color: #FFFFFF;
  
}
.btn-final {
  background-color: black;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 2px;
}

.btn-not-final {
  background-color: #a6a4a0;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 5px;
  margin-bottom: 2px;
}
