.page-investors .login-section.is-authenticated .login-header p {
    color: var(--orange);
}

.page-investors .login-authenticated {
    text-align: center;
}

.page-investors .login-authenticated-text {
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.6;
}

.page-investors .btn-login-secondary {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    background: var(--light);
    color: var(--gray);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.page-investors .btn-login-secondary:hover {
    border-color: var(--gray);
    color: var(--dark);
}

body.page-investors.lk-open {
    overflow: hidden;
    overflow-x: hidden;
}

.page-investors .lk-dashboard-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.page-investors .lk-dashboard-overlay.active {
    display: flex;
}

.page-investors .lk-dashboard-window {
    width: min(1400px, 95vw);
    height: min(85vh, 900px);
    min-height: 500px;
    background: var(--light);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both;
}

.page-investors .lk-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.page-investors .lk-dashboard-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.page-investors .lk-dashboard-subtitle {
    font-size: 13px;
    color: var(--gray);
    margin-top: 4px;
}

.page-investors .lk-dashboard-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.page-investors .btn-lk-new-contract,
.page-investors .btn-lk-fullscreen,
.page-investors .btn-lk-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid var(--gray-light);
    background: var(--white);
    color: var(--dark);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.page-investors .btn-lk-new-contract svg,
.page-investors .btn-lk-fullscreen svg,
.page-investors .btn-lk-logout svg {
    width: 16px;
    height: 16px;
}

.page-investors .btn-lk-new-contract {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

.page-investors .btn-lk-new-contract:hover {
    background: #ef6c00;
    border-color: #ef6c00;
}

.page-investors .btn-lk-fullscreen:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.page-investors .btn-lk-logout:hover {
    border-color: #e53935;
    color: #e53935;
}

.page-investors .lk-dashboard-body {
    flex: 1;
    overflow: auto;
    padding: 20px;
}

.page-investors .lk-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.page-investors .lk-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 16px;
}

.page-investors .lk-stat-label {
    font-size: 11px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-investors .lk-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-top: 6px;
}

.page-investors .lk-stat-value span {
    color: var(--orange);
}

.page-investors .lk-stat-sub {
    font-size: 11px;
    color: var(--gray);
    margin-top: 4px;
}

.page-investors .lk-contracts-section {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
}

.page-investors .lk-contracts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-light);
}

.page-investors .lk-contracts-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.page-investors .lk-contracts-header span {
    font-size: 13px;
    color: var(--gray);
}

.page-investors .lk-table-wrapper {
    overflow-x: auto;
}

.page-investors .lk-contracts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 960px;
}

.page-investors .lk-contracts-table th,
.page-investors .lk-contracts-table td {
    padding: 14px;
    text-align: left;
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 13px;
    vertical-align: middle;
}

.page-investors .lk-contracts-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
    background: var(--light);
    white-space: nowrap;
}

.page-investors .lk-contracts-table tbody tr:last-child td {
    border-bottom: none;
}

.page-investors .lk-muted {
    color: var(--gray);
}

.page-investors .lk-only-mobile {
    display: none;
}

.page-investors .lk-amount-main {
    display: block;
    font-weight: 700;
}

.page-investors .lk-participant-inn,
.page-investors .lk-term-end {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--gray);
    line-height: 1.4;
}

.page-investors .lk-conditions {
    display: block;
    margin-top: 4px;
    color: var(--gray);
    font-size: 11px;
    line-height: 1.45;
    max-width: 220px;
    white-space: normal;
}

.page-investors .lk-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.page-investors .lk-card-head-main {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.page-investors .lk-card-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
}

.page-investors .lk-card-date {
    font-size: 12px;
    color: var(--gray);
}

.page-investors .lk-contract-empty td {
    text-align: center;
    padding: 32px 20px;
    color: var(--gray);
}

.page-investors .lk-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.page-investors .lk-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.page-investors .lk-status--awaiting_payment {
    background: rgba(255, 193, 7, 0.15);
    color: #b28704;
}

.page-investors .lk-status--awaiting_payment .lk-status-dot {
    background: #ffc107;
}

.page-investors .lk-status--active {
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
}

.page-investors .lk-status--active .lk-status-dot {
    background: #2e7d32;
}

.page-investors .lk-status--completed {
    background: rgba(21, 101, 192, 0.1);
    color: #1565c0;
}

.page-investors .lk-status--completed .lk-status-dot {
    background: #1565c0;
}

.page-investors .lk-status--terminated {
    background: rgba(229, 57, 53, 0.1);
    color: #e53935;
}

.page-investors .lk-status--terminated .lk-status-dot {
    background: #e53935;
}

.page-investors .lk-status--cancelled {
    background: rgba(108, 117, 125, 0.15);
    color: #6c757d;
}

.page-investors .lk-status--cancelled .lk-status-dot {
    background: #6c757d;
}

.page-investors .lk-withdraw-amount {
    font-weight: 700;
    color: var(--orange);
}

.page-investors .lk-pending-amount {
    font-weight: 700;
    color: #e53935;
}

