* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f7f9;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin-top: 25px;
    padding: 20px;
}

.container {
    background-color: #fff;
    padding: 48px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    margin: 75px;
    margin-top: -10px;
}

h2 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #008000;
    
}

h3 {
    font-size: 16px;
    color: #000000;
    font-weight: 500;
    margin: 2px 0 11px;
    border-bottom: 2px solid #008000;
    padding-bottom: 5px;
}

.form-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 0px;
}

.form-section .left, .form-section .right {
    width: 48%;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    flex-wrap: wrap; 
}

.form-group label {
    flex: 1;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-right: 0px;
    padding: 9px;
    text-align: center;
    background-color: #008000;
    border-radius: 1px;
}


.form-group input, .form-group select {
    flex: 2;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 12px;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus, .form-group select:focus {
    border-color: #008000;
    outline: none;
    background-color: #fff;
}

.nominee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0px;
    font-size: 14px;
}

.nominee-table th, .nominee-table td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: left;
    transition: background-color 0.3s ease;
}

.nominee-table th {
    background-color: #008000;
    color: #fff;
    text-align: center;
    font-weight: 500;
}

.form-heading {
    font-size: 16px; 
    color: #333; 
    flex: 1; 
    font-weight: 500;
    margin-top: 10px;

}
.submit-btn {
    text-align: center;
    margin-top: -6px;
}

.submit-btn button {
    background-color: #008000;
    color: #fff;
    text-align: center;
    padding: 10px 42px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn button:hover {
    background-color: #0056b3;
}

.form-group input[type="file"] {
    padding: 8px;
}
.nominee-table input[type="text"] {
    width: 100%; 
    height: 33px; 
    padding: 5px; 
    border: 1px solid #ccc; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease; 
    background-color: #f9f9f9;
}

.nominee-table input[type="text"]:focus {
    border-color: #008000;
    outline: none; 
}


@media (max-width: 768px) {
    .body{
        padding: 0px;
    }
    .container {
        padding: 7px;
    }
    h3 {
    font-size: 15px;
    font-weight: 500;
}
h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 16px;
    margin-bottom: 20px;
}
.form-heading{
    font-size: 15px;
    font-weight: 500;
}
.form-section {
    flex-direction: column; 
}

.form-section .left, .form-section .right {
    width: 100%; 
}

.form-group {
    flex-direction: column; 
    align-items: flex-start; 
    margin-bottom: 15px; 
}

.form-group label {
    width: 100%; 
    margin-right: 0; 
    text-align: left; 
}

.form-group input, .form-group select {
    width: 100%; 
}

.nominee-table {
    width: 100%; 
}

.nominee-table th, .nominee-table td {
    padding: 10px; 
}
}

