body {
  font-family: "Montserrat", sans-serif;
}

.logo {
  max-width: 250px;
}
.logo2 {
  max-width: 150px;
  max-height: 75px;
}

.clogin {
  margin: 0px auto;
}

.sidebar {
  background-color: #f8f9fa;
  min-height: 100vh;
}

.bg-menu-x {
  background-color: #111;
}

.profile-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.right-align {
  text-align: right;
}

.toggle-password {
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 35px;
}

.navbar .navbar-nav .nav-link i {
  margin-right: 5px;
}

/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #111; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 2px;
  text-decoration: none;
  font-size: 14px;
  color: #e7e0e0;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #1800f5;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.05s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

/* Toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

/* units */

.project-types-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.project-type-btn {
  flex: 1 1 200px; /* This makes the buttons grow to fill space, with a minimum width of 200px */
  max-width: 300px; /* This prevents buttons from becoming too wide on larger screens */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* cards */

.card {
  position: relative;
  overflow: hidden;
  min-height: 100px;
  border: 2px solid black;
}

.ribbon {
  width: 150px;
  height: 150px;
  position: absolute;
  top: -10px;
  right: -10px;
  overflow: hidden;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 15px 0;
  background-color: #3498db;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: #fff;
  font: 700 18px/1 "Lato", sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  text-align: center;
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

.card.disabled {
  opacity: 0.6;
}

.btn-sm {
  margin: 2px;
}

#plotForm label {
  font-weight: bold;
  color: rgb(53, 49, 49);
}

#plotForm input[type="text"] {
  color: rgb(36, 33, 33);
}

#payScheduleForm input[type="text"] {
  color: rgb(10, 10, 10);
}

.quotation-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
}
.header,
.footer {
  text-align: center;
  margin-bottom: 20px;
}
.print-button,
.close-button {
  margin-right: 10px;
}

/* @media print {
  .print-button,
  .close-button {
    display: none;
  }
} */

@media print {
  body {
    margin: 0;
    padding: 0;
    box-shadow: none;
  }
  .container {
    width: 100%;
  }
  .quotation-container {
    width: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }

  /* Keep footer at the end of the table */
  tfoot {
    display: table-footer-group;
  }

  /* Prevent row breaks */
  tr {
    page-break-inside: avoid;
  }
  .card-body,
  .card-footer {
    padding: 0;
  }
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .print-button,
  .close-button {
    display: none;
  }
}

.dashboard {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.dashboard-title {
  margin-bottom: 2rem;
  color: #333;
  font-weight: 300;
}
.dashboard-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dashboard-card .card-body {
  padding: 1.5rem;
}
.dashboard-card .card-title {
  font-size: 1.1rem;
  font-weight: 500;
}
.dashboard-card .card-value {
  font-size: 2.5rem;
  font-weight: 700;
}
.dashboard-table-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dashboard-table-card .card-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  background-color: #f8f9fa;
}
.section-title {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 300;
}
/* .asset-card {
  transition: transform 0.3s ease-in-out;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.asset-card:hover {
  transform: translateY(-5px);
}
.project-logod {
  width: 40px;
  height: auto;
} */

.asset-card {
  transition: transform 0.3s ease-in-out;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.asset-card:hover {
  transform: translateY(-5px);
}
.project-logod {
  width: 40px;
  height: auto;
}
.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.card-body {
  padding: 1.5rem;
}
.card-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
}
.btn-outline-primary {
  margin-top: 1rem;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: white;
}