.page-investors .lk-payout-state {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.page-investors .lk-payout-stack {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.page-investors .lk-payout-label {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.page-investors .lk-payout-state--processing .lk-payout-label {
    color: #e53935;
}

.page-investors .lk-payout-state--completed .lk-payout-label {
    color: #2e7d32;
}

.page-investors .lk-payout-state--completed strong {
    font-size: 13px;
    color: var(--dark);
}

.page-investors .lk-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    white-space: nowrap;
    margin: 2px;
}

.page-investors .lk-action-btn.withdraw {
    background: var(--orange);
    color: var(--white);
}

.page-investors .lk-action-btn.withdraw:hover {
    background: #ef6c00;
}

.page-investors .lk-action-btn.renew {
    background: var(--light);
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.page-investors .lk-action-btn.renew:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.page-investors .lk-action-btn.terminate {
    background: rgba(229, 57, 53, 0.1);
    color: #e53935;
}

.page-investors .lk-action-btn.terminate:hover {
    background: #e53935;
    color: var(--white);
}

.page-investors .lk-action-btn.pay {
    background: var(--orange);
    color: var(--white);
    white-space: nowrap;
}

.page-investors .lk-action-btn.pay:hover {
    background: #ef6c00;
}

.page-investors .lk-awaiting-note {
    font-size: 12px;
    color: var(--gray);
}

.page-investors .lk-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3100;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 20px;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.page-investors .lk-modal-overlay.active {
    display: flex;
}

.page-investors .lk-modal {
    width: min(480px, 100%);
    background: var(--white);
    border-radius: 20px;
    padding: 36px;
    position: relative;
    animation: lkModalIn 0.3s ease;
    max-height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
}

@keyframes lkModalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.page-investors .lk-modal h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-right: 40px;
}

.page-investors .lk-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    background: var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.page-investors .lk-modal-close:hover {
    background: var(--orange);
    color: var(--white);
}

.page-investors .lk-modal-subtitle {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 20px;
}

.page-investors .lk-modal-highlight {
    background: #fff3e0;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.page-investors .lk-modal-highlight-label {
    font-size: 12px;
    color: var(--gray);
}

.page-investors .lk-modal-highlight-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--orange);
    margin-top: 4px;
}

.page-investors .lk-renew-info {
    background: #fff3e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.page-investors .lk-renew-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.page-investors .lk-renew-label {
    color: var(--gray);
}

.page-investors .lk-renew-value {
    font-weight: 700;
    color: var(--dark);
}

.page-investors .lk-renew-row--total {
    border-top: 2px solid rgba(245, 124, 0, 0.2);
    margin-top: 8px;
    padding-top: 10px;
}

.page-investors .lk-renew-row--total .lk-renew-value {
    color: var(--orange);
    font-size: 18px;
}

.page-investors .btn-lk-modal-submit {
    width: 100%;
    padding: 14px;
    background: var(--orange);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.page-investors .btn-lk-modal-submit:hover {
    background: #ef6c00;
}

.page-investors .lk-modal-hint {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--gray);
    text-align: center;
}

.page-investors .lk-modal--warning .lk-modal-hint {
    margin-top: 16px;
}

