@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
html,body{
    background: #6665ee;
    font-family: 'Poppins', sans-serif;
}
::selection{
    color: #fff;
    background: #6665ee;
}
.container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.container .form{
    background: #fff;
    padding: 30px 35px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.container .form form .form-control{
    height: 40px;
    font-size: 15px;
}
.container .form form .forget-pass{
    margin: -15px 0 15px 0;
}
.container .form form .forget-pass a{
   font-size: 15px;
}
.container .form form .button{
    background: #6665ee;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.container .form form .button:hover{
    background: #5757d1;
}
.container .form form .link{
    padding: 5px 0;
}
.container .form form .link a{
    color: #6665ee;
}
.container .login-form form p{
    font-size: 14px;
}
.container .row .alert{
    font-size: 14px;
}





/* Existing styles... */

/* Mobile Responsive Improvements for Project View */
@media (max-width: 768px) {
  /* Stack the header buttons */
  .d-flex.justify-content-between.align-items-center.mb-3.flex-wrap {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }
  
  .d-flex.justify-content-between.align-items-center.mb-3.flex-wrap > div {
    width: 100%;
  }
  
  .d-flex.gap-2 {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px !important;
  }
  
  /* Make cards full width */
  .card-soft {
    margin-bottom: 16px;
  }
  
  /* Stack project info columns */
  .card-soft .row > div {
    margin-bottom: 16px;
  }
  
  /* Improve table responsiveness */
  .table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 8px;
  }
  
  /* Reduce padding in modals */
  .modal-body {
    padding: 16px;
  }
  
  /* Stack modal form columns */
  .modal-body .row > [class*="col-"] {
    margin-bottom: 16px;
  }
  
  /* Adjust farmer photo size on mobile */
  .farmer-photo {
    width: 32px;
    height: 32px;
  }
  
  /* Make action buttons more compact */
  .d-flex.gap-1 .btn {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  /* Adjust status badges */
  .status-badge {
    font-size: 10px;
    padding: 3px 6px;
  }
}

@media (max-width: 576px) {
  /* Further reduce padding */
  .content {
    padding: 12px;
  }
  
  /* Make stats cards more compact */
  .stat-card h4 {
    font-size: 1.25rem;
  }
  
  .stat-card h6 {
    font-size: 0.8rem;
  }
  
  /* Hide less important columns in table */
  .table-responsive table th:nth-child(3),
  .table-responsive table td:nth-child(3),
  .table-responsive table th:nth-child(7),
  .table-responsive table td:nth-child(7) {
    display: none;
  }
  
  /* Reduce modal width */
  .modal-dialog {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
}

/* Ensure tables are scrollable on mobile */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}

/* Improve button touch targets on mobile */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Make form controls more touch-friendly */
.form-control, .form-select {
  min-height: 44px;
  font-size: 16px; /* Prevents zoom on iOS */
}

