input, textarea, select {
    flex: 2;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    /* Ensures that the input takes up the full width of its container */
}

div.ts-control input {
    width: auto;
}

::placeholder {
    padding-left: 0.5rem;
}

label {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #4a5568;
    /* Tailwind text-gray-700: #4a5568 */

}

.alert {
    font-size: 16px;
    color: rgb(230 0 125 / var(--tw-bg-opacity));
    width: 100%;
    /* Ensures that the error takes up the full width of the .field container */
    margin-top: 5px;
}


/* Style for the file summary container */
#file-input-summary {
    max-height: 40px;
    /* Set a maximum height for the container */
    overflow-y: auto;
    /* Enable vertical scrolling if content exceeds the container height */
    display: flex;
    flex-wrap: wrap;
}

.delete-button {
    background-color: #e6007d;
    color: white;
    border: none;
    border-radius: 50%;
    /* Ensures the button is a circle */
    width: 20px;
    /* Equal width and height for a perfect circle */
    height: 20px;
    /* Equal width and height for a perfect circle */
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    align-self: flex-end;
    /* Aligns the button to the bottom of the flex container */
}

/* Style for the file name */
.file-name {
    color: gray;
    font-size: smaller;
}

.file-label {
    font-size: 0.875rem;

    /* Tailwind text-gray-400: #cbd5e0 */
    font-weight: 500;
    /* Tailwind font-medium: 500 */
    line-height: 1;
    /* Tailwind leading-none: 1 */
}

.file-label.peer-disabled\:cursor-not-allowed {
    cursor: not-allowed;
    /* Tailwind peer-disabled:cursor-not-allowed */
}

.file-label.peer-disabled\:opacity-70 {
    opacity: 0.7;
    /* Tailwind peer-disabled:opacity-70 */
}

.file {
    display: flex;
    height: 2.5rem;
    width: 100%;
    border-radius: 9px;
    border-width: 2px;
    border-style: solid;
    border-color: #e2e8f0;
    background-color: #fff;
    padding-right: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    /* Add cursor pointer for better UX */
}

.file:focus {
    outline: none;
    border-color: #4a5568;
}