﻿#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper {
    position: relative;
    background-color: var(--sds-white, #FFFFFF);
    width: 100%;
    gap: 8px;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper:not(:last-child):after {
    position: absolute;
    bottom: -16px;
    left: 0;
    content: '';
    height: 1px;
    width: 100%;
    border-bottom: 1px solid var(--sds-grey-300, #D3D3D3);
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper:first-child {
    padding-top: 0px;
    border-top: none;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .title {
    color: var(--sds-grey-900, #020303);
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 6px;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .ticket-custom-properties-wrapper__description {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    color: #5A6161;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-checkbox-btn-group,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-radio-btn-group {
    column-count: 2;
    column-gap: 12px;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-control {
    border-radius: 6px;
    border: 1px solid var(--sds-grey-500, #B6BFBF);
    background: var(--sds-grey-000, #FFF);
    max-width: 90%;
    height: 30px;
    padding: 6px 12px;
    color: #333;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .ticket-custom-prop-value-sdropdown,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .ticket-custom-prop-value-mdropdown,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .ticket-custom-prop-value-calendar,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-control.ticket-custom-prop-text-value-input,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-control.ticket-custom-prop-number-value-input {
    max-width: 100%;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-properties-wrapper .form-check-input:checked {
    background-color: var(--sds-primary-500, #0B9294);
    border-color: var(--sds-primary-500, #0B9294);
}

#ticket-custom-properties .ticket-custom-properties-wrapper .ticket-custom-prop-value-calendar {
    max-width: 50%;
    border-radius: 6px;
    border: 1px solid var(--sds-grey-500, #B6BFBF);
    background: var(--sds-grey-000, #FFF);
    padding: 0px 8px;
    height: 33px;
}

#ticket-custom-properties .ticket-custom-prop-value-calendar .dx-texteditor-input-container {
    padding-left: 0px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .ticket-custom-prop-value-sdropdown {
    max-width: 50%;
    border-radius: 6px;
    border: 1px solid var(--sds-grey-500, #B6BFBF);
}

#ticket-custom-properties .ticket-custom-prop-value-sdropdown .dx-texteditor-input,
#ticket-custom-properties .ticket-custom-prop-value-mdropdown .dx-texteditor-input {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
}

#ticket-custom-properties .ticket-custom-properties-container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    margin-bottom: 3px;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-prop-default-list {
    border-radius: 8px;
    box-shadow: 0px 2px 1px 0px #0203030D;
    border: 1px solid #b3b3b340;
    padding: 24px;
    background-color: var(--sds-white, #FFFFFF);
    gap: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-prop-field-wrapper,
#ticket-custom-properties .ticket-custom-properties-container .ticket-custom-prop-name-wrapper {
    flex: 1 1 50%;
}

.dx-checkbox-checked .dx-checkbox-icon {
    color: var(--primary-500, #0B9294);
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch {
    width: 40px;
    height: 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 10px;
    padding: 0;
    box-shadow: none;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #bebfbf;
    border-radius: 10px;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform: none !important;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-handle::before {
    background-color: #fff;
    border-radius: 20px;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch[aria-pressed="true"] .dx-switch-container {
    background-color: var(--sds-primary-500, #0B9294);
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-handle {
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 8px;
    position: absolute;
    top: 0;
    left: 1px;
    transition: 0.1s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch[aria-pressed="true"] .dx-switch-handle {
    transform: translateX(20px) !important;
}

#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-on,
#ticket-custom-properties .ticket-custom-properties-wrapper .dx-switch-off {
    display: none;
}

#ticket-custom-properties .ticket-custom-prop-value-mdropdown-wrapper .ticket-custom-prop-value-mdropdown-content,
#ticket-custom-properties .ticket-custom-prop-value-sdropdown-wrapper .ticket-custom-prop-value-sdropdown-content {
    padding: 0;
}

#ticket-custom-properties .sds-multi-select-container.sds-multi-select-dropdown .multi-select-search-container .search-multi-select-input {
    border: none;
}

#ticket-custom-properties .sds-multi-select-container.sds-multi-select-dropdown .dropdown-menu {
    bottom: 100%;
    top: auto;
}