.btnaction {
  cursor: pointer;
}
.btn.btn-secondary :disabled {
  background-color: #6c757d !important;
}
.upgrade-link,
.upgrade-link:hover {
  font-weight: bold;
  color: #fff;
}
.image img {
  max-width: 100%;
}
#erpversion {
  position: relative;
  bottom: 0;
  margin: 5px 10px;
}
.submenu ul.nav {
  margin-left: 8px;
}
.printer {
  cursor: pointer;
  float: left;
  width: 110px;
  text-align: center;
  font-size: 12px;
}
.sortfield {
  cursor: pointer;
}
.input-group > .input-group-append > .btn {
  height: 43px;
}
input.error,
textarea.error,
.error {
  border: 1px solid red !important;
}
option.catlevel0 {
  border-left: 1px solid #000;
  border-bottom: 1px solid #000;
}

img.pluginlogo {
  width: 150px;
  max-height: 50px;
  margin-right: 10px;
}
.pluginame {
  font-weight: bold;
}
.courierwrap {
  min-height: 90px;
  margin: 20px 10px;
  padding: 20px;
}
.courierwrap:hover {
  background-color: #feffc4;
}
.thumbnail {
  position: relative;
  max-height: 100px;
  width: 100%;
  max-width: 100px;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.table td,
.table th {
  padding: 5px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  padding: 5px;
}

b {
  font-weight: bold;
}

.fa {
  width: auto;
}

span.tox-statusbar__branding {
  display: none;
}

.green {
  color: green !important;
}

.red {
  color: red !important;
}

.published {
  cursor: pointer;
}

.hide {
  display: none;
}

div.file-preview {
  background-color: #fff;
  float: left;
  width: 25%;
}

.ui-state-highlight {
  background-color: red;
}

div.images div.img-preview {
  margin: 5px;
  padding: 5px;
  height: 200px;
}

div.images div.img-preview img {
  width: 100%;
  max-height: 200px;
}

.option-row {
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  padding-top: 5px;
}

.diricon {
  color: #fff;
  display: inline;
  margin-right: 5px;
}
/*.select2-container{width:100%!important;}*/

/*invoice*/

div#header-row {
  color: #fff;
  background: #343a40;
  border-color: #454d55;
}

div#header-row .form-label {
  color: #fff;
}

td.min50 {
  min-width: 50px;
}

td.min100 {
  min-width: 100px;
}

div.head {
  border: 1px solid #ccc;
  background-color: #343a40;
  color: #fff;
  font-weight: bold;
}

div.datacol div.col-md-4 {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

textarea.txtshort {
  height: 43px !important;
}

textarea.item {
  height: 40px !important;
}

div.ajaxresult {
  position: absolute;
  z-index: 10000;
  min-width: 500px;
  width: auto;
  background: #fff;
  border: 1px solid #ccc;
  margin-top: 5px;
  display: none;
}

div.product_results ul li {
  cursor: pointer;
}

div.product_results ul li:focus {
  background-color: #fcf39f;
}

li.focus {
  background-color: #fcf39f;
}

div.product_results ul {
  margin: 0px;
  padding: 3px 18px;
}

#addnewitem {
  margin-top: 10px;
}

.accordions .card .card-header .card-title {
  background-color: #4b72e6;
  color: #fff;
  padding: 2px 10px;
}

.accordions .card .card-header .card-title a,
.accordions .card .card-header .card-title a:hover {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

#header-row {
  font-weight: bold;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
}

div.items {
  margin-top: 5px;
}

.deleteitem {
  margin-top: -30px;
  display: inline-block;
  position: relative;
  margin-left: -10px;
}

.warehousename {
  background-color: #5064d5;
  color: #ffffff !important;
  border-color: #11bfe3;
  padding: 15px 5px;
  font-weight: bold !important;
  font-size: 14px !important;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  max-width: 100%;
  margin-right: 0px;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.toolbar {
  margin: 2px 2px 2px 5px;
}
.actionbtns {
  margin-left: 15px;
}
.btns {
  margin-left: 15px;
}
div.btn-spacer {
  padding: 5px 4px;
  display: inline-block;
}

@media print {
  .noprint {
    display: none;
  }
}
.notifytitle {
  font-weight: 14px;
}
ul.notifications .dropdown-item {
  max-width: 400px;
}

/*AgroField*/
.tdlabel {
  width: 25%;
}
#map {
  min-height: 100%;
}
.select-change {
  border: 0px;
  padding-left: 6px;
  color: #333333;
  font-weight: 300;
  font-size: 24px;
  margin-top: -8px;
  margin-left: 5px;
}
.select-change option {
  color: #212529;
  font-weight: 400;
  font-size: 12px;
}

#markerContent .title {
  font-weight: bold;
}
.mobile-only {
  display: none;
}
#backbtn {
  margin-right: 2px;
}
#seasonwrap {
  padding-left: 15px;
}
#dropdownMenuQuickAdd {
  padding: 9px 16px !important;
  margin-right: 1px;
}
@media screen and (max-width: 768px) {
  #seasonwrap {
    padding: 2px 15px 2px 15px;
  }
  .hidden-mobile {
    display: none;
  }
  .mobile-only {
    display: inline-block;
  }
  #main {
    margin-left: -8px;
    margin-right: -8px;
  }
}

/* new */

:root {
  --primary-green: #78b414;
  --secondary-green: #68a530;
  --accent-orange: #ff9510;
  --light-orange: #f57710;
  --light-gray: #f2f2f2;
  --dark-gray: #2a2e32;
}

/* Stats Cards */
.card-stats {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 25px;
  border: none;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.col-lg-3.col-sm-6 {
  margin-bottom: 25px;
  display: flex;
}

.card-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-green);
}

.card-stats:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-stats .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-stats .icon-big {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 180, 20, 0.1);
  color: var(--primary-green);
  border-radius: 12px;
  margin: 0 auto;
  transition: all 0.3s ease;
  font-size: 24px;
}

