@font-face {
    font-family: CRM;
    src: url('/fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 400 600;
    font-display: swap
}

@font-face {
    font-family: CRM;
    src: url('/fonts/Montserrat-Bold.woff') format('woff');
    font-weight: 700 900;
    font-display: swap
}

* {
    box-sizing: border-box
}

html {
    height: auto;
    min-height: 100%;
    font-size: 14px
}

body {
    height: auto;
    min-height: 100vh;
    background: #f4f7fa;
    font: 14px/1.6 CRM,Arial,sans-serif;
    color: #172438
}

h1,h2,h3,h4 {
    font-family: CRM,Arial,sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.035em
}

h1 {
    font-size: 36px
}

h2 {
    font-size: 26px;
    margin: 0 0 24px
}

h3 {
    font-size: 19px;
    margin: 20px 0
}

a {
    color: #031B77;
    transition: background .15s,color .15s
}

img {
    max-width: 100%
}

button,input,textarea,select {
    font: inherit
}

button,a,input,select,textarea {
    touch-action: manipulation
}

:focus-visible {
    outline: 3px solid #62BADD!important;
    outline-offset: 3px
}

::selection {
    background: #c6eafa
}

p {
    overflow-wrap: anywhere
}

.ht {
    font: 600 14px/1.6 CRM,Arial,sans-serif
}

input,select,textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 46px;
    margin: 8px 0 20px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    box-shadow: none;
    color: #172438;
    transition: border-color .15s,box-shadow .15s
}

input:focus,select:focus,textarea:focus {
    background: #fff;
    border-color: #62BADD;
    box-shadow: 0 0 0 3px #62badd22
}

input::placeholder,textarea::placeholder {
    color: #8b96a6
}

textarea {
    min-height: 120px;
    resize: vertical
}

input[type=checkbox],input[type=radio],.checkbox {
    width: 18px!important;
    min-height: 18px;
    height: 18px;
    vertical-align: middle;
    margin: 6px 10px;
    accent-color: #031B77;
    box-shadow: none
}

input[type=file] {
    padding: 9px;
    background: #f4f7fa
}

input::file-selector-button {
    border: 0;
    padding: 6px 10px;
    border-radius: 5px;
    color: #031B77;
    background: #e4f3fa;
    margin-right: 12px
}

button,.btn,a.button__submit,a.button__submit2,a.button__warning,a.button__dop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #62BADD;
    color: #031B77;
    font: 600 13px/1.4 CRM,Arial,sans-serif;
    text-decoration: none;
    cursor: pointer;
    max-width: 100%;
    vertical-align: middle
}

button:hover,.button__submit:hover {
    background: #4baed4;
    color: #031B77
}

.button__submit2,a.button__submit2 {
    background: #2DC177;
    color: #083c25
}

.button__submit2:hover {
    background: #24ad68;
    color: #083c25
}

.button__warning,a.button__warning {
    background: #ffedea;
    color: #ac3027;
    border-color: #f6cec8
}

.button__warning:hover {
    background: #fbd8d3;
    color: #ac3027
}

.button__dop,a.button__dop {
    background: #fff;
    color: #536175;
    border-color: #e4eaf0
}

button:disabled {
    opacity: .65;
    cursor: default;
    background: #031B77;
    color: white
}

.sub__btn {
    font-size: 12px!important;
    padding: 8px 10px!important;
    min-height: 36px!important
}

.navbar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    background: white;
    border-right: 1px solid #e4eaf0;
    padding: 30px 18px;
    z-index: 100
}

.nav__container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-family: inherit;
    color: #172438
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 12px 40px!important;
    color: #031B77!important
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #62BADD;
    font-size: 19px;
    font-weight: 800
}

.brand strong {
    display: block;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -1px
}

.brand small {
    font-size: 10px;
    color: #728094;
    letter-spacing: .04em
}

