.accountant-access-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 8px 24px;
    border: 0;
    border-radius: 0;
    background: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.accountant-access-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--secondary-color);
}

.accountant-access-banner strong {
    display: inline;
    font-size: 0.88rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

.accountant-access-banner span {
    display: inline;
    margin-left: 4px;
    font-size: 0.82rem;
    line-height: 1.3;
    color: var(--secondary-color);
}

@media (max-width: 640.98px) {
    .accountant-access-banner {
        align-items: flex-start;
        padding: 8px 14px;
    }
}

.notta-person-tabs {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    gap: 4px;
    padding: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    overflow-x: auto;
}

.notta-person-tab {
    min-height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.notta-person-tab:hover {
    color: #25324b;
    background: #f8fafc;
}

.notta-person-tab.is-active {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 8px 20px -14px rgba(49, 55, 214, 0.75);
}

.notta-role-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.notta-form .notta-role-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.notta-role-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.notta-role-option.is-selected {
    border-color: rgba(49, 55, 214, 0.35);
    background: rgba(49, 55, 214, 0.08);
    color: #25324b;
}

.notta-bank-workspace {
    display: grid;
    gap: 14px;
}

.notta-bank-form-card,
.notta-bank-list-card {
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
}

.notta-bank-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.notta-bank-card-head strong,
.notta-bank-card-head span {
    display: block;
}

.notta-bank-card-head strong {
    color: #25324b;
    font-size: 14px;
    font-weight: 900;
}

.notta-bank-card-head span {
    margin-top: 2px;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
}

.notta-bank-account-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notta-bank-account-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fbfdff;
}

.notta-bank-account-item strong {
    display: block;
    color: #25324b;
    font-size: 13px;
    font-weight: 900;
}

.notta-bank-account-item span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.notta-bank-account-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.notta-bank-account-actions .button {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.notta-bank-empty {
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px dashed #d8dee8;
    border-radius: 10px;
    background: #fbfdff;
    color: #8a94a6;
}

.notta-bank-empty strong {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.notta-bank-empty span {
    font-size: 12px;
    font-weight: 700;
}

.transaction-type-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.transaction-type-picker button {
    display: grid;
    gap: 3px;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #ffffff;
    color: #64748b;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.transaction-type-picker button strong {
    color: #25324b;
    font-size: 13px;
    font-weight: 900;
}

.transaction-type-picker button span {
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
}

.transaction-type-picker button.is-selected {
    box-shadow: 0 10px 24px -20px rgba(15, 23, 42, 0.45);
}

.transaction-type-picker button.is-selected.is-income {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.08);
}

.transaction-type-picker button.is-selected.is-expense {
    border-color: rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.08);
}

.transaction-type-picker button.is-selected.is-transfer {
    border-color: rgba(59, 130, 246, 0.45);
    background: rgba(59, 130, 246, 0.08);
}

.transaction-document-uploader {
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #ffffff;
}

.transaction-document-upload-grid {
    display: grid;
    grid-template-columns: 230px minmax(280px, 1fr) 120px;
    gap: 12px;
    align-items: center;
}

.transaction-document-uploader .field {
    margin-bottom: 0;
}

.transaction-document-type .select,
.transaction-document-type select {
    width: 100%;
}

.transaction-document-type select {
    height: 52px !important;
    min-height: 52px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 52px;
}

.transaction-document-dropzone {
    min-width: 0;
}

.notta-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.transaction-document-dropzone-label {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 52px;
    min-height: 52px;
    padding: 0 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.transaction-document-dropzone-label:hover {
    border-color: #3737d7;
    background: #f4f6ff;
    box-shadow: 0 8px 22px -18px rgba(55, 55, 215, 0.5);
}

.transaction-document-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #3737d7;
    background: rgba(55, 55, 215, 0.08);
}

.transaction-document-file-icon svg {
    width: 18px;
    height: 18px;
}

.transaction-document-file-text {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.transaction-document-dropzone-label strong {
    overflow: hidden;
    color: #25324b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transaction-document-submit .button {
    width: 100%;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
}

.transaction-document-submit .button[disabled] {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
}

.transaction-document-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.transaction-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    border: 1px solid #e8edf5;
    border-radius: 10px;
    background: #ffffff;
}

.transaction-document-item strong,
.transaction-document-item span,
.transaction-document-item small {
    display: block;
}

.transaction-document-item strong {
    color: #25324b;
    font-size: 13px;
    font-weight: 900;
}

.transaction-document-item span {
    margin-top: 3px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.transaction-document-item small {
    margin-top: 3px;
    color: #8a94a6;
    font-size: 12px;
}

.transaction-document-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.transaction-document-actions .button {
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.transaction-document-empty {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px dashed #d8dee8;
    border-radius: 10px;
    background: #fbfdff;
}

.transaction-document-empty strong {
    color: #64748b;
    font-size: 13px;
    font-weight: 900;
}

.transaction-document-empty span {
    color: #8a94a6;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 640.98px) {
    .notta-person-tabs {
        display: flex;
        width: 100%;
    }

    .notta-person-tab {
        flex: 1 0 auto;
    }

    .notta-bank-account-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .notta-bank-account-actions {
        justify-content: flex-start;
    }

    .transaction-type-picker {
        grid-template-columns: 1fr;
    }

    .transaction-document-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .transaction-document-actions {
        justify-content: flex-start;
    }

    .transaction-document-upload-grid {
        grid-template-columns: 1fr;
    }

    .transaction-document-submit .button {
        width: 100%;
    }
}