/* Διαφορετικά εικονίδια με custom classes */
.fa-field-alt::before {
  content: "\f6ec"; /* fa-tractor */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-tasks-alt::before {
  content: "\f085"; /* fa-cogs */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-chart-line-alt::before {
  content: "\f201"; /* fa-chart-line */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.fa-file-chart-line-alt::before {
  content: "\f6c3"; /* fa-file-chart-pie */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

/* Ευθυγράμμιση των counter items */
.counter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  margin-bottom: 0 !important;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.counter-item b {
  display: inline-flex;
  align-items: center;
}

.counters-wrapper {
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 10px;
}

.card-stats:hover .icon-big {
  background: var(--primary-green);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.card-stats .numbers {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-stats .numbers .counters-wrapper {
  margin-top: auto;
}

/* Σταθερό ύψος για τα badge containers */
.card-stats .card-category:last-child {
  margin-top: auto;
  padding-top: 10px;
}

.card-stats .card-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.3;
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.card-stats .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: auto;
}

.card-stats .card-title .fa-info-circle {
  margin-left: 5px;
  margin-right: 10px;
}

.card-stats .card-title a:hover {
  color: var(--primary-green);
}

.card-stats .card-category {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
  min-height: 20px;
  line-height: 1.4;
}

.card-stats .badge {
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.card-stats .badge-danger {
  background-color: var(--accent-orange);
}

.card-stats .btn-sm {
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-stats .btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.card-stats .btn-success:hover {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* Map Container */
#mapid {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  border: 3px solid white;
  z-index: -1;
}

/* Fields Column */
#fieldscol {
  position: relative;
}

.searcharea {
  background: white;
  border-radius: 12px 12px 0 0;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.searcharea h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-gray);
  margin-bottom: 15px;
  position: relative;
  padding-left: 15px;
}

.searcharea h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  height: 20px;
  width: 5px;
  background: var(--primary-green);
  border-radius: 3px;
}

.searcharea input[type="text"] {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 15px;
  width: 100%;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.searcharea input[type="text"]:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(120, 180, 20, 0.15);
  outline: none;
}

.fieldsresult {
  background: white;
  border-radius: 0 0 12px 12px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-height: 460px;
  overflow-y: auto;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-green) var(--light-gray);
}

.fieldsresult::-webkit-scrollbar {
  width: 8px;
}

.fieldsresult::-webkit-scrollbar-track {
  background: var(--light-gray);
  border-radius: 4px;
}

.fieldsresult::-webkit-scrollbar-thumb {
  background-color: var(--primary-green);
  border-radius: 10px;
}

.fieldwrap {
  padding: 15px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.fieldwrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-green);
  transform: translateX(-5px);
  transition: transform 0.3s ease;
}

.fieldwrap:hover {
  background-color: rgba(120, 180, 20, 0.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fieldwrap:hover::before {
  transform: translateX(0);
}

.fieldwrap a {
  color: var(--dark-gray);
  text-decoration: none;
  display: block;
}

.fieldname {
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-gray);
  margin-bottom: 5px;
  transition: color 0.3s ease;
}

.fieldwrap:hover .fieldname {
  color: var(--primary-green);
}

.ektasi {
  font-size: 13px;
  color: #6c757d;
  display: block;
  margin-bottom: 3px;
}

.location {
  font-size: 13px;
  color: #6c757d;
  display: block;
  margin-bottom: 3px;
}

.cropname {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-green);
  display: block;
  margin-top: 8px;
}

.btn-block {
  border-radius: 10px;
  padding: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 15px;
}

.btn-info {
  /* background-color: var(--accent-orange); */
  background-color: #23ccef;
  border-color: var(--accent-orange);
}

.btn-info:hover {
  background-color: #17a2b8;
  border-color: var(--light-orange);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Points summary area */
#pointswrap {
  background: linear-gradient(135deg, #a4dbb0, #6db37e);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

#pointswrap::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -50%;
  left: -50%;
}

#topmsg {
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--dark-gray);
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.dashimg {
  background: white;
  border-radius: 8px;
  padding: 8px;
  margin-right: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.dashimg:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#pointswrap .card-category {
  color: white;
  font-size: 15px;
  margin-left: 5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

#pointswrap .progress {
  margin-left: 5px;
  height: 10px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  overflow: hidden;
}

#pointswrap .progress-bar {
  background: linear-gradient(
    90deg,
    var(--accent-orange),
    var(--primary-green)
  );
  border-radius: 5px;
  transition: width 1.5s ease;
  position: relative;
}

#pointswrap .progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* Checkbox styling */
label {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--dark-gray);
  cursor: pointer;
  user-select: none;
  margin-left: 10px;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 5px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(120, 180, 20, 0.15);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Info popups */
.fa-info-circle {
  color: var(--accent-orange);
  margin-left: 5px;
  cursor: help;
  transition: all 0.3s ease;
}

.fa-info-circle:hover {
  color: var(--light-orange);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .card-stats .icon-big {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .card-stats .card-title {
    font-size: 16px;
  }

  .card-stats .card-category {
    font-size: 13px;
  }

  #mapid {
    height: 400px !important;
  }
}

@media (max-width: 768px) {
  .card-stats {
    margin-bottom: 15px;
  }

  .fieldwrap {
    padding: 12px;
  }

  .searcharea h3 {
    font-size: 18px;
  }

  #pointswrap {
    padding: 15px;
  }

  #topmsg {
    font-size: 16px;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .card-stats .row {
    flex-direction: column;
  }

  .card-stats .icon-big {
    margin: 0 0 15px 0;
  }

  .card-stats .numbers {
    text-align: center !important;
  }
}

/* dashboard.html responsiveness */

/* Card style βελτιώσεις */
.card.card-stats {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  background-color: #fff;
}

.card.card-stats:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.card.card-stats .card-body {
  padding: 20px;
}

.card .icon-big {
  font-size: 2.5rem;
  color: #17a2b8;
}

.card .numbers h4.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card .numbers .card-category {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.card .badge {
  font-size: 0.85rem;
  padding: 5px 10px;
}

/* Responsive layout */
@media (max-width: 767px) {
  .card.card-stats {
    margin-bottom: 20px;
  }

  .card .numbers h4.card-title a {
    font-size: 1rem;
  }

  .card .icon-big {
    font-size: 2rem;
  }
}

/* Make all cards the same height inside their row */
.row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.card.card-stats {
  flex: 1;
}

/* agrofields.html  */

#btnrequestflight {
  background-color: #23ccef; /* Αντικατάστησε με το χρώμα που θέλεις για το κουμπί */
  color: white; /* Αν θέλεις να αλλάξεις το χρώμα του κειμένου */
  border: none; /* Αν θες να αφαιρέσεις το περίγραμμα του κουμπιού */
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}

#btnrequestflight:hover {
  background-color: #17a2b8; /* Χρώμα όταν το κουμπί είναι σε hover */
}

.agrofield-card {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  overflow: visible;
  cursor: pointer;
  padding: 20px;
  margin-bottom: 30px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.agrofield-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(104, 165, 48, 0.2);
}

.agrofield-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-green);
  border-radius: 12px 12px 0 0;
}

/* Field ID marker */
.field-id-marker {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.9rem;
  color: #6c757d;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 500;
}

/* Top action buttons */
.field-actions-top {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

/* Checkbox wrapper */
.field-checkbox-wrapper {
  position: absolute;
  top: 10px;
  left: 50px;
  z-index: 5;
}

/* NDVI Image styling */
.field-ndvi-container {
  width: 60%;
  height: 180px;
  margin-bottom: 15px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 8px;
}

/* παλιος κωδικας */
/* .agrobox-badge {
position: absolute;
bottom: -12px;
left: 50%;
transform: translateX(-50%);
background-color: var(--primary-green);
color: white;
font-size: 0.85rem;
font-weight: 700;
padding: 3px 10px;
border-radius: 5px 5px 0 0;
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
z-index: 5;
} */

/* νεος κωδικας */
.agrobox-badge {
  position: relative;
  bottom: 0;
  margin-top: auto;
  background-color: var(--primary-green);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  text-align: center;
  width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  display: block;
  box-sizing: border-box;
}

.field-ndvi-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.agrofield-card:hover .field-ndvi-image {
  transform: scale(1.05);
}

.field-ndvi-placeholder {
  width: 100%;
  height: 180px;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-bottom: 15px;
  margin-top: 10px;
  font-size: 3rem;
  color: #ccc;
}

/* Field name styling */
.field-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark-gray);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

/* Field details section */
.field-details {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.field-detail-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.field-detail-item:last-child {
  border-bottom: none;
}

.field-icon {
  width: 25px;
  font-size: 1.2rem;
  margin-right: 10px;
  text-align: center;
}

.crop-icon {
  color: var(--primary-green);
}

.location-icon {
  color: var(--accent-orange);
}

.size-icon {
  color: #3182ce;
}

.field-detail-text {
  font-size: 1.1rem;
  color: var(--dark-gray);
  font-weight: 500;
}

.field-size {
  font-weight: 700;
}

/* Admin info section */
.field-admin-info {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.9rem;
  margin-top: auto;
  margin-bottom: 15px;
}

.field-admin-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.field-admin-item:last-child {
  margin-bottom: 0;
}

.field-admin-icon {
  color: #6c757d;
  margin-right: 5px;
  width: 15px;
  text-align: center;
}

.field-admin-link {
  color: #4299e1;
  text-decoration: none;
}

.field-admin-link:hover {
  text-decoration: underline;
}

/* OSDE Code badge */
.agrobox-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-green);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .field-ndvi-container,
  .field-ndvi-placeholder {
    height: 150px;
  }

  .field-name {
    font-size: 1.4rem;
  }

  .field-detail-text {
    font-size: 1rem;
  }
}