.nav-caption {
    margin: 0 14px 12px;
    color: #9aa5b4;
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.navbar .nav-links a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    margin: 0;
    border-radius: 9px;
    color: #657286;
    font-size: 13px
}

.nav-links a .fa {
    width: 20px;
    font-size: 18px;
    text-align: center
}

.navbar .nav-links a:hover {
    background: #f3f8fb;
    color: #031B77
}

.navbar .nav-links a[aria-current=page] {
    background: #e8f5fb;
    color: #031B77;
    font-weight: 700;
    box-shadow: inset 3px 0 #62BADD
}

.navbar .user-block {
    margin-top: auto;
    padding: 22px 8px 0;
    border-top: 1px solid #e4eaf0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.navbar .user-block a {
    color: #728094;
    margin: 0;
    font-size: 12px
}

.navbar .user-block img {
    width: 36px;
    height: 36px;
    border: 1px solid #e4eaf0
}

.user-name {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    overflow-wrap: anywhere
}

.user-name small {
    display: block;
    color: #728094;
    font-size: 10px
}

.logout-link {
    width: 100%;
    padding: 8px 0
}

.app-topbar {
    margin-left: 240px;
    height: 76px;
    border-bottom: 1px solid #e4eaf0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: #ffffffd9;
    gap: 16px
}

.app-topbar span {
    color: #728094;
    font-size: 12px
}

.workspace-status {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px!important
}

.workspace-status:before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2DC177
}

.menu-toggle {
    display: none
}

.container {
    width: auto;
    max-width: 1600px;
    margin: 0 0 0 240px;
    padding: 36px 40px 64px;
    font-family: inherit;
    min-width: 0
}

.container>br,body>br {
    display: none
}

.container>h2 {
    margin: 0 0 26px
}

.container>h2:not(:first-child) {
    margin-top: 30px
}

.container>h3 {
    margin-top: 0
}

.container>form {
    max-width: 920px;
    background: white;
    border: 1px solid #e4eaf0;
    border-radius: 16px;
    padding: 28px
}

.container>form>br {
    display: none
}

.container>form label {
    font-weight: 600
}

.container>form>div:has(input[name^="contacts"]) {
    border-top: 1px solid #e4eaf0;
    margin-top: 20px;
    padding-top: 20px
}

.container>a[class^="button"] {
    margin: 0 8px 22px 0
}

.container>p {
    background: white;
    padding: 14px 20px;
    border-bottom: 1px solid #e4eaf0
}

.table-scroll {
    overflow: auto;
    max-width: 100%;
    border: 1px solid #e4eaf0;
    border-radius: 13px;
    background: white;
    margin: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: #bdcfdb transparent
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    background: #fff;
    margin: 0!important;
    font-size: 13px
}

th,td {
    border: 0;
    border-bottom: 1px solid #edf0f5;
    padding: 16px 18px;
    text-align: left;
    vertical-align: middle
}

th {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8591a2;
    background: #f9fbfd;
    white-space: nowrap
}

tr:last-child td {
    border-bottom: 0
}

td {
    min-width: 100px;
    max-width: 480px;
    overflow-wrap: anywhere
}

td a {
    color: #031B77!important
}

tr:hover td {
    background: #f5faff
}

tr.gray,tr.green,tr.red {
    background: white;
    color: #172438
}

tr.green td:first-child {
    box-shadow: inset 3px 0 #2DC177
}

tr.red td:first-child {
    box-shadow: inset 3px 0 #EB483C
}

tr.gray td:first-child {
    box-shadow: inset 3px 0 #d3dce5
}

tr.red td:last-child {
    color: #b94036
}

tr.green td:last-child {
    color: #168652
}

td .button__warning {
    color: #ac3027!important
}

.table-scroll table {
    min-width: 620px
}

.table-scroll:focus-visible {
    outline-offset: 0
}

.filters__tasks,.filters__tasks2 {
    gap: 14px;
    grid-template-columns: repeat(4,minmax(0,1fr))
}

