  /* =========================================================
   FLORIA STYLE - ADD TREE FORM
   Does NOT affect functionality
========================================================= */

.add-tree-box {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Heading */
.add-tree-box h2 {
    text-align: center;
    margin: 0 0 35px;
    color: #71b347;
    font-size: 28px;
    font-weight: 500;
}

/* Form group */
.add-tree-box .form-group {
    width: 100%;
    margin-bottom: 25px;
}

/* Labels */
.add-tree-box .form-group > label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

/* Select */
.add-tree-box .form-group select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    color: #333;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.add-tree-box .form-group select:focus {
    border-color: #71b347;
}

/* =========================================================
   TAKE PHOTO
========================================================= */

.add-tree-box .upload-box {
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 25px;
    border: 1px dashed #71b347;
    border-radius: 0;
    background: #fafdf8;
    text-align: center;
    box-sizing: border-box;
}
 
.mejs-controls{
  display: none !important;
}
.mejs-overlay-button{
    display: none !important;

}

/* Captured image */
.add-tree-box #preview {
    display: none;
    width: 100%;
    max-width: 500px;
    max-height: 400px;
    margin: 0 auto 20px;
    object-fit: cover;
    border-radius: 0;
}

/* Capture button */
.add-tree-box #captureBtn {
    display: inline-block;
    width: auto;
    min-width: 180px;
    height: 48px;
    margin: 0 auto;
    padding: 0 25px;
    border: none;
    border-radius: 0;
    background: #71b347;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.add-tree-box #captureBtn:hover {
    background: #5d9638;
}

/* =========================================================
   SAVE TREE BUTTON
========================================================= */

.add-tree-box > form > button[type="submit"] {
    display: block;
    width: 190px;
    height: 48px;
    margin: 25px auto 0;
    padding: 0 25px;
    border: none;
    border-radius: 0;
    background: #71b347;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
}

.add-tree-box > form > button[type="submit"]:hover {
    background: #5d9638;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .add-tree-box {
        width: 100%;
        margin: 25px auto;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .add-tree-box h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .add-tree-box .upload-box {
        padding: 20px 15px;
    }

    .add-tree-box #captureBtn {
        width: 100%;
        max-width: 280px;
    }

    .add-tree-box > form > button[type="submit"] {
        width: 100%;
        max-width: 280px;
    }
}


/* Planter my tree  */

.my-tree-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.my-tree-table th {
  background: #71b347;
  color: #000;
  padding: 15px;
  text-align: left;
}

.my-tree-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.my-tree-table img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.edit-btn {
  background: green;
  color: #fff;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.edit-btn:hover {
  background: #1b5e20;
  color: #fff;
}

.no-tree {
  padding: 30px;
  background: #fff;
  text-align: center;
  border-radius: 10px;
}
.tree-filter-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tree-filter-form select {
  width: 220px;
  height: 50px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
}