:root {
  --primary-green: #68a530;
  --secondary-green: #4c7d23;
  --accent-orange: #ee6c20;
  --light-orange: #ff8133;
  --light-gray: #f2f2f2;
  --dark-gray: #404040;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.agrobox-container {
  background: #f2f2f2;
  min-height: 100vh;
  padding: 20px;
}

.agrobox-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  padding-bottom: 25px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.agrobox-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(104, 165, 48, 0.2);
}

.agrobox-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-green);
}

.agrobox-header {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.agrobox-title {
  color: var(--dark-gray);
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  padding-left: 15px;
  margin-bottom: 0.5rem;
}

.agrobox-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  height: 25px;
  width: 5px;
  background: var(--primary-green);
  border-radius: 3px;
}

.agrobox-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

.agrobox-search {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.agrobox-btn-primary {
  background-color: var(--primary-green);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-primary:hover {
  background-color: var(--secondary-green);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-btn-secondary {
  background-color: var(--accent-orange);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-secondary:hover {
  background-color: #d95c18;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-btn-danger {
  background-color: #ca3a30;
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-danger:hover {
  background-color: #b02c22;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background-color: #fff;
  font-size: 1rem;
  color: #333;
  transition: border-color 0.3s ease;
}

.agrobox-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(104, 165, 48, 0.15);
  outline: none;
}

.agrobox-card-actions-top {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.agrobox-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.agrobox-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-top: 10px;
}

.agrobox-card-subtitle {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.checkbox-custom {
  height: 16px;
  width: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-custom:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.checkbox-custom:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* responsiveness for agrofields.html */

@media (max-width: 480px) {
  .agrobox-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}

/* Make actions and badge align better */
.field-actions-top {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}





/* νέοι κανόνες για τα κουμπια του agrofield edit στο mobile */

@media (max-width: 767px) {
  #toolbar.card-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    width: 100%;
  }

  #toolbar.card-footer .col-auto {
    width: 100%;
    margin: 0;
  }

  #toolbar.card-footer .btn {
    display: flex !important;
    width: 100%;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 14px;
    padding: 0 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

 
}
/* τελος νεωων κανονων για την gsmbox edit */



/* απενεργοποιηση του d-flex για mobile */
@media (max-width: 575.98px) {
  .d-flex {
    display: block !important;
  }
}








/* Responsive image container */
.field-ndvi-container {
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 10px;
}

.field-ndvi-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.field-ndvi-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  color: #999;
  height: 180px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.agrobox-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background-color: #e3f2d4;
  color: #467d23;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-top: 8px;
  margin-right: 6px;
  white-space: normal; /* 👈 επιτρέπει πολλές γραμμές */
  word-break: break-word; /* 👈 σπάει μεγάλες λέξεις */
  overflow-wrap: break-word;
  max-width: 100%; /* 👈 περιορίζει το πλάτος */
}

/* Field name */
.field-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Icons with spacing */
.field-detail-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  margin-bottom: 4px;
  color: #555;
}

.field-detail-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Admin info block */
.field-admin-info {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #666;
}

.field-admin-item {
  margin-bottom: 4px;
}

.field-admin-link {
  color: #388e3c;
  text-decoration: underline;
  font-weight: 500;
}

/* Checkbox position fix */
.field-checkbox-wrapper {
  position: absolute;
  top: 12px;
  left: 12px;
}

/* Responsive grid on smaller devices */
@media (max-width: 768px) {
  .grid-cols-1.md\:grid-cols-3 {
    grid-template-columns: 1fr !important;
  }
  .field-actions-top {
    position: static;
    margin-top: 10px;
    /* justify-content: flex-start; */
    /* τρίτη αφαίρεση */
  }
}

/* feed.html.php */

:root {
  --primary-green: #78b414;
  --secondary-green: #68a530;
  --accent-orange: #ff9510;
  --light-orange: #f57710;
  --light-gray: #f2f2f2;
  --dark-gray: #2a2e32;
}

/* Stats Cards */
.card-stats {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 25px;
  border: none;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.col-lg-3.col-sm-6 {
  margin-bottom: 25px;
  display: flex;
}

.card-stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--primary-green);
}

.card-stats:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-stats .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-stats .icon-big {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(120, 180, 20, 0.1);
  color: var(--primary-green);
  border-radius: 12px;
  margin: 0 auto;
  margin-left: -20px;
  transition: all 0.3s ease;
  font-size: 24px;
}

.card-stats:hover .icon-big {
  background: var(--primary-green);
  color: white;
  transform: rotate(10deg) scale(1.1);
}

.card-stats .numbers {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-stats .card-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark-gray);
  line-height: 1.3;
  min-height: 42px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.card-stats .card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  margin-right: auto;
}

.card-stats .card-title a:hover {
  color: var(--primary-green);
}

.card-stats .card-title .fa-info-circle {
  margin-left: 5px;
  margin-right: 10px;
}

.card-stats .card-category {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 8px;
  min-height: 20px;
  line-height: 1.4;
}

.counters-wrapper {
  margin-top: 15px;
  background-color: rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  padding: 10px;
}

.counter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0;
  margin-bottom: 0 !important;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.counter-item b {
  display: inline-flex;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.badge-danger {
  background-color: var(--accent-orange);
  color: white;
  box-shadow: 0 2px 5px rgba(255, 149, 16, 0.3);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .card-stats .icon-big {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .card-stats .card-title {
    font-size: 16px;
  }

  .card-stats .card-category {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .card-stats {
    margin-bottom: 15px;
  }

  .card-stats .row {
    flex-direction: column;
  }

  .card-stats .icon-big {
    margin: 0 0 15px 0;
  }

  .card-stats .numbers {
    text-align: center !important;
  }
}

#topmsg {
  font-weight: bold;
  background: #fff;
  margin-bottom: 10px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#pointswrap {
  background: #a4dbb0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 5px;
  border: 1px solid #317f42;
}
.dashimg {
  background: #fff;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 2px 3px 2px 0px;
  margin-right: 8px;
}
#pointswrap .card-category,
#pointswrap .progress {
  margin-left: 3px;
}

#fieldscol {
}
.fieldwrap {
  padding: 2px 14px;
  margin-bottom: 5px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.fieldwrap a {
  color: #212529;
}
.fieldwrap:hover {
  background-color: #78b414;
}
.fieldname {
  font-weight: 400;
  font-size: 18px;
  color: #000;
}
.ektasi {
  font-size: 11px;
}
.location {
  font-size: 11px;
}
.cropname {
  font-size: 12px;
}
.userliked span.liketitle {
  font-weight: bold;
}
.feewrap {
  margin: 10px 10%;
}
.feed {
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 20px;
  background-color: #fff;
}
.feed-date {
  text-align: right;
}
.feed-bar {
  display: inline-block;
}
.feed-toolbar {
  font-size: 12px;
}
.feed-bar-top {
  display: inline-block;
  padding: 1px 5px 0px 0px;
  font-size: 12px;
}
.feed-like {
  display: none;
}
.feed-source {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .feewrap {
    margin: 10px 2px;
  }
}

/* fieldsoverall.html.php */

:root {
  --primary-green: #78b414;
  --secondary-green: #68a530;
  --accent-orange: #ff9510;
  --light-orange: #f57710;
  --light-gray: #f2f2f2;
  --dark-gray: #2a2e32;
}

/* Main Card Styling */
.strpied-tabled-with-hover {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
  margin-bottom: 40px;
}

.strpied-tabled-with-hover .card-header {
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  );
  color: white;
  padding: 25px 30px;
  border: none;
  position: relative;
  overflow: hidden;
}

.strpied-tabled-with-hover .card-header::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -50%;
  left: -50%;
  animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.strpied-tabled-with-hover .card-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
}

