* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


.form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

button {
    background: #2B5329;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background: #1e3d1d;
}

.container {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f0f0f0;
    max-height: 100vh;
    align-items: top;
    justify-content: center;
}

.card {
    min-width: 360px;
    min-height: 240px;
    background: white;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header {
    height: 48px;
    background: #2B5329;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 32px;
    background: white;
    border-radius: 100% 100% 0 0;
}

.header-text {
    position: absolute;
    left: 16px;
    top: 12px;
    color: white;
    font-weight: bold;
    font-size: 20px;
}

.farmer-id {
    position: absolute;
    right: 16px;
    top: 12px;
    color: white;
    font-size: 14px;
}

.content {
    padding: 16px;
    padding-top: 0;
}

.info {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.card-number {
    position: absolute;
    bottom: 40px;
    left: 30%;
    font-size: 18px;
    font-weight: bold;
}

.photo {
    position: absolute;
    right: 16px;
    top: 60px;
    width: 70px;
    height: 80px;
    background: #FFD700;
    border: 2px solid #2B5329;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-circle {
    width: 48px;
    height: 48px;
    background: #8B4513;
    border-radius: 50%;
}

.qr-code {
    position: absolute;
    right: 16px;
    top: 110px;
    width: 60px;
    height: 60px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.logo {
    position: absolute;
    top: 210px;
    right: 5%;
    display: flex;
    gap: 4px;
    align-items: center;
}

.logo svg {
    width: 100px;
}




.leaf {
    position: absolute;
    bottom: 5px;
    left: 3%;
    width: 60px;
}
.header-text {gap:5px;
display: flex;
justify-content: center;

}

.leaf1 {  

border-radius: 50%;
height:30px;
width: 30px;
background-color: #f9d6a9;

}

@media print {
/* Hide header when printing */
button, #note {
display: none;
background-color: #fff;
}
.container {
color:black;
background-color: #fff;
box-shadow: 1px 1px 6px 1px #fff;
}

.card {
    width: 360px;
    height: 240px;
    

}




} 