.page-investors .lk-modal-cancel,
.page-investors .lk-modal-danger {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.page-investors .lk-modal-cancel {
    background: var(--light);
    border: 2px solid var(--gray-light);
    color: var(--gray);
}

.page-investors .lk-modal-cancel:hover {
    border-color: var(--gray);
    color: var(--dark);
}

.page-investors .lk-modal--warning {
    text-align: center;
}

.page-investors .lk-terminate-icon {
    width: 56px;
    height: 56px;
    background: rgba(229, 57, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.page-investors .lk-terminate-icon svg {
    width: 28px;
    height: 28px;
    color: #e53935;
}

.page-investors .lk-modal--warning p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
}

.page-investors .lk-modal-actions {
    display: flex;
    gap: 12px;
}

.page-investors .lk-modal-actions .lk-modal-cancel,
.page-investors .lk-modal-actions .lk-modal-danger {
    width: auto;
    flex: 1;
    margin-top: 0;
}

.page-investors .lk-modal-danger {
    background: #e53935;
    border: none;
    color: var(--white);
}

.page-investors .lk-modal-danger:hover {
    background: #c62828;
}

@media (max-width: 1024px) {
    .page-investors .lk-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.page-investors .lk-modal--payment {
    width: min(640px, 100%);
}

.page-investors .lk-payment-notice {
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.page-investors .lk-payment-details {
    margin: 16px 0;
    display: grid;
    gap: 12px;
}

.page-investors .lk-payment-details dt {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 4px;
}

.page-investors .lk-payment-details dd {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark);
}

.page-investors .lk-payment-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    margin-bottom: 12px;
}

.page-investors .lk-payment-line-title {
    font-size: 13px;
    line-height: 1.4;
}

.page-investors .lk-payment-line-amount {
    font-weight: 700;
    white-space: nowrap;
}

.page-investors .lk-payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 15px;
}

.page-investors .lk-payment-total strong {
    font-size: 18px;
    color: var(--orange);
}

.page-investors .lk-payment-words {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
}

.page-investors .lk-payment-purpose {
    font-size: 13px;
    line-height: 1.5;
    padding: 12px 14px;
    background: var(--light);
    border-radius: 12px;
    margin-bottom: 16px;
}

.page-investors .lk-payment-qr {
    display: flex;
    justify-content: center;
    margin: 8px 0 12px;
}

.page-investors .lk-payment-qr img {
    width: 200px;
    height: 200px;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 8px;
    background: var(--white);
}

.page-investors .lk-payment-qr-hint {
    text-align: center;
    font-size: 12px;
    color: var(--gray);
    margin-bottom: 8px;
}

.page-investors .lk-payment-loading,
.page-investors .lk-payment-error {
    text-align: center;
    padding: 24px 0;
    color: var(--gray);
}

.page-investors .lk-payment-error {
    color: #e53935;
}

.page-investors .lk-payment-close-btn {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .page-investors .lk-dashboard-overlay {
        padding: 0;
    }

    .page-investors .lk-dashboard-window {
        width: 100vw;
        height: 100vh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        resize: none;
    }

    .page-investors .lk-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-investors .lk-dashboard-actions {
        width: 100%;
    }

    .page-investors .lk-dashboard-body {
        padding: 14px;
    }

    .page-investors .lk-contracts-section {
        border: none;
        background: transparent;
    }

    .page-investors .lk-contracts-header {
        padding: 0 4px 12px;
        border-bottom: none;
    }

    .page-investors .lk-table-wrapper {
        overflow-x: visible;
    }

    .page-investors .lk-contracts-table {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .page-investors .lk-contracts-table thead {
        display: none;
    }

    .page-investors .lk-contracts-table tbody {
        display: block;
    }

    .page-investors .lk-contract-card {
        display: block;
        background: var(--white);
        border: 1px solid var(--gray-light);
        border-radius: 14px;
        margin-bottom: 12px;
        padding: 0;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }

    .page-investors .lk-contract-card:last-child {
        margin-bottom: 0;
    }

    .page-investors .lk-contract-empty {
        display: block;
        background: var(--white);
        border: 1px solid var(--gray-light);
        border-radius: 14px;
    }

    .page-investors .lk-contract-card > .lk-td {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        column-gap: 12px;
        align-items: start;
        padding: 11px 16px;
        border-bottom: 1px solid var(--gray-lighter);
    }

    .page-investors .lk-contract-card > .lk-td::before {
        content: attr(data-label);
        font-size: 11px;
        font-weight: 600;
        color: var(--gray);
        text-transform: uppercase;
        letter-spacing: 0.35px;
        line-height: 1.4;
        padding-top: 2px;
    }

    .page-investors .lk-contract-card .lk-td-value {
        display: block;
        text-align: right;
        font-size: 14px;
        line-height: 1.45;
        min-width: 0;
        word-break: break-word;
    }

    .page-investors .lk-contract-card > .lk-td--id {
        display: block;
        padding: 14px 16px;
        background: linear-gradient(180deg, #fff8f0 0%, var(--white) 100%);
        border-bottom: 1px solid var(--gray-light);
    }

    .page-investors .lk-contract-card > .lk-td--id::before {
        display: none;
    }

    .page-investors .lk-contract-card > .lk-td--id .lk-td-value {
        text-align: left;
    }

    .page-investors .lk-only-mobile {
        display: block;
        flex-shrink: 0;
    }

    .page-investors .lk-only-desktop {
        display: none;
    }

    .page-investors .lk-contract-card > .lk-td--amount .lk-conditions {
        max-width: none;
        text-align: right;
        font-size: 12px;
        margin-top: 6px;
    }

    .page-investors .lk-contract-card > .lk-td--amount .lk-amount-main {
        font-size: 15px;
    }

    .page-investors .lk-contract-card > .lk-td--actions {
        display: block;
        padding: 14px 16px 16px;
        border-bottom: none;
        background: var(--light);
    }

    .page-investors .lk-contract-card > .lk-td--actions::before {
        display: block;
        margin-bottom: 10px;
        font-size: 11px;
        font-weight: 600;
        color: var(--gray);
        text-transform: uppercase;
        letter-spacing: 0.35px;
    }

    .page-investors .lk-contract-card > .lk-td--actions .lk-td-value {
        text-align: left;
    }

    .page-investors .lk-td-value-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .page-investors .lk-contract-card .lk-action-btn {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        min-height: 40px;
        font-size: 12px;
        padding: 8px 10px;
        margin: 0;
    }

    .page-investors .lk-td-value-actions:has(.lk-action-btn:only-child) .lk-action-btn {
        flex: 1 1 100%;
    }

    .page-investors .lk-contract-card .lk-awaiting-note {
        display: block;
        width: 100%;
        text-align: center;
        padding: 4px 0;
    }

    .page-investors .lk-modal-actions {
        flex-direction: column;
    }

    .page-investors .lk-modal {
        padding: 24px 18px;
    }
}

@media (max-width: 420px) {
    .page-investors .lk-stats-row {
        grid-template-columns: 1fr;
    }
}