.strpied-tabled-with-hover .card-category {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  position: relative;
}

.strpied-tabled-with-hover .card-body {
  /* padding: 30px; */
  /* αφαίρεση για την σωστη εμφανιση του η συνδρομη μου  */
  background-color: white;
}

/* test class for no padding */

.fieldsoverallnopadding {
  margin-top: -45px;
}

/* Toolbar and Search Styling */
.toolbar {
  margin-bottom: 35px;
}

.toolbar .btns {
  margin-bottom: 20px;
}

.toolbar .btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  border-radius: 10px;
  padding: 12px 25px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-left: auto; /* Εξασφαλίζει ότι το κουμπί θα είναι ευθυγραμμισμένο στα δεξιά */
  display: block; /* Τοποθετεί το κουμπί σε νέο block στοιχείο */
  width: 100%; /* Κάνει το κουμπί να καταλαμβάνει όλο το πλάτος */

  max-width: 300px;
}

.toolbar .btn-success:hover {
  background-color: var(--secondary-green);
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Τοποθέτηση των κουμπιών δίπλα-δίπλα */
.input-group-btn {
  display: flex; /* Ενεργοποιούμε το Flexbox */
  justify-content: flex-start; /* Ευθυγραμμίζει τα κουμπιά στην αρχή της γραμμής */
  gap: 10px; /* Απόσταση μεταξύ των κουμπιών */
}

/* Εάν χρειαστεί να προσθέσουμε περισσότερο στυλ στα κουμπιά */
.input-group-btn .btn {
  margin: 0; /* Εξάλειψη περιθωρίων */
  padding: 8px 15px; /* Ρύθμιση padding για καλύτερη εμφάνιση */
  font-size: 14px; /* Καθορισμός μεγέθους γραμματοσειράς */
  font-weight: 600; /* Ρύθμιση βάρους γραμματοσειράς */
  border-radius: 5px; /* Προσθήκη στρογγυλεμένων γωνιών */
}

/* Για μικρές οθόνες */
@media (max-width: 992px) {
  .input-group-btn {
    display: flex;
    justify-content: center; /* Στοιχίζει τα κουμπιά στο κέντρο */
    align-items: center; /* Βεβαιώνεται ότι τα κουμπιά είναι οριζόντια ευθυγραμμισμένα */
    gap: 10px; /* Μικρή απόσταση μεταξύ των κουμπιών */
    width: 100%; /* Διασφαλίζει ότι το container καταλαμβάνει το 100% του πλάτους */
  }

  /* Ρύθμιση πλάτους των κουμπιών για μικρές οθόνες */
  .searchFilter .btn-search,
  .btn-success,
  .searchFilter .btn-secondary {
    width: auto; /* Τα κουμπιά να έχουν φυσιολογικό πλάτος */
    margin-bottom: 0; /* Καταργούμε το περιθώριο κάτω από τα κουμπιά */
  }

  /* Εάν θέλεις να διασφαλίσεις ότι τα κουμπιά παραμένουν στο κέντρο και σε μικρές οθόνες */
  .searchFilter {
    display: flex;
    flex-direction: column;
    align-items: center; /* Στοιχίζει το περιεχόμενο στο κέντρο */
  }
}

#searchBtn {
  background-color: #78b414; /* Πράσινο χρώμα */
  border-color: #78b414; /* Επίσης πράσινο για τα σύνορα */
  color: white; /* Άσπρο χρώμα για το κείμενο */
}

#searchBtn:hover {
  background-color: #78b414; /* Πιο σκούρο πράσινο όταν το κουμπί είναι σε hover */
  border-color: #78b414; /* Σκούρο πράσινο για τα σύνορα */
}

.searchFilter {
  background-color: var(--light-gray);
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.searchFilter .form-row {
  margin-bottom: 15px;
}

.searchFilter .form-control {
  width: 100% !important; /* Εξασφαλίζει ότι το πεδίο αναζήτησης θα έχει πλήρες πλάτος */
  margin-bottom: 10px;
  border-radius: 10px 0 0 10px;
  border: 2px solid #e0e0e0;
  padding: 12px 18px;
  height: auto;
  transition: all 0.3s ease;
  font-size: 15px;
}

.searchFilter .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(120, 180, 20, 0.15);
}