.filters__tasks2 {
    grid-template-columns: repeat(2,minmax(0,1fr)) repeat(3,minmax(0,1.15fr));
    align-items: end
}

.filters__tasks input,.filters__tasks select,.filters__tasks2 input {
    margin-bottom: 12px
}

.filters__button__count {
    padding: 0 0 12px
}

.filters__button__count button {
    width: 100%;
    min-height: 46px
}

.clients__search {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 12px;
    max-width: 800px;
    margin: 10px 0
}

.clients__search>div:last-child {
    padding-top: 8px!important
}

.clients__search input {
    margin-bottom: 0
}

.task__edit__checkbox__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    padding: 16px;
    background: #f4f7fa;
    border-radius: 10px;
    margin: 12px 0 22px
}

.task__edit__checkbox__grid label {
    display: flex;
    align-items: center
}

.bread__crumbs {
    padding: 0;
    background: transparent;
    color: #728094;
    font-size: 11px;
    margin-bottom: 24px
}

.nav__breadcrumbs__body {
    flex-wrap: wrap
}

.storage-wrapper {
    gap: 20px!important;
    align-items: start
}

.folders {
    width: 260px!important;
    background: white!important
}

.folders,.files {
    padding: 22px!important;
    border-color: #e4eaf0!important;
    border-radius: 14px!important;
    min-width: 0
}

.files>div:first-child,.files>div:first-child>div {
    flex-wrap: wrap
}

.file-row {
    gap: 16px;
    padding: 18px 0!important;
    flex-wrap: wrap
}

.file-left {
    min-width: 0
}

.file-left>div {
    min-width: 0;
    overflow-wrap: anywhere
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.select-sort {
    width: auto;
    max-width: 100%;
    margin: 0!important
}

.input-inline {
    flex-wrap: wrap
}

.input-inline input {
    width: 100%;
    flex-basis: 100%!important
}

.note {
    margin: 20px 0!important
}

.storage-wrapper h3 {
    margin-top: 0
}

.suggestions-box,#search_results {
    border: 1px solid #e4eaf0!important;
    border-radius: 10px;
    box-shadow: 0 10px 30px #17243812;
    max-width: 90vw
}

#my_clients_pagination,#files_pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px
}

[id*=pagination] button,.page_btn {
    min-width: 38px;
    min-height: 38px;
    padding: 8px 12px
}

#client_search {
    max-width: 600px;
    margin-right: 10px
}

.login-page {
    background: #f7fafc
}

.login-shell {
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr 1fr
}

.login-story {
    background: #031B77;
    color: #fff;
    padding: 48px clamp(30px,5vw,90px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden
}

.login-story:after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 1px solid #62badd30;
    border-radius: 50%;
    right: -340px;
    bottom: -290px;
    box-shadow: 0 0 0 80px #62badd09,0 0 0 160px #62badd06;
    pointer-events: none
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    line-height: 1.5
}

.login-brand img {
    width: 88px;
    height: auto
}

.login-brand span {
    border-left: 1px solid #ffffff40;
    padding-left: 16px
}

.login-copy {
    padding: 65px 0 40px;
    position: relative;
    z-index: 1;
    max-width: 500px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 600;
    color: #62BADD;
    display: block;
    margin-bottom: 24px
}

.login-copy h1 {
    font-size: clamp(32px,3.6vw,54px);
    line-height: 1.13;
    letter-spacing: -.045em;
    margin-bottom: 24px
}

.login-copy h1 em {
    font-style: normal;
    color: #62BADD
}

.login-copy p {
    font-size: 14px;
    line-height: 1.8;
    color: #bac8e8;
    max-width: 350px
}

.login-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px
}

.login-features span {
    border: 1px solid #ffffff24;
    background: #ffffff08;
    border-radius: 30px;
    padding: 8px 12px;
    font-size: 11px
}

