.form {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    text-align: left;
    margin: 0 15%;
    padding: 2% 8%;
    width: 100%;

}

input {
    width: 75%;
    padding: 10px;
    border: 2px solid #8a7a6a;
    border-radius: 5px;
    background-color: #f2f0ed;
    color: #1b1914;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: #B0A592;
    box-shadow: 0 0 5px rgba(176, 165, 146, 0.7);
}

input::placeholder {
    color: #8a7a6a;
    font-style: italic;
}


.form button, .buttonStyle {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 5%;
    font-size: 16px;
    font-weight: bold;
    color: #0f0d09;
    background-color: #8a7a6a;
    border: 2px solid #1b1914;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.form button:hover, .buttonStyle:hover {
    background-color: #B0A592;
    transform: scale(1.05);
    color: #f2f0ed;
}

.form button:active, .buttonStyle:active {
    background-color: #6f5d4f;
    transform: scale(0.95);
}

select {
    width: 75%;
    max-width: 400px;
    padding: 10px;
    margin-bottom: 5%;
    border: 2px solid #8a7a6a;
    /* Matches input border */
    border-radius: 5px;
    background-color: #f2f0ed;
    /* Light background for readability */
    color: #3e3e3e;
    /* Dark text for readability */
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

select:focus {
    border-color: #B0A592;
    /* Highlighted border */
    box-shadow: 0 0 5px rgba(176, 165, 146, 0.7);
    /* Focus glow */
}

option {
    background-color: #f2f0ed;

    color: #3e3e3e;
    
    font-size: 16px;
}

#yieldOutput, #output {
    margin-top: 5%;
    margin-bottom: 5%;
    padding: 2%;
    width: 50%;
    text-align: center;
    border: 1px solid black;
    font-weight: bold;
}
@media screen and (max-width: 425px) {
    #yieldOutput, #output {
        width: 85%;
    }
}

table {
    width: 75%;
    border-collapse: collapse;
    background: transparent;
}

th, td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

th {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    th, td {
        padding: 6px;
        font-size: 14px;
    }
}