.tree-filter-form label {
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tree-filter-form {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .tree-filter-form select {
    width: 100%;
  }
  .tree-filter-form label {
    display: block;
    margin-bottom: 5px;
  }
}
.tree-pagination {
  margin-top: 25px;

  text-align: center;
}

.tree-pagination .page-numbers {
  display: inline-block;

  padding: 10px 15px;

  margin: 3px;

  background: #f5f5f5;

  border-radius: 6px;

  text-decoration: none;

  color: #333;
}

.tree-pagination .current {
  background: #71b347;

  color: #fff;
}

.tree-pagination a:hover {
  background: #1b5e20;

  color: #fff;
}
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.my-tree-table {
  width: 100%;
  min-width: 900px; /* Adjust if needed */
  border-collapse: collapse;
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #71b347;
  border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #eee;
}
.due-btn {
  background: #008000ba !important;
}
.due-btn:hover {
  background: #008000ba !important;
}

 /* =========================================================
   PLANter UPDATE TREE - FLORIA STYLE
   CSS ONLY - NO FUNCTIONALITY CHANGES
========================================================= */

.update-box {
    width: 100%;
    max-width: 650px;
    margin: 40px auto;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

/* Heading */
.update-box h2 {
    margin: 0 0 35px;
    text-align: center;
    color: #71b347;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
}

/* Labels */
.update-box > label,
.update-box form > label {
    display: block;
    margin: 0 0 8px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

/* Readonly fields */
.update-box .readonly {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0 0 25px;
    padding: 0 14px;

    border: 1px solid #ddd;
    border-radius: 0;

    background: #f8f8f8;
    color: #555;

    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

/* =========================================================
   ORIGINAL + LATEST PHOTO
========================================================= */

.update-box > img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 5px 0 25px;
    object-fit: cover;
    border-radius: 0;
}

.update-box > h4 {
    margin: 5px 0 15px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
}

/* Latest update photo */
.update-box > img[style] {
    width: 180px !important;
    height: 180px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* =========================================================
   UPDATE PHOTO CAMERA AREA
========================================================= */

.update-box form {
    width: 100%;
}

/* Camera/upload area */
.update-box form > label[style] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 120px !important;

    margin: 0 !important;
    padding: 30px !important;

    border: 1px dashed #71b347 !important;
    border-radius: 0 !important;

    background: #fafdf8 !important;

    text-align: center !important;
    box-sizing: border-box !important;
}

 

/* Captured update image */
.update-box #preview_update {
    display: none;
    width: 100% !important;
    max-width: 500px !important;
    max-height: 400px !important;
    height: auto !important;

    margin: 0 auto 20px !important;

    object-fit: cover !important;
    border-radius: 0 !important;
}

/* Capture Update Photo button */
.update-box #captureUpdateBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 210px !important;
    height: 48px !important;

    margin: 0 auto !important;
    padding: 0 25px !important;

    border: none !important;
    border-radius: 0 !important;

    background: #71b347 !important;
    color: #fff !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.4 !important;
    text-align: center !important;

    cursor: pointer !important;
    text-transform: uppercase !important;
    box-sizing: border-box !important;
}

/* Capture hover */
.update-box #captureUpdateBtn:hover {
    background: #5d9638 !important;
    color: #fff !important;
}

/* =========================================================
   UPDATE TREE BUTTON
========================================================= */

.update-box form > button[type="submit"] {
    display: block !important;

    width: 190px !important;
    min-width: 190px !important;
    height: 48px !important;

    margin: 25px auto 0 !important;
    padding: 0 25px !important;

    border: none !important;
    border-radius: 0 !important;

    background: #71b347 !important;
    color: #fff !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    line-height: 1.4 !important;
    text-align: center !important;

    cursor: pointer !important;
    text-transform: uppercase !important;

    box-sizing: border-box !important;
}

/* Update hover */
.update-box form > button[type="submit"]:hover {
    background: #5d9638 !important;
    color: #fff !important;
}

/* =========================================================
   REMOVE OLD BR SPACING
========================================================= */

.update-box > br {
    display: none;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .update-box {
        width: 100%;
        max-width: 100%;
        margin: 25px auto;
        padding: 0 15px;
    }

    .update-box h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .update-box .readonly {
        height: 46px;
        margin-bottom: 22px;
        font-size: 14px;
    }

    .update-box > img,
    .update-box > img[style] {
        width: 150px !important;
        height: 150px !important;
    }

    .update-box form > label[style] {
        padding: 25px 15px !important;
        min-height: 110px !important;
    }

    .update-box #captureUpdateBtn {
        width: 100% !important;
        max-width: 280px !important;
    }

    .update-box form > button[type="submit"] {
        width: 100% !important;
        max-width: 280px !important;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .update-box {
        padding: 0 12px;
    }

    .update-box h2 {
        font-size: 22px;
    }

    .update-box > img,
    .update-box > img[style] {
        width: 130px !important;
        height: 130px !important;
    }
}