.login-features i {
    color: #62BADD;
    margin-right: 6px
}

.story-footer {
    font-size: 10px;
    color: #a4b5db;
    position: relative;
    z-index: 1
}

.login-main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 30px;
    position: relative
}

.login-card {
    width: 100%;
    max-width: 390px
}

.login-symbol {
    width: 52px;
    height: 52px;
    background: #e1f2fa;
    color: #031B77;
    display: grid;
    place-items: center;
    font-size: 23px;
    border-radius: 15px;
    margin-bottom: 30px
}

.login-card h2 {
    font-size: 30px;
    margin: 0 0 12px
}

.login-lead {
    color: #728094;
    font-size: 13px;
    margin-bottom: 32px;
    line-height: 1.7
}

.login-card label {
    font-size: 12px;
    font-weight: 600;
    display: block
}

.login-card input {
    height: 50px;
    margin: 10px 0 22px
}

.password-field {
    position: relative
}

.password-field input {
    padding-right: 76px
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 17px;
    background: transparent!important;
    min-height: 34px;
    padding: 6px 8px;
    font-size: 10px;
    color: #728094!important
}

.login-card .login-submit {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    justify-content: space-between;
    padding: 0 20px;
    background: #62BADD;
    color: #031B77
}

.login-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 10px;
    color: #929bad;
    margin-top: 26px
}

.login-error {
    padding: 12px 14px;
    margin-bottom: 20px;
    background: #ffedea;
    color: #ac3027;
    border-radius: 8px;
    font-size: 12px
}

.login-version {
    position: absolute;
    bottom: 24px;
    color: #9aa5b4;
    font-size: 10px
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
    margin: 24px 0 34px
}

.summary-card {
    padding: 22px;
    background: white;
    border: 1px solid #e4eaf0;
    border-radius: 14px;
    position: relative
}

.summary-card span {
    color: #728094;
    font-size: 11px
}

.summary-card strong {
    font-size: 32px;
    display: block;
    margin: 12px 0 0;
    letter-spacing: -.06em
}

.summary-card i {
    position: absolute;
    right: 20px;
    top: 22px;
    color: #62BADD;
    font-size: 20px
}

.page-intro {
    color: #728094;
    margin: -12px 0 25px;
    background: none!important;
    padding: 0!important;
    border: 0!important
}

.dashboard-tasks {
    max-height: 480px;
    overflow: auto
}

.dashboard-tasks th {
    position: sticky;
    top: 0;
    z-index: 1
}

@media(min-width:1900px) {
    .container {
        margin-right: auto;
        margin-left: 280px
    }

    .navbar {
        width: 260px
    }

    .app-topbar {
        margin-left: 260px
    }

}

