@use "variables" as *;
@use "dotcms-theme/utils/theme-variables" as *;
@import "mixins";

:host {
    display: block;

    ::ng-deep {
        .p-multiselect,
        searchable-dropdown .p-button {
            width: 100%;
        }
    }

    .form-workflow-community-message {
        margin-bottom: $spacing-4;
    }
}

label {
    font-size: $font-size-md;
}

.content-type__form {
    width: 522px;
    &.content-type__form-banner {
        padding-top: 3.5rem;
    }
}

.content-type__form-dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: $spacing-3;
    margin-bottom: $spacing-3;

    .field {
        margin-bottom: 0;
    }
}

.field__date-hint {
    margin-bottom: $spacing-3;
    margin-top: -0.25rem;
}

.content-type__new-content-banner {
    background: $color-palette-primary-200;
    color: $color-palette-primary-900;
    padding: $spacing-2 $spacing-4;
    font-size: $font-size-sm;
    position: absolute;
    width: 100%;
    margin-left: -$spacing-5;
    top: 5.5rem;
    left: $spacing-5;
    display: flex;
    align-items: center;
    gap: $spacing-1;

    a {
        color: $color-palette-primary-900;
    }

    /* Adjust the size of the checkbox */
    ::ng-deep .ui-chkbox-box {
        width: 10px;
        height: 10px;
    }

    /* Adjust the size of the check icon inside the checkbox */
    ::ng-deep .ui-chkbox-icon {
        width: 10px;
        height: 10px;
    }
}
