#yith_discount_configuration .select2.select2-container,
#yith_funds_discount_configuration .select2.select2-container {
    max-width:200px;
}

#yith-funds-edit-fund-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row.desc {
    align-items: start;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row.desc .yith-funds-edit-fund-label {
    margin-top: 10px;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row .yith-funds-edit-fund-label label {
    display: inline-block;
    width: 128px;
    font-weight: 500;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row .yith-funds-edit-fund-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 1px;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row .yith-funds-edit-fund-field input[type="number"] {
    width: 80px;
}

#yith-funds-edit-fund-panel .yith-funds-edit-fund-row .yith-funds-edit-fund-field .yith-funds-edit-desc {
    max-width: 463px;
}

.yith-funds-edit-action {
    text-align: right;
}

#yith-log-history-table .list-table-title,
#yith-user-list-table .list-table-title {
    display: none;
}

#yith-user-list-table {
    width: 80%
}
#yith-user-list-table td.action.column-action{
    text-align:right;
}
#yith-user-list-table .select2.select2-container {
    width: 200px !important;
}

#modules-container {
    display: grid;
    column-gap: 30px;
    row-gap: 30px;
    grid-template-columns: repeat(4, 23%);
    margin: 40px;
    margin-left: 0;
}

#modules-container .module {
    border: 1px solid var(--yith-field-border-color, #cbd5e1);
    border-radius: 8px;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

#modules-container header {
    display: flex;
    align-items: center;
}

#modules-container .module h3, #modules-container .module p {
    margin: 0;
}

#modules-container .module h3 {
    margin: 0;
    color: #03689f;
    font-weight: bold;
    font-size: 1.1em;
    flex: 1 1 auto;
}

#modules-container .module .module-required {
    color: #ba3f2e;
    font-weight: bold;
}

#modules-container .module .module-description {
    flex: 1 1 100%;
}

#modules-container .module .module-activation {
    padding-top: 20px;
    border-top: 1px solid #cbd5e1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#modules-container .module .module-activation label {
    font-weight: 500;
}

@media screen and (max-width: 1600px) {
    #modules-container {
        grid-template-columns: repeat(3, 30%);
    }
}

@media screen and (max-width: 1200px) {
    #modules-container {
        grid-template-columns: repeat(2, 45%);
        margin-right: 0;
    }
}

@media screen and (max-width: 600px) {
    #modules-container {
        grid-template-columns: repeat(1, auto);
        margin-right: 0;
    }
}