.searchFilter .btn-search {
  background-color: var(--primary-green);
  color: white;
  border-radius: 0 10px 10px 0;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.searchFilter .btn-search:hover {
  background-color: var(--secondary-green);
  transform: translateX(3px);
}

.searchFilter .btn-secondary {
  background-color: #6c757d;
  color: white;
  border-radius: 0 10px 10px 0;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.searchFilter .btn-secondary:hover {
  background-color: #5a6268;
  transform: translateX(3px);
}

.searchFilter label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 10px;
  font-size: 15px;
}

.searchFilter select,
.searchFilter .select2-container {
  width: 100% !important;
}

/* Field Item Styling - με αυξημένες αποστάσεις */
.fieldwrap {
  margin: 20px 15px 35px; /* Σημαντικά αυξημένα περιθώρια */
  padding: 30px; /* Περισσότερο εσωτερικό περιθώριο */
  border: none;
  border-radius: 20px;
  background-color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

/* Αυξημένο περιθώριο στις στήλες που περιέχουν τα χωράφια */
.col-md-6 {
  padding: 0 20px; /* Αυξημένο πλευρικό padding */
  margin-bottom: 25px; /* Επιπλέον κάτω περιθώριο */
}

/* Αυξημένη απόσταση στη γραμμή που περιέχει τα χωράφια */
.row {
  margin-left: -20px;
  margin-right: -20px;
}




/* Responsive διορθώσεις */
@media (max-width: 992px) {
  .fieldwrap {
    margin: 15px 10px 30px; /* Λίγο μικρότερα περιθώρια σε tablet */
  }

  .col-md-6 {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .fieldwrap {
    margin: 10px 5px 25px; /* Μικρότερα περιθώρια σε κινητά */
  }

  .col-md-6 {
    padding: 0 10px;
  }
}

@media (max-width: 992px) {
  .toolbar .btn-success {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

.fieldwrap:hover {
  background-color: white;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.fieldwrap:hover::before {
  width: 12px;
  opacity: 1;
}

.fieldwrap:hover::after {
  opacity: 1;
}

.fieldinfo {
  position: relative;
  padding-left: 20px;
}

.fieldtitle,
.fieldtitle:hover {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-gray);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
  transition: all 0.4s ease;
}

.fieldtitle:hover {
  color: var(--primary-green);
  transform: translateX(5px);
}

.fieldimg {
  margin-right: 20px;
  height: 65px;
  width: 65px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid white;
}

.fieldwrap:hover .fieldimg {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border-color: var(--primary-green);
}

.ektasi {
  font-size: 15px;
  background-color: var(--accent-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 25px;
  display: inline-block;
  margin-left: 15px;
  font-weight: 600;
  box-shadow: 0 3px 8px rgba(255, 149, 16, 0.3);
  transition: all 0.3s ease;
}

.fieldwrap:hover .ektasi {
  background-color: var(--light-orange);
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(255, 149, 16, 0.4);
}

/* Table Styling */
.fieldwrap .table {
  margin: 20px 0 0;
  background-color: transparent;
}

.fieldwrap .table td {
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
  padding: 12px 8px;
  vertical-align: middle;
  transition: all 0.3s ease;
}

.fieldwrap:hover .table td {
  border-top-color: rgba(120, 180, 20, 0.2);
}

.fieldwrap .table tr:first-child td {
  border-top: none;
}

.tdlabel {
  font-weight: 600;
  color: var(--dark-gray);
  width: 50%;
  transition: all 0.3s ease;
}

.fieldwrap:hover .tdlabel {
  color: var(--primary-green);
}

.badge {
  padding: 6px 12px;
  font-weight: 600;
  border-radius: 25px;
  font-size: 13px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.fieldwrap:hover .badge {
  transform: scale(1.05);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

.badge-warning {
  background-color: var(--accent-orange);
  color: white;
}

.badge-success {
  background-color: var(--primary-green);
  color: white;
}

.badge-danger {
  background-color: #dc3545;
  color: white;
}

.fa-info-circle {
  color: var(--accent-orange);
  margin-left: 8px;
  font-size: 15px;
  cursor: help;
  transition: all 0.4s ease;
}

.fa-info-circle:hover {
  transform: scale(1.3) rotate(15deg);
  color: var(--light-orange);
}

/* Weather Section */
.weather {
  padding: 0 15px;
  transition: all 0.4s ease;
}

.fieldwrap:hover .weather {
  transform: scale(1.02);
}

/* Pagination Styling */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination .page-item .page-link {
  padding: 10px 18px;
  color: var(--dark-gray);
  border: none;
  margin: 0 5px;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-green);
  color: white;
  box-shadow: 0 5px 15px rgba(120, 180, 20, 0.3);
  transform: translateY(-3px);
}

.pagination .page-item:not(.active) .page-link:hover {
  background-color: rgba(120, 180, 20, 0.1);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animated elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

.fieldwrap:hover {
  animation: pulse 3s infinite;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .fieldwrap {
    margin: 15px 5px;
  }

  .fieldtitle,
  .fieldtitle:hover {
    font-size: 20px;
  }

  .fieldimg {
    height: 50px;
    width: 50px;
  }
}

@media (max-width: 768px) {
  .fieldinfo,
  .weather {
    width: 100%;
    text-align: left;
  }

  .weather {
    margin-top: 20px;
    text-align: center;
  }

  .searchFilter .form-row {
    margin-top: 15px;
  }
}

/* gsmboxes.html.php */

:root {
  --primary-green: #68a530;
  --secondary-green: #4c7d23;
  --accent-orange: #ee6c20;
  --light-orange: #ff8133;
  --light-gray: #f2f2f2;
  --dark-gray: #404040;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.agrobox-container {
  background: #f2f2f2;
  min-height: 100vh;
  padding: 20px;
}

.agrobox-card {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: white;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  position: relative;
  overflow: visible;
  cursor: pointer;
  padding-bottom: 25px;
  margin-bottom: 15px;
}

.agrobox-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 0 15px rgba(104, 165, 48, 0.2);
}

.agrobox-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-green);
}

.agrobox-header {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}

.agrobox-title {
  color: var(--dark-gray);
  font-weight: 700;
  font-size: 1.8rem;
  position: relative;
  padding-left: 15px;
  margin-bottom: 0.5rem;
}

.agrobox-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  height: 25px;
  width: 5px;
  background: var(--primary-green);
  border-radius: 3px;
}

.agrobox-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
}

.agrobox-search {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

/* Icon Buttons */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.agrobox-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.agrobox-btn-primary {
  background-color: var(--primary-green);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-primary:hover {
  background-color: var(--secondary-green);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-btn-secondary {
  background-color: var(--accent-orange);
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-secondary:hover {
  background-color: #d95c18;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-btn-danger {
  background-color: #ca3a30;
  border: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.agrobox-btn-danger:hover {
  background-color: #b02c22;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.agrobox-input {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
  transition: all 0.3s ease;
}

.agrobox-input:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 2px rgba(104, 165, 48, 0.15);
  outline: none;
}

.agrobox-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.agrobox-card-actions-top {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.agrobox-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-gray);
  margin-top: 10px;
}

.agrobox-card-subtitle {
  font-size: 0.875rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.agrobox-field-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.agrobox-field-link:hover {
  color: var(--secondary-green);
  text-decoration: underline;
}

.progress-bar {
  height: 10px;
  border-radius: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  margin: 5px 0;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar-fill-battery {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #48bb78, #68a530);
  position: relative;
  transition: width 1s ease-in-out;
  box-shadow: 0 0 10px rgba(104, 165, 48, 0.5);
}

.progress-bar-fill-battery::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.progress-bar-fill-signal {
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #f6ad55, #ee6c20);
  position: relative;
  transition: width 1s ease-in-out;
  box-shadow: 0 0 10px rgba(238, 108, 32, 0.5);
}

.progress-bar-fill-signal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

.agrobox-sensor-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-gray);
  transition: transform 0.3s ease, color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sensor-container:hover .agrobox-sensor-value {
  transform: scale(1.15);
  color: var(--primary-green);
}

.temperature-value {
  background: -webkit-linear-gradient(45deg, #f6ad55, #e53e3e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-warm 2s infinite alternate ease-in-out;
}

.humidity-value {
  background: -webkit-linear-gradient(45deg, #63b3ed, #3182ce);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse-cool 2s infinite alternate ease-in-out;
}

@keyframes pulse-warm {
  0% {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  100% {
    text-shadow: 0 0 8px rgba(229, 62, 62, 0.4);
  }
}

@keyframes pulse-cool {
  0% {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  100% {
    text-shadow: 0 0 8px rgba(49, 130, 206, 0.4);
  }
}

.agrobox-sensor-label {
  font-size: 0.75rem;
  color: #6c757d;
  font-weight: 500;
}

.agrobox-badge {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-green);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.checkbox-custom {
  height: 16px;
  width: 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-custom:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

.checkbox-custom:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sensor-readings {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  background: rgba(243, 244, 246, 0.7);
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(5px);
  position: relative;
  overflow: hidden;
}

.sensor-readings:hover {
  background-color: rgba(234, 242, 224, 0.8);
  transform: translateY(-5px);
  box-shadow: inset 0 1px 10px rgba(0, 0, 0, 0.08),
    0 10px 15px rgba(0, 0, 0, 0.1);
}

.sensor-readings::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(0deg);
  opacity: 0;
  transition: opacity 0.5s ease, transform 2s ease;
}

.sensor-readings:hover::before {
  opacity: 1;
  transform: rotate(30deg);
}

/* Sensor icons */
.battery-icon {
  color: var(--primary-green);
  font-size: 1.25rem;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.agrobox-card:hover .battery-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 3px 5px rgba(104, 165, 48, 0.5));
}

.signal-icon {
  color: var(--accent-orange);
  font-size: 1.25rem;
  margin-bottom: 5px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.agrobox-card:hover .signal-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 3px 5px rgba(238, 108, 32, 0.5));
}

.icon-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

/* responsive for gsmboxes */

/* reports.html.php */

:root {
  --primary-green: #78b414;
  --secondary-green: #68a530;
  --accent-orange: #ff9510;
  --light-orange: #f57710;
  --light-gray: #f2f2f2;
  --dark-gray: #2a2e32;
}

/* Report Cards Styling */
.report-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  padding: 15px 0;
}

.report-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.report-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.report-card-locked {
  position: relative;
}

.report-card-locked::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
  border-radius: 15px;
}

.lock-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 32px;
  z-index: 3;
}

.report-header {
  background: var(--primary-green);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.report-header::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -50%;
  left: -50%;
}

.report-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.report-card:hover .report-icon {
  transform: scale(1.1) rotate(5deg);
}

.report-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.report-body {
  padding: 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report-description {
  color: var(--dark-gray);
  font-size: 14px;
  line-height: 1.5;
}

.report-footer {
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.05);
  text-align: center;
}

.report-link {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-green);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.report-link:hover {
  background-color: var(--secondary-green);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
  text-decoration: none;
}

/* Report Selection Dropdown Styling */
.report-selector-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.report-selector-form {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 10px;
  padding: 10px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.report-selector-label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-right: 15px;
  white-space: nowrap;
}

.report-selector {
  flex: 1;
  min-width: 250px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%232A2E32" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding: 12px 45px 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.report-selector:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(120, 180, 20, 0.15);
  outline: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2378b414" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="18 15 12 9 6 15"></polyline></svg>');
}

/* Report Content Styling */
.report-content-container {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.report-content-header {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.report-content-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.report-content-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-gray);
  margin: 0;
}

.report-chart-container {
  background: rgba(242, 242, 242, 0.5);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  position: relative;
}

.report-filters {
  background: white;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.report-filters-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.report-filters-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.report-filter-group {
  margin-bottom: 15px;
}

.report-filter-label {
  display: block;
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 8px;
  font-size: 14px;
}

.report-filter-control {
  width: 100%;
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.report-filter-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(120, 180, 20, 0.15);
  outline: none;
}

.report-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.report-export-btn {
  padding: 10px 20px;
  background-color: var(--accent-orange);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.report-export-btn:hover {
  background-color: var(--light-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.report-apply-btn {
  padding: 10px 20px;
  background-color: var(--primary-green);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.report-apply-btn:hover {
  background-color: var(--secondary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.report-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.report-data-table thead th {
  background-color: var(--primary-green);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 15px;
  border: none;
}

.report-data-table tbody tr {
  background-color: white;
  transition: all 0.3s ease;
}

.report-data-table tbody tr:nth-child(even) {
  background-color: rgba(242, 242, 242, 0.6);
}

.report-data-table tbody tr:hover {
  background-color: rgba(120, 180, 20, 0.08);
}

.report-data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #eaeaea;
}

.report-data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .report-selector-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .report-selector-form {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }

  .report-selector-label {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .report-selector {
    width: 100%;
  }

  .report-filters-form {
    grid-template-columns: 1fr;
  }

  .report-actions {
    flex-direction: column;
    gap: 10px;
  }

  .report-export-btn,
  .report-apply-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Βελτιωμένο στυλ για τα report boxes στην αρχική σελίδα αναφορών */
.reportwrap {
  min-height: 120px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--secondary-green)
  ) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.reportwrap::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -50%;
  left: -50%;
  pointer-events: none;
}

.reportwrap:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.reportwrap img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.reportwrap:hover img {
  transform: scale(1.1) rotate(5deg);
}

.reportwrap a {
  font-weight: 700;
  color: white;
  font-size: 16px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.reportwrap a:hover {
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  color: white;
}

@media (max-width: 1029px) {
  .reportwrap {
    min-height: 140px;
  }
}

@media (max-width: 768px) {
  .reportwrap {
    flex-direction: row;
    text-align: left;
    padding: 15px;
  }

  .reportwrap img {
    margin-bottom: 0;
    margin-right: 15px;
  }
}

/* graphics.html.php */

/* Global Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.card {
  border-radius: 10px;
  margin-bottom: 30px;
  background-color: white;
  padding: 15px;
}

.card-header {
  background-color: #007bff;
  color: white;
  padding: 15px;
  border-radius: 5px;
}

.card-body {
  padding: 20px;
}

h2.card-title {
  font-size: 1.5rem;
}

/* Form Styling */
.form-row {
  margin-bottom: 15px;
}

label {
  font-weight: bold;
}

.input-group-text {
  background-color: #f1f1f1;
  border: 1px solid #ccc;
}

/* Responsive Layout for Date and Report Form */
.row {
  margin: 0;
}

.col-md-7,
.col-md-5 {
  padding-right: 10px;
}

.col-sm-4,
.col-sm-5,
.col-md-7,
.col-md-5 {
  padding-left: 10px;
}

/* Button Styling */
button {
  width: auto;
  padding: 10px;
  margin-top: 5px;
}

.btn {
  font-size: 14px;
  margin: 5px 0;
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
  .col-md-12 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 992px) {
  /* Stack the date fields on medium screens */
  .col-md-7,
  .col-md-5 {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .col-sm-4,
  .col-sm-5 {
    width: 100%;
  }

  .float-right {
    text-align: center;
  }

  /* Buttons take full width */
  .btn {
    width: 100%;
  }

  .card-header h2 {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  /* Stack the form elements on smaller screens */
  .col-sm-4 {
    width: 100%;
  }

  .card-header {
    padding: 10px;
  }

  h2.card-title {
    font-size: 1.1rem;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  /* Further adjustments for mobile screens */
  .col-sm-4,
  .col-sm-5,
  .col-md-7,
  .col-md-5 {
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
  }

  .card-header h2 {
    font-size: 1rem;
  }

  .card-body {
    padding: 10px;
  }

  .form-row {
    /* width: 100%; */
    /* αφαίρεση 7 */
  }

  /* Adjust buttons for smaller screens */
  button {
    padding: 12px;
  }
}

/* gsmbox.html.view.php */
/* responsive  */
/* Για να περιορίσουμε την έκταση των πεδίων και να τα κάνουμε πιο ευέλικτα σε μικρές οθόνες */
table td {
  word-wrap: break-word;
  max-width: auto; /* Ή ότι μέγεθος θέλεις */
}

/* Εξασφαλίζουμε ότι οι μορφές κειμένων και πεδίων χωρούν στην οθόνη */
input,
select {
  width: 100%;
  box-sizing: border-box;
}

/* Για πολύ μικρές οθόνες, τα πεδία πρέπει να προσαρμόζονται */
@media (max-width: 768px) {
  table td {
    font-size: 14px;
  }
}

/* notifications.html.php */

#massdelete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* agroadvices.html.php */

.search-container {
  display: flex;
}

.search-input {
  width: 300px;
  padding: 10px;
  border: 1px solid #ccc;
  border-right: none;
}

.search-button {
  padding: 10px 20px;
  border: 1px solid #ccc;
  background-color: #007bff;
  color: white;
  cursor: pointer;
  border-left: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button:hover {
  background-color: #0056b3;
}

.search-container input.form-control,
.search-container .btn-search {
  height: 38px;
  margin: 0;
  vertical-align: middle;
}

/* συμπληρωματικα css gια το agroadvices για την τοποθετηση αποτελεσματων */

/* body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
} */

#resetButton,
label,
#resultsDropdown {
  margin: 0 10px;
}

label,
#resultsDropdown {
  display: inline-block;
  vertical-align: middle;
}

/*  σελίδα mysubscriptions κεντραρισμα τα element του πινακα στο κεντρο */

.searchFilter {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  flex-direction: column;
  padding: 20px;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}

label {
  margin-bottom: 5px;
}

select {
  width: 100%;
}

.progress {
  height: 30px !important;
  border-radius: 20px;
}

/* responsive για σελίδα mysubscriptions */

.searchFilter {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  flex-direction: column;
  padding: 20px;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

label {
  margin-bottom: 5px;
}

select {
  width: 100%;
}

/* Responsive για tablet και κάτω */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: center;
  }

  select {
    width: 100%;
  }

  .card-stats .icon-big {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(120, 180, 20, 0.1);
    color: var(--primary-green);
    border-radius: 12px;
    margin: 0 auto;
    margin-left: -20px;
    transition: all 0.3s ease;
    font-size: 24px;
    position: relative;
  }
}

/* code that works */

.navbar-toggler {
  border-color: #ffffff !important;
}

/* === Global Reset === */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.filter-wrapper {
  padding: 1rem;
  background-color: #f8f9fa;
  max-width: 1800px;
  margin: auto;
}

.filter-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-input {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
}

.search-actions {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-blue {
  background-color: #007bff;
  color: white;
}

.btn-green {
  background-color: #78b414;
  color: white;
}

.btn-red {
  background-color: #dc3545;
  color: white;
}

.limit-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 200px;
}

.limit-select {
  padding: 0.5rem;
  font-size: 1rem;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.filter-col {
  display: flex;
  flex-direction: column;
}

.filter-col label {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.date-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.date-group input {
  flex: 1 1 120px;
  padding: 0.5rem;
  font-size: 1rem;
}

@media (min-width: 992px) {
  .search-row {
    flex-direction: row;
    align-items: center;
  }

  .labelclass {
    margin-top: 10px;
  }

  .mobile-add {
    display: none;
  }

  .search-input {
    flex: 1;
  }

  .search-actions {
    flex-direction: row;
  }

  .limit-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .date-group {
    flex-wrap: nowrap;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .search-row {
    flex-direction: row;
    align-items: center;
  }

  .search-input {
    flex: 1;
  }

  .search-actions {
    flex-direction: row;
  }

  .limit-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
  }

  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .date-group {
    flex-wrap: nowrap;
  }
}

@media (min-width: 1200px) {
  .filters-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}









/* τριτη */

/* σελίδα agronomistprices css για πινακα on click */


.priceswrap {
    margin-top: 10px;
    row-gap: 10px;
  }

  .priceswrap .form-group {
    padding: 0 5px;
  }

  .priceswrap .input-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  .priceswrap .input-group-text {
    white-space: nowrap;
    font-size: 13px;
    padding: 4px 6px;
  }

  .priceswrap input[type="number"] {
    min-width: 70px;
    max-width: 100px;
    text-align: right;
  }

  .priceswrap .col-md-2 {
    flex: 0 0 auto;
    width: 16.6666%; 
  }

  
  .priceswrap .form-group {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    background-color: #f9f9f9;
  }


/* κανόνες για το icon που ανοίγει τον κρυφό πίνακα στην agronomistprices */
  

.fa-minus-square.red {
    color: red;
}

.fa-plus-square.green {
    color: green;
}




















/* δευτερα 28 απριλιου */







/* agrofields νεες κλασεις μετα την αφαιρεση του tailwind */



/* Wrapper για όλες τις κάρτες */
.agrofield-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Κάθε κάρτα */
.agrofield-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: calc(33.333% - 14px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.agrofield-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Μείωση ορατότητας αν inactive */
.opacity-70 {
    opacity: 0.7;
}

/* Στοιχεία μέσα στην κάρτα */
.field-name {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    text-align: center;
}

.field-details {
    margin-top: 10px;
}

.field-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.field-icon {
    margin-right: 8px;
    color: #3f51b5;
}

/* Badges */
.agrobox-badge {
    display: inline-block;
    background-color: var(--primary-green);
    color: #e0f7fa;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .agrofield-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .agrofield-card {
        width: 100%;
    }
}



/* agronomistfarmers */




#toolbar .col-auto {
    padding: 0 !important;
    margin: 5px !important;
}










/* τρίτη */

/* marketing */


.form-layout {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  align-items: center;
}

.form-label {
  width: 150px;
  font-weight: bold;
  margin-right: 15px;
}

.form-field {
  flex: 1;
}

.row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

@media (max-width: 575.98px) {
  .row {
    display: block;
    align-items: normal; 
   
  }
}

.col-sm-2 {
  flex: 0 0 20%;
}

.col-sm-10 {
  flex: 0 0 80%;
}

.form-group {
  margin-bottom: 0;
}

.form-control,
.form-group select,
.form-group textarea {
  width: 100%;
}


.card-footer {
  display: flex;
  justify-content: center;
  gap: 10px; 
  padding: 10px 0;
}

.card-footer .btn {
  margin: 0; 
}

.card-footer .btn {
  min-width: 120px; 
  padding: 8px 16px; 
  font-size: 14px; 
}

.card-footer .btn-danger,
.card-footer .btn-success {
  display: inline-block; 
  width: auto; 
}


.hide {
	display: none;
}


/* κουμπι disabled 15/5 */

button.visible-disabled:disabled {
  opacity: 1 !important;
  pointer-events: none !important; 
  cursor: not-allowed;
  color: #fff; 
  background-color: grey; 
  border-color: grey;
}







/* 20052025 */

/* cards */

.cards-row {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem;
  /* overflow-x: hidden; */
}

.card-wrapper {
  padding: 0.5rem;
  box-sizing: border-box;
  flex: 1 1 100%;
  max-width: 100%;
  display: flex;
  min-width: 0;
}

.card-stats {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-body {
  flex: 1;
  min-width: 0;
}

/* Μεγάλες οθόνες */
@media (min-width: 576px) {
  .card-wrapper {
     flex: 1 1 50%;
     max-width: 50%;
  }
}

@media (min-width: 1200px) {
  .card-wrapper {
     flex: 1 1 25%;
     max-width: 25%;
  }
}

/* Μικρές οθόνες - βελτιστοποίηση */
@media (max-width: 575.98px) {
  .cards-row {
     margin: 0;
     padding: 0 0.5rem;
     box-sizing: border-box;
     max-width: 100%;
  }

  .icon-big {
     margin-left: 0;
     margin-bottom: 12px;
  }

  body,
  html {
     margin: 0;
     padding: 0;
     overflow-x: hidden;
     box-sizing: border-box;
  }

  .card-body>div {
     /* display: flex !important; */
     /* πρώτη αφαίρεση */
     flex-direction: column !important;
     align-items: center !important;
  }

  .cards-row,
  .card-wrapper,
  .card-stats,
  .card-body,
  .card-body>div {
     min-width: 0 !important;
     /* max-width: 100% !important; */
     /* αφαίρεση 4 το max width*/
     overflow-wrap: break-word !important;
     word-wrap: break-word !important;
     /* word-break: break-word !important;
     hyphens: auto !important; */
     /* δεύτερη αφαίρεση */
  }

  .icon-big,
  .icon-big i {
     max-width: 100% !important;
     height: auto !important;
     display: block !important;
  }

  button,
  a.btn {
     white-space: normal !important;
     word-break: break-word !important;
     max-width: 100% !important;
  }

  body,
  html {
     overflow-x: hidden !important;
  }


  .icon-big {
     margin-bottom: 12px;
  }

  .card-title {
     width: 100%;
     text-align: center;
     margin: 0;
     padding: 0 1rem 8px;
     /* λίγο padding κάτω για απόσταση από το button */
     position: relative;
  }

  /* Κάνει το πρώτο <a> (ο τίτλος) μπλοκ και στο κέντρο */
  .card-title>a:first-child {
     display: block;
     margin: 0 auto;
     color: inherit;
     text-decoration: none;
  }

  /* Το κουμπί να εμφανίζεται κάτω από τον τίτλο, όχι absolute */
  .card-title>a.float-right {
     position: static !important;
     float: none !important;
     display: inline-block;
     margin-top: 8px;
  }
}













/* 06062025 */
/* agrofield.html.view.php containers με dropdown αλλαγη δορυφορου και το διπλα container με τις εικονες και τα βελάκια */


.filtersdateswrap {
  display: flex;
  gap: 0;
  align-items: stretch;
}

#filterswrap.wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100px;
  padding: 5px 8px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.filtersdateswrap .form-row {
  margin: 0;
  flex-grow: 1;
}

.filtersdateswrap .form-group {
  margin-bottom: 0;
}

.filtersdateswrap label.col-form-label {
  margin-bottom: 0;
  line-height: 1.1;
  font-size: 0.9rem;
}

.wrap.datescroller.col-md-9 {
  display: flex;
  flex-direction: column;
  flex: 3;
  min-height: 100px;
  padding: 5px 8px;
  margin: 0;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.datescroller .row {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
}

.col-arrow.text-left, 
.col-arrow.text-right {
  width: 40px;
  min-width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.col-scroller {
  flex: 1;
  overflow-x: auto;
  padding: 0 5px;
}

.weather-forecast .weather-icon {
  float: left;
  margin-top: -8px;
}




/* μεταφορα ολου του style απ την agrofield.html.view.php  */
  .geo-label {
        display: inline-block;
        width: 145px;
        font-weight: bold !important;
        font-size: 14px !important;
    }

    .fa-agro {
        font-size: 36px;
        color: #2A2E32;
        font-weight: bold;
    }

    .fa-topmenu {
        font-size: 24px;
    }

    .tabwrap {
        cursor: pointer;
        text-align: center;
        padding: 14px 14px;
        margin-bottom: 5px;
        border-radius: 4px;
        border: 1px solid rgba(0, 0, 0, .125);
    }

    .tabwrap a {
        color: #212529;
        font-weight: bold;
    }

    div.active .tabwrap {
        border: 1px solid #78b414;
    }

    .dropdown-item.active {
        border: 1px solid #78b414;
    }

    #mapid {
        position: relative;
        height: 480px;
        z-index: 1;
    }

    .tdlabel {
        width: 50%
    }

    ul.fieldviewnav li {
        margin-right: 5px;
        margin-left: 5px;
    }

    ul.fieldviewnav li:last {
        margin-right: 0px;
    }

    ul.fieldviewnav li a {
        text-align: center;
        padding: 14px 14px;
        margin-bottom: 5px;
        color: #212529;
        font-weight: bold;
        color: #fff;
    }

    ul.fieldviewnav .nav-link {
        padding: 20px 42px;
        /* αφαίρεση 5 /διορθωση τα νουμερα του padding*/
        border: 1px solid rgba(0, 0, 0, .125);
        background: #FF9510 !important;
    }

    ul.fieldviewnav .nav-link.active {
        border: 2px solid #78b414;
        background: #78B414 !important;
        color: #fff;
    }

    ul.fieldviewnav .nav-link.active a {
        color: #fff;
    }

    ul.fieldviewnav .nav-link:hover,
    ul.fieldviewnav .nav-link:focus {
        background-color: #78B414 !important;
    }

    ul.fieldviewnav li a {
        font-size: 16px;
    }

    .col-arrow {
        width: 3.9%;
        min-width: 28px;
        float: left;
    }

    .col-scroller {
        width: 92%;
        float: left;
    }

    @media (max-width: 1402px) {
        .col-scroller {
            width: 91%;
        }
    }

    @media (max-width: 1286px) {
        .col-scroller {
            width: 90%;
        }
    }

    @media (max-width: 1016px) {
        .col-scroller {
            width: 89%;
        }
    }

    @media (max-width: 856px) {
        .col-scroller {
            width: 88%;
        }

        i.arrow {
            font-size: 4em;
            padding-top: 12px;
        }

        .geo-label {
            width: 125px;
        }
    }

    @media (max-width: 840px) {
        ul.fieldviewnav li {
            width: 22.60%;
        }

        .geo-label {
            width: 135px;
        }
    }

    @media (max-width: 796px) {
        .col-scroller {
            width: 87%;
        }
    }

    @media (max-width: 767px) {
        .col-scroller {
            width: 90%;
        }
    }

    @media (max-width: 577px) {
        ul.fieldviewnav li {
            width: 46%
        }
    }

    @media (max-width: 606px) {
        .col-scroller {
            width: 88%;
        }
    }

    @media (max-width: 512px) {
        .col-scroller {
            width: 86%;
        }
    }

    @media (max-width: 446px) {
        .col-scroller {
            width: 84%;
        }
    }

    @media (max-width: 396px) {
        .col-scroller {
            width: 82%;
        }
    }

    @media (max-width: 359px) {
        .col-scroller {
            width: 80%;
        }
    }

    @media (max-width: 326px) {
        .col-scroller {
            width: 78%;
        }
    }

    .changedate {
        padding: 10px 20px;
        background-color: #FF9510;
        display: inline-block;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        color: #fff;
        margin-left: 2px;
        text-align: center;
        width: 150px;
    }

    .changedate.active {
        background-color: #78B414;
    }

    #polystats {
        height: 190px;
        width: 220px;
        position: absolute;
        right: 15px;
        top: 0px;
        z-index: 101;
        background-color: rgba(245, 119, 16, 0.7);
        pointer-events: auto;
        border: 2px solid #FF9510;
        padding: 5px;
    }

    #map-explain {
        height: 50px;
        width: 300px;
        position: absolute;
        left: 15px;
        top: 40%;
        z-index: 2;
        pointer-events: auto;
    }

    #map-explain img {
        max-width: 94%;
        display: block;
    }

    #tileloader {
        position: absolute;
        top: 40%;
        left: 33%;
        z-index: 101;
        pointer-events: auto;
        margin: 0 auto;
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.5);
    }

    #dateswrap {
        position: relative;
        margin-top: 2px;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        width: 100%;
        max-width: 200%;
    }

    #dateswrap::-webkit-scrollbar {}

    .arrow {
        cursor: pointer;
        padding-top: 6px;
    }

    .polygonwrap .wrap {
        background-color: #F2F2F2;
    }

    #filterswrap label {
        font-weight: bold;
    }

    .card-header {
        padding: 15px;
        background-color: #FF9510;
        color: white;
    }

    .card-header h2 {
        margin-bottom: 0;
    }

    @media (max-width: 768px) {

        .card-header .row {
            flex-direction: column;
            align-items: flex-start;
        }

        .card-header .col-sm-7,
        .card-header .col-sm-5 {
            width: 100%;
            margin-bottom: 15px;
        }

        .card-header .input-group {
            width: 100%;
        }

        .card-header .form-group {
            width: 100%;
        }

        .card-header .btn-inline-block {
            width: 100%;
            margin-top: 10px;
        }

        .card-header .float-right {
            display: block;
            text-align: center;
        }

        .card-header .dropdown-menu {
            width: 100%;
            text-align: center;
        }

        .card-header .form-inline {
            display: block;
            width: 100%;
        }
    }

    .card-title {
        display: block;
        font-size: 20px;
        font-weight: bold;
    }

    @media (max-width: 768px) {
        .card-title {
            text-align: center;
            margin: 0 auto 10px auto;
        }
    }

    .select-change {
        width: 250px;
        max-width: 100%;
        font-size: 14px !important;
        padding: 6px 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        margin-right: 30px;
    }

    .select-change option {
        font-size: 14px !important;
        padding: 8px 10px !important;
        white-space: normal !important;
    }



    #filterswrap {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    @media (max-width: 767px) {
        .polygonwrap {
            display: flex;
            flex-direction: column;
        }

        .polygonwrap .wrap {
            width: 100% !important;
            margin-bottom: 15px;
        }

        .datescroller {
            width: 100% !important;
            overflow-x: auto;
        }

        #dateswrap {
            max-width: 100% !important;
            overflow-x: auto;
            white-space: nowrap;
        }

        .col-arrow {
            width: 10%;
            min-width: auto;
            float: none;
            display: inline-block;
            text-align: center;
            padding: 0;
        }

        .col-scroller {
            width: 80% !important;
            float: none;
            display: inline-block;
            vertical-align: middle;
        }
    }

    @media (max-width: 400px) {

        #filterswrap label,
        #filterswrap .form-group {
            font-size: 14px;
        }

        .col-arrow i.arrow {
            font-size: 2.5em !important;
            padding-top: 5px !important;
        }
    }

    @media (min-width: 769px) {

        #filtersdateswrap {
            display: flex;
            align-items: stretch;
            gap: 15px;
        }

        #filterswrap,
        .wrap.datescroller {
            flex: 1 1 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            min-height: 180px;
            box-sizing: border-box;
            padding: 10px;
            background: #f8f9fa;
            border-radius: 4px;
            border: 1px solid #ddd;
        }

        .wrap.datescroller #dateswrap {
            flex-grow: 1;
            overflow-x: auto;
            white-space: nowrap;
            width: 100%;
        }

        .col-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 48px;
            min-width: 48px;
        }

        .col-scroller {
            flex: 1;
            overflow-x: auto;
        }
    }