* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #2d5016, #4a7c59, #ffffff);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: linear-gradient(90deg, #1a3d0a, #2d5016);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.header h1 {
  flex-grow: 1;
  text-align: center;
  font-size: 24px;
  margin: 0 20px;
}

.user-info {
  color: #a8d8a8;
  font-size: 14px;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a3d0a, #2d5016, #4a7c59);
}

.login-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  position: relative;
}

.login-form .logo {
  position: absolute;
  top: -25px;
  left: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid white;
}

.login-form h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #2d5016;
  font-size: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2d5016;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #a8d8a8;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2d5016;
}

.btn {
  background: linear-gradient(90deg, #2d5016, #4a7c59);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}

.btn-full {
  width: 100%;
}

.btn-back {
  background: linear-gradient(90deg, #1a4b0e, #0b3f12);
  margin-bottom: 20px;
}

.dashboard {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.dashboard-card {
  background: linear-gradient(135deg, #f0f8f0, #e8f5e8);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid #a8d8a8;
  transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(45, 80, 22, 0.2);
}

.dashboard-card h3 {
  color: #2d5016;
  margin-bottom: 15px;
  font-size: 20px;
}

.dashboard-card p {
  color: #666;
  margin-bottom: 20px;
}

.table-container {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-top: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table th,
.table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.table th {
  background: linear-gradient(90deg, #2d5016, #4a7c59);
  color: white;
  font-weight: bold;
}

.table tr:hover {
  background-color: #f0f8f0;
}

.alert {
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  font-weight: bold;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.stat-card {
  background: linear-gradient(135deg, #2d5016, #4a7c59);
  color: white;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.stat-card h3 {
  font-size: 32px;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 14px;
  opacity: 0.9;
}

.chart-container {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .header h1 {
    margin: 10px 0;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .login-form {
    margin: 20px;
    padding: 30px 20px;
  }
.canva{
  .header-content
{
  margin:2px 0;
  box-shadow:0 5 px 20px  rgba(63, 56, 56, 0.1);
  padding : 30px 10px;
  
   
       
}
    
}
}
 

