Previous Additional CSS (Located at the very top)
/* === Gravity Forms Submit Button Styling === */
body .gform_wrapper .gform_footer {
  text-align: center; /* Center the button */
}

body {
  background-color: #ffffff !important;
}
footer, .site-footer, .elementor-location-footer,
.elementor-location-footer .elementor-section,
.elementor-location-footer .elementor-container,
.elementor-location-footer .elementor-widget-wrap {
  background-color: #ffffff !important;
}

.page .entry-title {
  display: none !important;
}

/* ----------------------------------------
   FONTS
---------------------------------------- */

/* Journal View Fonts */
.journal-title,
.journal-date,
.journal-edit a,
.gv-read-more a {
  font-family: 'Patrick Hand', cursive !important;
}

.journal-notes {
  font-family: 'Coming Soon', cursive !important;
}

/* ----------------------------------------
   JOURNAL VIEW ENTRY STYLING (List Layout)
---------------------------------------- */

.gv-list-view .gv-list-view-entry {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}

/* Entry Title */
.journal-title {
  font-size: 30px !important;
  color: #1a1a1a !important;
  margin-bottom: 10px !important;
}

/* Entry Date */
.journal-date {
  font-size: 18px !important;
  font-style: italic !important;
  font-weight: bold !important;
  color: #222 !important;
  margin-bottom: 10px !important;
}

/* Notes Preview */
.journal-notes {
  font-size: 16px !important;
	font-style: italic !important;
  line-height: 1.6 !important;
  color: #333 !important;
  margin-bottom: 12px !important;
}
.gv-list-view .journal-notes p::before {
  content: "“";
  margin-right: 4px;
}

.gv-list-view .journal-notes p::after {
  content: "”";
  margin-left: 4px;
}
/* Edit Entry Link */
.journal-edit a {
  font-size: 14px !important;
  color: #107c10 !important;
  font-weight: bold !important;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 8px !important;
}

.journal-edit a:hover {
  text-decoration: underline !important;
  color: #0f7520 !important;
}

/* View Full Entry Link */
.gv-read-more a {
  font-size: 14px !important;
  color: #1a73e8 !important;
  font-weight: bold !important;
  text-decoration: none !important;
  display: inline-block;
  margin-top: 8px !important;
}

.gv-read-more a:hover {
  text-decoration: underline !important;
  color: #0f52ba !important;
}

/* ----------------------------------------
   JOURNAL SEARCH BAR STYLING
---------------------------------------- */

/* Search wrapper */
.gv-widget-search {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

/* Title field wider */
.gv-search-field.gv-search-field-text input[type="text"] {
  width: 300px !important;
}

/* Date picker narrower */
.gv-search-field.gv-search-date input[type="text"] {
  width: 120px !important;
}

/* Button spacing */
.gv-search-box-submit {
  margin-top: 10px;
}

/* === 3 T's TRAINING TRACKER === */
/* === CLEANED & FIXED 3 T's Tracker Appearance === */

/* === Truncation: Force Black Ellipsis for Notes === */
.notes-truncate span,
.notes-truncate a,
.notes-truncate {
  color: #000 !important;
}

/* REMOVE extra dots or quotes – stop pseudo-rendering */
.notes-truncate::after {
  content: none !important;
}

/* === FULL-WIDTH TABLE & FOOTER ALIGNMENT === */

/* Ensure the outer container uses full available width */
.gv-datatables-wrapper,
.gv-container,
.gv-inline-editable-view {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}


/* Make sure DataTable structure spans full area */
table.dataTable {
  table-layout: fixed !important;
  width: 100% !important;
}

/* Stretch pagination and controls */
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
}
/* === Correct Pagination Alignment (Bottom Right) === */
.dataTables_wrapper .dataTables_paginate {
  justify-content: flex-end !important;
  text-align: right !important;
}

/* === REMOVE DataTables Footer Row === */
.dataTables_wrapper tfoot {
  display: none !important;
}

/* === OPTIONAL: Truncate on mobile for better UX === */
@media only screen and (max-width: 768px) {
  .notes-truncate {
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
/* ✅ Color-code cells based on Group names (Table View only) */
td:has(.gv-field-10-14:contains("Puppy & Foundational Group")) {
  background-color: #e7f7e7 !important;
  font-weight: bold;
}

td:has(.gv-field-10-14:contains("Basic & Intermediate Group")) {
  background-color: #e7eaff !important;
  font-weight: bold;
}

td:has(.gv-field-10-14:contains("Advanced & Age Dependent Group")) {
  background-color: #fff0e6 !important;
  font-weight: bold;
}

td:has(.gv-field-10-14:contains("Specialty Group")) {
  background-color: #fceefc !important;
  font-weight: bold;
}
	/* ✅ Color-code cells for new Form 84 (My 3 Ts Dog Training Tracker) */
td:has(.gv-field-84-14:contains("Puppy & Foundational Group")) {
  background-color: #e7f7e7 !important;
  font-weight: bold;
}

td:has(.gv-field-84-14:contains("Basic & Intermediate Group")) {
  background-color: #e7eaff !important;
  font-weight: bold;
}

td:has(.gv-field-84-14:contains("Advanced & Age Dependent Group")) {
  background-color: #fff0e6 !important;
  font-weight: bold;
}

td:has(.gv-field-84-14:contains("Specialty Group")) {
  background-color: #fceefc !important;
  font-weight: bold;
}

.edit-form-button {
  display: inline-block;
  margin-top: 4px;
  background-color: #0073aa;
  color: white;
  padding: 4px 8px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
}

.edit-form-button:hover {
  background-color: #005177;


	/* === REMOVE BLUE BORDER FROM GRAVITYVIEW INLINE EDIT === */
.editable-click, a.editable-click, a.editable-click:hover {
    border: none !important;
}
	
/* Disable Gravity Forms 2.7+ theme framework button styling on checkbox labels */
.gform_wrapper .gform-field-label--type-inline,
.gform_wrapper .gform-field-label--type-inline.gform-field-label {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}


