/* wrap your table so it can scroll if it overflows */
.grid-container {
    width: 100%;
    overflow-x: auto;
}

/* full-width table with collapsed borders */
.grid-input {
    width: 100%;
    max-width: 400px; /* or whatever fits your design */
    border-collapse: collapse;
    margin: 0 auto;
}

    /* tidy up the cells */
    .grid-input td {
        padding: 4px;
    }

    /* make inputs fill their cell */
    .grid-input input {
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        font-size: 1rem;
    }

/* Only apply on mobile screens */
@media only screen and (max-width: 480px) {
    .grid-input {
        width: 100%;
        table-layout: fixed;
        border-collapse: collapse;
    }

        .grid-input td {
            padding: 4px;
        }

        .grid-input input {
            width: 100%;
            box-sizing: border-box;
            padding: 6px;
            font-size: 0.9rem;
        }
}


/* Form Styles */
.form-group {
    margin-bottom: 15px;
}

.form-group-lg label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
    color: #333;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.2s ease;
}

    .form-control:focus {
        border-color: #6aaa64;
        outline: 0;
        box-shadow: 0 0 0 3px rgba(106, 170, 100, 0.25);
    }

/* Word list dropdown styling */
#ddlWordList {
    max-width: 200px;
}
