@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --rz-secondary: #5b6371;
    --rz-tooltip-font-size: 0.75rem;
    --rz-icon-fill: 1;
    --rz-icon-grade: 0;
    --rz-icon-optical-size: 48;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.rz-growl-icon-close {
    display: none !important;
}



.disabled-panel {
    pointer-events: none;
    opacity: 0.5;
}

/*noinspection CssUnresolvedCustomProperty*/
.selector-popup {
    display: none;
    position: absolute;
    overflow: hidden;
    height: 400px;
    width: 350px;
    border: var(--rz-panel-border);
    background-color: var(--rz-panel-background-color);
    box-shadow: var(--rz-panel-shadow);
    border-radius: var(--rz-border-radius);
    z-index: 1000;
}

/*orders-table*/


/*logo*/

.brand {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: nowrap;
    margin-top: 8px;
}

.brand .brand__link span {
    display: inline-flex !important;
    align-items: center !important;
    gap: .5rem !important;
    text-decoration: none !important;
    color: inherit !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.brand .brand__icon {
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    vertical-align: middle !important;
}

.brand .brand__text {
    font-weight: 600 !important;
    font-size: clamp(14px, 1.6vw, 18px) !important;
    letter-spacing: .2px !important;
    line-height: 1 !important;
}

@media (max-width: 480px) {
    .brand .brand__icon,
    .brand .brand__icon { width: 20px !important; height: 20px !important; }
    .brand .brand__text,
    .brand .brand__text { font-size: 14px !important; }
}

.rz-grid-scroll-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.rz-tabview-panel {
    overflow: hidden;
}

/* Плавающая кнопка */
.frb-container {
    position: fixed;
    z-index: 2147483646;
    right: 16px;
    bottom: calc(env(safe-area-inset-bottom) + 16px);
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;

    opacity: 0.55;
    transition: opacity .12s ease, transform .12s ease;
}

.frb-container.frb--active,
.frb-container.frb--dragging {
    opacity: 1;
}

.frb-btn {
    background-color: rgb(216 215 255);
    border-radius: 9999px;
    width: 56px;
    height: 56px;
    padding: 0;
    display: grid;
    place-items: center;
    touch-action: manipulation;
}

.rz-notification
{
    bottom: 10px !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    height: fit-content !important;
    top: unset !important;
}

.webhook-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	padding: 2px 8px;
	border-radius: 12px;
	background: rgba(25, 118, 210, 0.1);
	color: #1976d2;
	white-space: nowrap;
}
