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, 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;
}

.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;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  grid-gap: 20px;
}
.grid-item {
  height: 9rem; /* Equivalent to Tailwind h-36 */
}
.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;
}

.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);
}

@media screen and (min-width: 671px) and (max-width: 1100px) {
  .billing-method, .estimate-duration-td {
      width: 100% !important;
      display: unset !important;
  }
}

@media screen and (max-width: 787px) {
  .project-table {
      width: 200%;
  }
  /* #tsparticles{
    display: none;
  } */
}

