body{
    margin:0;
    padding:0;
    font-family:Arial, sans-serif;
    background:#f4fff2;
    text-align:center;
}

h1{
    margin-top:100px;
    color:#0b8d3d;
}

p{
    font-size:20px;
}
.login-container{
    width:350px;
    margin:80px auto;
    background:#fff;
    padding:30px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.15);
}

.login-container h2{
    text-align:center;
    margin-bottom:20px;
}

.login-container input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:5px;
    box-sizing:border-box;
}

.login-container button{
    width:100%;
    padding:12px;
    background:#2e7d32;
    color:#fff;
    border:none;
    border-radius:5px;
    cursor:pointer;
    font-size:16px;
}

.login-container button:hover{
    background:#1b5e20;
}
.btn-success{

background:#198754;
color:white;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
font-weight:bold;

}

.btn-success:hover{

background:#157347;

}
.forgot-password{
    margin-top:15px;
    text-align:right;
}

.forgot-password a{
    color:#28a745;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}

.forgot-password a:hover{
    text-decoration:underline;
}
.table{
    width:100%;
    border-collapse:collapse;
}

.table th,
.table td{

    padding:12px 15px;
    vertical-align:middle;
    white-space:nowrap;

}

.table th{

    font-weight:600;

}
/* Password Field */

.password-container{
    position:relative;
    width:100%;
}

.password-container input{

    width:100%;
    padding:12px 45px 12px 12px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:6px;
    box-sizing:border-box;

}

.toggle-password{

    position:absolute;

    top:50%;

    right:15px;

    transform:translateY(-50%);

    cursor:pointer;

    font-size:18px;

    color:#555;

    user-select:none;

}
/* =========================================================
   FARMER FORM
========================================================= */

.profile-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    max-width: 950px;
    margin: 25px auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.profile-card form {
    width: 100%;
}

.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 700;

    color: #16843b;

    padding-bottom: 12px;
    margin-bottom: 20px;

    border-bottom: 1px solid #e5e7eb;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;

    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    background: #ffffff;

    font-size: 14px;
    color: #111827;

    outline: none;

    transition: 0.2s ease;
}

.form-group input {
    height: 45px;
}

.form-group textarea {
    min-height: 90px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #16843b;

    box-shadow: 0 0 0 3px rgba(22, 132, 59, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

/* Required star */

.required {
    color: #dc2626;
}

/* Password help */

.form-help {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}


/* =========================================================
   FORM BUTTONS
========================================================= */

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;

    padding-top: 20px;

    border-top: 1px solid #e5e7eb;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: none;
    border-radius: 9px;

    padding: 12px 20px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s ease;
}

.btn-success {
    background: #16843b;
    color: white;
}

.btn-success:hover {
    background: #116b2f;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
}

.btn-secondary:hover {
    background: #e5e7eb;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.page-header h2 {
    margin: 0;

    font-size: 28px;
    font-weight: 700;

    color: #1f2937;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .profile-card {
        padding: 20px;
        margin: 15px;
        border-radius: 12px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    .page-header {
        align-items: flex-start;
        gap: 15px;
    }

    .page-header h2 {
        font-size: 22px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}