.input-group-text {
    background-color: #355e00;
    /* Dark green background for icons */
    color: #fff;
    /* Light text color for icons */
    border-radius: 4px 0 0 4px;
    /* Rounded left corners */
}

.input-group .form-control {
    border-radius: 0 4px 4px 0;
    /* Rounded right corners */
}

.input-group-text i {
    font-size: 1.2rem;
    /* Adjust icon size */
}

body {
    min-height: 100vh;
    margin: 0;
    background: url('https://cdn.pixabay.com/photo/2020/05/22/20/56/wheat-5207174_1280.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.overlay {
    position: relative;
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(26, 46, 0, 0.8);
    padding: 20px 0;
    padding-top: 60px; 
}

.container {
    background-color: rgba(255, 254, 235, 0.9); 

    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    max-width: 1140px;
    width: 95%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-tabs {
    border-bottom: none;
}
@media (max-width: 768px) {
    .overlay {
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .container {
        margin: 0 15px;
        padding: 20px;
    }
}

/* @media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 20px;
        width: auto;
    }
} */

.custom-button {
    float: right;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #4a7c00;
    /* Updated to a natural green matching your theme */
    color: #ffffff;
    /* White text for contrast */
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    /* Slightly deeper shadow for more depth */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    /* Added transform for hover effects */
}

.custom-button:hover {
    background-color: #3e6f00;
    /* Darker green for hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    /* Slightly larger shadow on hover */
    transform: translateY(-2px);
    /* Subtle lift effect */
}

.custom-button:active {
    background-color: #2d4e00;
    /* Even darker green for active state */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    /* Reduced shadow on click */
    transform: translateY(0);
    /* Reset lift effect */
}

.custom-button i {
    margin-right: 8px;
    /* Retained icon spacing */
}

.custom-button .spinner-border {
    margin-left: 8px; /* Adds space between the text and spinner */
  }

.step-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    /* Set the width */
    height: 30px;
    /* Set the height (equal to width for a perfect circle) */
    border-radius: 50%;
    /* Make it round */
    font-size: 16px;
    /* Adjust size of number */
    text-align: center;
    line-height: 30px;
    /* Center the number vertically */
    background-color: #1a2e00;
    /* Your specified color */
    margin-left: 8px;
    /* Space between 'Step' text and the circle */
    vertical-align: middle;
    /* Align the circle icon vertically with text */
}

.input-group {
    position: relative;
}

.autocomplete-items {
    position: absolute;
    /* border: 1px solid #d4e157; */
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 37px;
    right: 0;
    background: #1a2e00;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -1px;
}

.autocomplete-items div {
    padding: 12px 15px;
    cursor: pointer;
    color: #d4e157;
    transition: all 0.2s ease;
}

.autocomplete-items div:hover {
    background-color: #2e4a00;
    padding-left: 20px;
}

.autocomplete-items div:last-child {
    border-radius: 0 0 4px 4px;
}



.display-3 {
    color: #33475B;
    /* Matches the color in the screenshot */
    /* font-family: "Madimi One", serif; */
    font-family: "Dosis", serif;
    font-weight: 720;
    font-style: normal;
    letter-spacing: 0.5px;
    /* Adds subtle spacing for readability */
}
.display-5 {
    color: #33475B;
    /* Matches the color in the screenshot */
    /* font-family: "Madimi One", serif; */
    font-family: "Dosis", serif;
    font-weight: 720;
    font-style: normal;
    letter-spacing: 0.5px;
    /* Adds subtle spacing for readability */
}

.lead {
    color: #33475B;
    font-weight: 300;
    /* Neutral gray for supporting text */
}

.nav-tabs .nav-link {
    color: #1a2e00;
    /* Dark green text */
    border: none;
}

.nav-tabs .nav-link.active {
    background-color: #d4e157;
    /* Light green for active tabs */
    color: #1a2e00;
    /* Dark green text */
    border: none;
}

.form-label {
    color: #1a2e00;
    /* Dark green text */
}

.form-control {
    background-color: #1a2e00;
    /* Light yellow background for inputs */
    /* border: 1px solid #355E00; */
    /* Light gray border */
    color: #fff;
    /* Dark green text */
    height: 48px;
    font-size: 16px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .form-control {
        height: 44px;
        font-size: 18px;
    }
}

.form-check-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}


.form-control::placeholder {

    color: #FFFEEB;
    /* Dark green placeholder text */
}

.form-control:focus {
    background-color: #fff;
    border-color: #c8b35c;
    color: #1a2e00;
    box-shadow: 0 0 0 0.05rem rgba(26, 46, 0, 0.25);
    outline: none;
}


/* Style for the radio buttons */
.form-check-input {
    position: relative;
    width: 20px;
    /* Adjust the size of the radio button */
    height: 20px;
    border-radius: 50%;
    /* Ensure the button is circular */
    border: 2px solid #1a2e00;
    /* Border color when not focused */
    background-color: #fff;
    /* Background color when not selected */
    transition: background-color 0.3s ease, border-color 0.3s ease;
    margin-right: 10px;
    /* Space between radio button and label */
}

/* Style for the radio button when focused */
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(26, 46, 0, 0.3);
    /* Green glow effect on focus */
    border-color:1px solid #1A2E00;
    /* Border color when focused */
}

/* Style for the radio button when selected */
.form-check-input:checked {
    background-color: #1a2e00;
    /* Background color when selected */
    border-color: #1a2e00;
    /* Border color when selected */
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 16%22%3E%3Cpath fill=%22white%22 d=%22M8 1a7 7 0 1 1 0 14A7 7 0 0 1 8 1z%22/%3E%3C/svg%3E');
    /* Checkmark icon */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60%;
    /* Size of the checkmark */
}

.form-check-label {
    color: #1a2e00;
    /* Dark green text */
}

.btn-outline-secondary {
    color: #1a2e00;
    /* Dark green text */
    border-color: #c8b35c;
    /* Gold-like border */
}

.btn-outline-secondary:hover {
    background-color: #d4e157;
    /* Light green background on hover */
}

.figure-caption {
    color: #5a5a5a;
    /* Neutral gray text */
}