@media(max-width:1200px) {
    .navbar {
        width: 210px
    }

    .container {
        margin-left: 210px;
        padding: 28px 24px 48px
    }

    .app-topbar {
        margin-left: 210px;
        padding: 0 24px
    }

    .filters__tasks {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .filters__tasks2 {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .storage-wrapper {
        flex-direction: column
    }

    .folders,.files {
        width: 100%!important
    }

    .input-inline input {
        flex-basis: auto!important
    }

    .summary-card {
        padding: 18px
    }

}

@media(max-width:800px) {
    .navbar {
        transform: translateX(-100%);
        transition: transform .2s;
        top: 64px;
        width: 250px;
        padding: 22px 16px;
        box-shadow: 15px 0 40px #17243818
    }

    .navbar.is-open {
        transform: translateX(0)
    }

    .navbar .brand {
        margin-bottom: 25px!important
    }

    .app-topbar {
        position: sticky;
        top: 0;
        z-index: 110;
        margin: 0;
        height: 64px;
        padding: 0 20px;
        background: #fff
    }

    .menu-toggle {
        display: inline-flex;
        background: #eef7fb;
        min-height: 36px;
        width: 38px;
        padding: 8px
    }

    .app-topbar>div {
        display: flex;
        align-items: center;
        gap: 12px
    }

    .app-topbar .workspace-status {
        font-size: 10px!important
    }

    .container {
        margin: 0;
        padding: 26px 20px 48px
    }

    .container>form {
        padding: 22px
    }

    h2 {
        font-size: 23px
    }

    .summary-grid {
        gap: 10px
    }

    .summary-card strong {
        font-size: 28px
    }

    .summary-card i {
        display: none
    }

    .login-shell {
        grid-template-columns: 1fr
    }

    .login-story {
        padding: 26px 28px
    }

    .login-copy {
        padding: 34px 0 8px;
        max-width: none
    }

    .login-copy h1 {
        font-size: 32px;
        max-width: 450px;
        margin: 0
    }

    .login-copy p,.login-features,.story-footer {
        display: none
    }

    .login-copy .eyebrow {
        margin-bottom: 12px
    }

    .login-brand img {
        width: 65px
    }

    .login-main {
        padding: 36px 24px 68px
    }

    .login-symbol {
        display: none
    }

    .login-card h2 {
        font-size: 26px
    }

    .login-lead {
        margin-bottom: 25px
    }

    .login-version {
        bottom: 20px
    }

    .login-brand {
        font-size: 11px
    }

}

@media(max-width:480px) {
    .container {
        padding: 24px 16px 40px
    }

    .app-topbar {
        padding: 0 16px
    }

    .workspace-status {
        display: none!important
    }

    .filters__tasks,.filters__tasks2 {
        grid-template-columns: 1fr
    }

    .filters__button__count {
        padding-bottom: 0
    }

    .filters__tasks2 {
        gap: 6px;
        margin-bottom: 26px
    }

    .task__edit__checkbox__grid {
        grid-template-columns: 1fr
    }

    .summary-grid {
        grid-template-columns: 1fr
    }

    .summary-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px
    }

    .summary-card strong {
        margin: 0;
        font-size: 25px
    }

    .summary-card span {
        font-size: 12px
    }

    .container>form {
        padding: 18px
    }

    .container>a[class^=button] {
        display: flex;
        width: 100%;
        margin-right: 0
    }

    .login-story {
        padding: 22px 24px
    }

    .login-copy h1 {
        font-size: 29px
    }

    .login-main {
        padding: 30px 24px 65px
    }

    .login-brand img {
        width: 55px
    }

    .login-copy {
        padding-top: 28px
    }

    .clients__search {
        grid-template-columns: minmax(0,1fr) auto
    }

    .clients__search button {
        font-size: 12px;
        padding: 12px
    }

    .files,.folders {
        padding: 16px!important
    }

    .file-row {
        align-items: flex-start
    }

    .table-scroll table {
        font-size: 12px
    }

    th,td {
        padding: 13px 14px
    }

}

.button__submit {
    color: #031B77
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 20px 0
}

.pagination button[aria-current=page] {
    background: #031B77;
    color: white
}

.pagination-gap {
    padding: 0 5px;
    color: #728094
}

@media(max-width:800px) {
    .navbar {
        visibility: hidden;
        overflow-y: auto
    }

    .navbar.is-open {
        visibility: visible
    }

}

@media(prefers-reduced-motion:reduce) {
    * {
        scroll-behavior: auto!important;
        transition: none!important;
        animation: none!important
    }

}

/* Белый текст на кнопках */
button, .btn, .button__submit, .button__submit2, .button__warning, .button__dop, a.button__submit, a.button__submit2, a.button__warning, a.button__dop, td a.button__submit, td a.button__submit2, td a.button__warning, td a.button__dop, .login-card .login-submit {
    color: #ffffff !important;
}

button:hover, .btn:hover, .button__submit:hover, .button__submit2:hover, .button__warning:hover, .button__dop:hover {
    color: #ffffff !important;
}

.button__warning, a.button__warning {
    background: #EB483C;
    border-color: #EB483C;
}

.button__warning:hover {
    background: #cf392f;
    border-color: #cf392f;
}

.button__dop, a.button__dop {
    background: #728094;
    border-color: #728094;
}

.button__dop:hover {
    background: #59677b;
    border-color: #59677b;
}

.password-toggle {
    background: #62BADD !important;
    color: #ffffff !important;
    border-radius: 6px;
}

.password-toggle:hover {
    background: #4baed4 !important;
}

.menu-toggle {
    background: #62BADD;
}

input::file-selector-button {
    color: #ffffff;
    background: #62BADD;
}

/* Голубая левая навигация */
.navbar {
    background: #62BADD;
    border-right-color: #62BADD;
}

.navbar .brand, .navbar .brand small, .navbar .nav-caption, .navbar .nav-links a, .navbar .user-block a, .navbar .user-name, .navbar .user-name small {
    color: #ffffff !important;
}

.navbar .brand-mark {
    color: #62BADD;
    background: #ffffff;
}

.navbar .nav-links a:hover {
    color: #ffffff;
    background: #4baed4;
}

.navbar .nav-links a[aria-current="page"] {
    color: #ffffff;
    background: #031B77;
    box-shadow: inset 3px 0 #ffffff;
}

.navbar .user-block {
    border-top-color: #ffffff55;
}

.navbar .user-block img {
    border-color: #ffffff;
}

.navbar :focus-visible {
    outline-color: #ffffff !important;
}

/* Логотип компании и навигация по разделам */
.navbar .brand {
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 12px;
}

.navbar .brand .company-brand-logo {
    width: 64px;
    height: 54px;
    border: 0;
    border-radius: 0;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar .brand > span {
    min-width: 0;
}

.navbar .brand small {
    display: block;
    font-size: 9px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.app-breadcrumbs {
    min-width: 0;
    font-size: 12px;
}

.app-breadcrumbs ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-breadcrumbs li {
    color: #728094;
}

.app-breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: #a6b1c0;
}

.app-breadcrumbs a {
    color: #031B77;
}

.app-breadcrumbs a:hover {
    text-decoration: underline;
}

.task-list-note {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 16px 0 28px;
    font-size: 12px;
    color: #728094;
}

/* Действия в таблицах: одна строка, на телефоне только значки */
.row-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}

.row-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 11px;
    min-height: 36px;
    border: 0 !important;
    border-radius: 7px;
    background: #62BADD;
    color: #ffffff !important;
    font-size: 11px;
    line-height: 1.4;
    text-decoration: none;
}

