form.node-islandora-object-form.node-form,
form.node-islandora-object-edit-form.node-form{
    div.content{
        margin-block: 3rem;
        margin-inline: auto;
    }

    select, input, button{
        border-radius: 32px;
    }

    select{
        color: #1D398D;
    }

    label, p, span, small{
        padding-left: 0.5rem;
        margin-bottom: 0.5rem;
    }

    textarea{
        border-radius: 32px 32px 0px 32px;
    }

    button.link.tabledrag-toggle-weight {
        display: none;
    }

    div.form-actions {

        display: flex;
        justify-content: space-evenly;

    }

    input.button {
        width: fit-content;
        padding-inline: 1rem;
        background: #1D398D;
        border: none;
        color: #fff;
    }

    input.button.field-add-more-submit{
        display: inline-block;
        color: rgb(3, 14, 49);
        font-size: 16px;
        font-weight: bold;
        border-radius: 30px;
        background: rgb(255, 197, 34);
        padding: 10px 35px;
        border-width: 0px;
        border-style: none;
        border-color: currentcolor;
        border-image: initial;
    }

    input.button.field-add-more-submit:focus, input.button.field-add-more-submit:hover {
        color: rgb(255, 255, 255);
        background: rgb(230, 174, 21);
    }

    div.form-actions input#edit-submit,
    div.form-actions input#edit-preview
    {
        width: 30%;
    }

    fieldset#field_representative_image-media-library-wrapper{
        padding: 1rem;
    }

    table,
    table thead,
    table tbody{
        background: #fff;
    }

    table thead tr th.field-label h4{
        color: #1D398D;
    }

    table tbody tr{
        background: #fff;
    }

    table tbody td{
        background: #fff;
        /* border: 1px solid black; */
        box-shadow: inset 0 0 0 9999px rgb(99 99 99 / 5%);
        align-content: center;
        text-align: center;
    }

    table tbody td div {
        margin-block: 0.5rem !important;
    }

    div.ck{
        margin-block: 0rem !important;
    }

    div.ck span.ck{
        background: transparent !important;
    }

    table {
        label,p,span,small{
            font-size: 18px;
        }
    }

    table thead th:not(.field-label){
        display: none;
    }
    table tbody tr td.field-multiple-drag,
    table tbody tr td.delta-order{
        display: none;
    }

    /* Accordion-style details elements */
    .field-group-details {
        border: 1px solid #dee2e6;
        border-radius: 32px;
        margin-bottom: 1rem;
        overflow: hidden;
    }

    .field-group-details summary {
        background-color: #f8f9fa;
        padding: 1rem 1.25rem;
        font-weight: 500;
        cursor: pointer;
        list-style: none; /* Remove default arrow */
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background-color 0.2s ease;
        text-decoration: none;
        font-size: 20px;
        font-weight: 600;
    }

    .field-group-details[open] > summary{
        background: #1D398D;
        color: #fff;
    }

    .field-group-details summary::-webkit-details-marker {
    display: none; /* Remove arrow in Chrome/Safari */
    }

    /* Custom arrow icon */
    .field-group-details > summary::after {
        content: '';
        font-size: 1.25rem;
        font-weight: bold;
        transition: transform 0.2s ease;
        background: url("/themes/custom/eody_islandora/images/icons8-down-18-blue.png");
        width: 18px;
        height: 18px;
        background-repeat: no-repeat;
        transition: 0.3s;
    }

    .field-group-details[open] > summary::after {
        content: '';
        background: url("/themes/custom/eody_islandora/images/icons8-down-18.png");
        transform: rotate(180deg);
    }

    /* .field-group-details summary:hover {
        background-color: #030E31;
    } */

    .field-group-details .details-wrapper {
    padding: 1rem 1.25rem;
    border-top: 1px solid #dee2e6;
    }
}