body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f4f4f4;
    color: #333;
    background: url("images/banner.jpg") no-repeat center center / cover;
}

header {
    background-color: rgba(32, 34, 34, 1);
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
header h1{
    margin: 0;
    font-size: 28px;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
}

nav a:hover {
    color: #e91e63;
}

footer{
    display: flex;
    background-color: rgba(32, 34, 34, 1);
   
}
.footer-container{
    display: flex;
    justify-content: space-evenly;
    max-width: auto;
    margin: auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
.footer-section{
    flex: 1;
    min-width: 250px;
    margin: 10px;
}
.footer-section h2{
    font-size: 24px;
    color: #ccc;
    margin-bottom: 10px;
}
.footer-section h3{
    color: #ccc;
    margin-bottom: 10px;
}
.footer-section p{
    line-height: 1.6;
    font-size: 14px;
    color: #fff;
}
.container{
   display: flex;
   justify-content: center;
   align-items: center;
   min-height: 100vh;
   color: #333;
}

.form-box{
    margin: 0 15px;
    display: none;
}
.form-box.active{
    display: block;
}
.login-class{
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    
}
.register-class{
    width: 100%;
    max-width: 450px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h2{
    font-size: 34px;
    text-align: center;
    margin-bottom: 20px;
}
input{
    width: 95%;
    padding: 12px;
    background: #eee;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}
button{
    width: 100%;
    padding: 12px;
    background: #7494ec;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    transition: 0.5s;
}
button:hover{
    background: #6884d3;
}
a {
    text-decoration: none;
    color: #7494ec;
}
a:hover{
    text-decoration: underline;
}

.error-message{
    padding: 12px;
    background: #f8d7da;
    border-radius: 6px;
    font-size: 16px;
    color: #a42834;
    text-align: center;
    margin-bottom: 20px;
}
.farmer-access-form {
    display: flex;
    gap: 10px;
}
.farm-access-container h3{
    color: #2d572c;
    font-weight: 500;
    margin-bottom: 10px;
}
.farm-access-container p{
    color: #4b6043;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.farmer-access-form input[type="password"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #b7d3b7;
    outline: none;
    transition: all 0.3s ease;
  }
  
  .farmer-access-form input[type="password"]:focus {
    border-color: #2d572c;
    box-shadow: 0 0 5px rgba(45, 87, 44, 0.3);
  }
  
  .farmer-access-form button {
    background-color: #2d572c;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .farmer-access-form button:hover {
    background-color: #3e7342;
  }
  
  