.row-actions a[href*="edit"] {
    background: #2DC177;
}

.row-actions a[href*="delete"], .row-actions .delete_client {
    background: #EB483C;
}

.row-actions a:hover {
    filter: brightness(0.92);
    color: #ffffff !important;
}

.row-actions .fa {
    font-size: 14px;
    margin: 0;
}

.pagination button[aria-current="page"], #my_clients_pagination button[aria-current="page"], #files_pagination button[aria-current="page"] {
    background: #031B77;
    opacity: 1;
    box-shadow: 0 0 0 2px #62BADD33;
}

@media (max-width: 800px) {
    .row-actions .action-label {
        display: none;
    }

    .row-actions a {
        width: 36px;
        height: 36px;
        padding: 8px !important;
    }

    .app-topbar {
        min-height: 64px;
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .app-breadcrumbs {
        font-size: 11px;
    }

}

/* Кликабельные карточки задач */
a.summary-card {
    display: block;
    color: #172438;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

a.summary-card:hover {
    border-color: #62BADD;
    box-shadow: 0 8px 24px #17243812;
}

.task-status-filter {
    max-width: 420px;
    margin: 4px 0 8px;
}

.empty-state {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e4eaf0;
    border-radius: 12px;
    color: #728094;
}

@media (max-width: 480px) {
    a.summary-card {
        display: flex;
    }
}
