body {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

textarea {
  resize: none;
}

.text-red {
  color: red;
}

.estimate-inputItems label {
  position: absolute;
  background: white;
  padding: 0px 8px;
  margin: -10px 0 14px 10px;
  color: #6b6f9c;
  z-index: 1;
  font-size: 12px;
}

.estimate-inputItems input:not([type="checkbox"]),
.estimate-inputItemsfield select {
  height: 45px;
  padding: 0 1em;
  border: 1px solid #dddcdc;
  border-radius: 4px;
  font-size: 16px;
}

.estimate-inputItems input::placeholder{
  color: #9ca6c4;
  font-size: 16px;
}

.estimate-inputItems input,
input,
select,
textarea:focus-visible {
  outline: none;
}

.template-inputItems label {
  position: absolute;
  background: white;
  padding: 0px 8px;
  margin: -10px 0 14px 10px;
  color: #6b6f9c;
  z-index: 1;
  font-size: 12px;
}

.template-inputItems input:not([type="checkbox"]),
.template-inputItemsfield select {
  height: 45px;
  padding: 0 1em;
  border: 1px solid #dddcdc;
  border-radius: 4px;
  font-size: 16px;
}

.template-inputItems input,
input,
select,
textarea:focus-visible {
  outline: none;
}

.form-field:focus {
  border: 1px solid #4e94fb !important;
  border-radius: 4px;
}

.scrollTable {
  width: 100%;
  overflow: auto;
  margin-top: 50px;
}
tr.project-header th{
  color: #7c8c99;
  font-size: 12px;
  letter-spacing: .6px;
  padding-top: 17px;
  padding-bottom: 17px;
}
tr.project-print td input{
  border: 0;
  text-align: right;
  margin-bottom: 25px;
  font-size: 13px;
}
.form-control {
  border: 1px solid #ddd;
  min-height: 32px;
}

.project-table {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0 15px;
  width: 100%;
  position: relative;
}

.project-header {
  background-color: #ecf3f9;
  height: 50px;
  border-radius: 25px;
  border: 2px solid #ecf3f9;
}

.project-table tbody tr {
  padding: 15px;
  border: 1px solid #eeeef9;
  border-collapse: separate;
  border-spacing: 15px 50px;
}

.project-table tbody:last-child tr {
  border: none;
  padding: 0px 15px;
  border-bottom: 1px solid #eeeef9;
}

.project-table tbody tr td {
  padding: 20px 0;
}

.billing-method {
  width: 80%;
  border-radius: 2px;
  padding: 5px 0px;
}

.cost-price {
  width: 70%;
  padding: 0px 13px;
  margin-left: 3px;
}

.costing {
  padding: 0px 13px;
  margin-left: 3px;
}

.react-datepicker__close-icon::after {
  font-size: 9px !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
}

.estimate-duration {
  width: 70%;
  padding: 0px 13px;
  margin-left: 3px;
}

.delete-task {
  padding: 5px 0px 0px 30px;
}

.delete-row {
  display: none;
}

.head-line h1 {
  margin-top: 80px;
  font-size: 60px;
}

.head-line p {
  color: rgba(255, 255, 255, 0.30);
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  padding: 0 24%;
}

.head-line h2 {
  color: #fff;
  font-size: 56px;
  font-family: 'Montserrat', sans-serif;
}

.bg-img {
  background-image: url('../images/bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  width: 100%;
}

.navbar-logo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 5px 0;
}

.navbar-logo img {
  margin-left: 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  /* grid-template-columns: repeat(4, minmax(180px, 1fr)); */
  grid-gap: 20px;
  margin-top: 4rem;
}

.grid-item {
  height: 180px;
}
.grey-bg{
  background: #dee9ef;
}

.hover-scale {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-scale:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transition-effect {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.delete-task-icon:after {
  content: "\f142";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  display: inline-block;
  width: 1em;
  height: 1em;
  color: #7f7f7f;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  text-align: center;
  position: absolute;
  right: 3px;
  top: 3px;
}

tbody tr:hover td .delete-row {
  display: inline-block;
  height: 15px;
  border: none;
  background: #fff;
  position: absolute;
  cursor: pointer;
  width: 15px;
}

.delete-text {
  background-color: #ff5050;
  width: 140px;
  padding: 10px;
  box-shadow: 0 3px 10px 0 rgb(0 0 0 / 10%);
  margin: 20px;
  padding: 8px 15px;
  position: absolute;
  left: -140px;
  color: white;
  cursor: pointer;
}

.delete-text span {
  padding: 7px 0px 7px 7px;
}

.delete-text.hidden {
  display: none;
}

.total-row{
  color: #2F324F;
}

.currency {
  height: 30px;
  width: 65px;
  border: 1px solid #dddcdc;
  border-radius: 4px;
}

.terms-and-conditions {
  padding-bottom: 24px;
}

.project-notes .form-label,
.terms-and-conditions .form-label {
  padding: 10px 0px;
  vertical-align: top;
  line-height: 24px;
  margin: 24px 0 12px 0;
  color: #585858;
}

textarea.form-control {
  border-radius: 5px;
  width: 100%;
  padding: 15px 12px;
  font-weight: 400;
  font-size: 14px;
  border-color: #e3e3e3;
}

.submit-btn {
  /* border-top: 1px solid #eeeef9; */
  padding-top: 30px;
}

.printButton {
  border-radius: 4px;
  color: #fff;
  background: #3486fa;
  padding: 0px 15px;
  line-height: 42px;
  border: 1px solid #3486fa;
}

.printButton i {
  height: 20px;
  width: 20px;
  margin-bottom: -4px;
  padding-right: 5px;
}

#tsparticles {
  position: absolute;
  z-index: -9999;
}

/* Custom hover effect for scaling */
.hover-scale-103:hover {
  transform: scale(1.03);
}

.estimate-inputItems-group{
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  grid-gap: 20px;
}
.estimate-inputItems{
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 671px) and (max-width: 1100px) {

  .billing-method,
  .estimate-duration-td {
    width: 100% !important;
    display: unset !important;
  }
  .grid-container {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    margin-top: 2rem;
  }
}

@media screen and (max-width: 787px) {
  .project-table {
    width: 200%;
  }
  .estimate-inputItems-group{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
}
@media only screen and (min-width: 768px) {
  .estimate-inputItems{
    width: 90%;
  }
}
@media only screen and (max-width: 767px) {
  .head-line p {
    padding: 0 !important;
    font-size: 1.8rem !important;
  }

  .head-line h1 {
    font-size: 4.2rem !important;
    margin-top: 60px !important;
  }
  .grid-container {
    grid-template-columns: repeat(1, minmax(180px, 1fr));
    margin-top: 2rem;
  }
  .head-line h2 {
    font-size: 3.8rem !important;
  }
}