/*
 * custom-fields.css - Global custom field styles
 * Converted from client/components/customFields/customFields.styl
 *
 * Component-specific styles moved to scoped CSS:
 * - PlsCustomFieldsList.razor.css
 * - PlsCustomFieldConfigModal.razor.css
 * - PlsCustomFieldsSidebar.razor.css
 */

/* =============================================================================
   CUSTOM FIELD DISPLAY (Global - used on cards)
   ============================================================================= */

.fields-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px;
}

.fields-wrapper .f-container {
    margin-top: 10px;
    margin-bottom: 0px;
    flex: 0 1 240px;
    word-wrap: break-word;
    overflow: hidden;
}

.fields-wrapper .f-container:nth-child(odd) {
    margin-right: 10px;
}

.fields-wrapper .f-container select {
    width: 250px;
    max-width: 100%;
    margin-top: 0px !important;
    margin-bottom: 0;
}

.fields-wrapper .f-container .checkbox-input {
    margin-top: 13px;
}

.fields-wrapper .f-container .checkbox-input .materialCheckBox:not(.is-checked) {
    border: 2px solid #a6a6a6;
}

.fields-wrapper .f-container .f-value .materialCheckBox {
    margin: 7px 0;
    cursor: default;
}

.fields-wrapper .f-container .f-userlist-viewer .js-member {
    cursor: default;
}

.fields-wrapper .f-title {
    text-align: start;
    font-size: 15px;
    color: #132836;
    margin-bottom: 5px;
    letter-spacing: 0.15px;
}

.fields-wrapper .f-title sup {
    vertical-align: revert;
}

.fields-wrapper .userlist-container .member {
    height: 24px;
    width: 24px;
}

.fields-wrapper .f-input-container {
    display: flex;
}

.fields-wrapper .f-input-container .f-value {
    min-height: 28px;
    margin-right: 5px;
}

.fields-wrapper .f-input-container.checkbox-input {
    height: 20px;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media screen and (max-width: 800px) {
    .fields-wrapper .f-container {
        flex: 0 0 100%;
        width: 100%;
    }

    .fields-wrapper .f-container input,
    .fields-wrapper .f-container select {
        width: 100%;
    }
}
