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

a, .btn-link {
    color: #0366d6;
}

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

.content {
    padding-top: 1.1rem;
}

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.edit-page-content {
    background: #fff;
    padding: 24px;
    min-height: 380px;
}

.edit-page-content .list-page-content {
    background: #fff;
    padding: 24px;
    min-height: 380px;
}

.deleted {
    text-decoration: line-through;
}

.ant-menu-submenu-hidden {
    opacity: 0;
}

.ant-menu-submenu-light, .ant-menu-submenu-dark {
    opacity: 1;
    transition: opacity 1s !important;
}

h2 {
    font-weight: bold;
}

.q-list-child {
    padding-left: 15px;
}

.q-day-off {
    background-color: #FFF1F1 !important;
}

#components-reconnect-modal {
    z-index: 1000;
    font-size: 18px;
}

.cell-changing,
.cell-changing input {
    color: #004C83 !important;
    font-weight: 600;
}

.cell-positive {
    color: #28a745 !important;
    font-weight: 600;
}

.cell-negative {
    color: #dc3545 !important;
    font-weight: 600;
}

/* ===== Лёгкое скругление типовых компонентов (кнопки, поля, селекты и т.п.) ===== */
.ant-btn,
.ant-input,
.ant-input-affix-wrapper,
.ant-input-number,
.ant-input-number-affix-wrapper,
.ant-input-search,
.ant-input-group-addon,
.ant-select .ant-select-selector,
.ant-picker,
.ant-picker-input,
.ant-checkbox-inner,
.ant-tag,
.ant-badge-count,
.ant-alert,
.ant-card,
.ant-modal-content,
.ant-message-notice-content,
.ant-notification-notice,
.ant-dropdown-menu,
.ant-tooltip-inner,
.ant-popover-inner,
.ant-table,
.ant-table-container,
.ant-pagination-item,
.ant-pagination-prev .ant-pagination-item-link,
.ant-pagination-next .ant-pagination-item-link,
.ant-switch {
    border-radius: 3px !important;
}

/* Группы и сегментированные кнопки — скругляем только крайние углы */
.ant-btn-group > .ant-btn:first-child,
.ant-input-group > *:first-child,
.ant-input-group-addon:first-child {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}

.ant-btn-group > .ant-btn:last-child,
.ant-input-group > *:last-child,
.ant-input-group-addon:last-child {
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}