/* _content/CloseCreditBot/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-f56j7ech73] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-f56j7ech73] {
    flex: 1;
}

.sidebar[b-f56j7ech73] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-f56j7ech73] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-f56j7ech73]  a, .top-row[b-f56j7ech73]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-f56j7ech73]  a:hover, .top-row[b-f56j7ech73]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-f56j7ech73]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-f56j7ech73] {
        justify-content: space-between;
    }

    .top-row[b-f56j7ech73]  a, .top-row[b-f56j7ech73]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-f56j7ech73] {
        flex-direction: row;
    }

    .sidebar[b-f56j7ech73] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-f56j7ech73] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-f56j7ech73]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-f56j7ech73], article[b-f56j7ech73] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-f56j7ech73] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-f56j7ech73] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/CloseCreditBot/Components/Pages/ContractsPage.razor.rz.scp.css */
/* Базовые текстовые стили для Razor-страницы */
.app[b-akwamv9w9u] {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: #fefefe;
    color: #2e2f44;
    max-width: 420px;
    min-height: 820px;
    margin: 30px auto;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(46,47,68,0.08), 0 1.5px 8px #eee;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 36px;
}

.title h4[b-akwamv9w9u] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2em;
}
.title p[b-akwamv9w9u] {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5em;
}

.contract[b-akwamv9w9u] {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 20px 2px;
    font-size: large;
    background: #f7f7fa;
    border-radius: 8px;
    box-shadow: 0 1px 4px #eee;
    padding: 10px 16px;
}

.footer-text[b-akwamv9w9u] {
    font-size: 0.85rem;
    color: #2e2f44;
    margin: 5px 20px;
    font-weight: 400;
    opacity: 0.7;
}

.button[b-akwamv9w9u], .form-data input[type='submit'][b-akwamv9w9u] {
    font-family: inherit;
    font-size: 1.08em;
    font-weight: 600;
    color: #fefefe;
    background-color: #2e2f44;
    margin: 0 20px;
    width: calc(100% - 40px);
    padding: 16px 0;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #e0e0e0;
    letter-spacing: 0.02em;
}
.button:hover[b-akwamv9w9u], .form-data input[type='submit']:hover[b-akwamv9w9u] {
    background: #47496a;
    box-shadow: 0 4px 16px #d0d0e0;
}
.button.accent[b-akwamv9w9u] {
    background: linear-gradient(90deg,#2e2f44 80%,#04ab57 100%);
}

.compaund[b-akwamv9w9u] {
    width: 100%;
    padding: 8px 0;
    background-color: #04ab57;
    color: #fefefe;
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 1.1em;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px #e0e0e0;
}

.header[b-akwamv9w9u] {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px;
}

.discount[b-akwamv9w9u] {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #279c7c;
    border-radius: 12px;
    padding: 6px 18px;
    background: linear-gradient(90deg,#eafff3 60%,#fefefe 100%);
    box-shadow: 0 2px 8px #e0e0e0;
}
.discount p[b-akwamv9w9u] {
    margin: 0;
    font-size: 1em;
    color: #2e2f44;
}
.discount h2[b-akwamv9w9u] {
    margin: 0;
    font-size: 22px;
    color: #04ab57;
    font-weight: 700;
}

.title[b-akwamv9w9u] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
}
.title *[b-akwamv9w9u] {
    color: #2e2f44;
    margin: 0;
}
.title p[b-akwamv9w9u] {
    font-weight: 700;
}

.repayment[b-akwamv9w9u] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 20px 20px;
    color: #2fa28a;
    background: #f7f7fa;
    border-radius: 8px;
    box-shadow: 0 1px 4px #eee;
    padding: 12px 16px;
}
.repayment h3[b-akwamv9w9u] {
    text-align: center;
    color: #2e2f44;
    font-size: 1.1em;
}
.repayment p[b-akwamv9w9u] {
    margin: 3px;
    color: #2e2f44;
}

.repayment-checkbox[b-akwamv9w9u] {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    background: #eafff3;
    border-radius: 8px;
    padding: 6px 10px;
    border: 1px solid #04ab57;
    box-shadow: 0 1px 4px #e0e0e0;
}
.repayment-checkbox input[type="checkbox"][b-akwamv9w9u] {
    width: 22px;
    height: 22px;
    accent-color: #04ab57;
    border-radius: 6px;
    border: 1.5px solid #04ab57;
    box-shadow: 0 1px 4px #e0e0e0;
}
.repayment-checkbox .hint[b-akwamv9w9u] {
    font-size: 0.85em;
    color: #888;
    margin-left: 8px;
}

.form-data[b-akwamv9w9u] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.Input[b-akwamv9w9u] {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1.5px solid #888888;
    border-radius: 7px;
    background-color: #fff;
    padding: 0.5rem 1.2rem;
    box-shadow: 0 1px 4px #eee;
}
.Input input[b-akwamv9w9u] {
    font-size: 1.05em;
    font-weight: 400;
    background: none !important;
    border: none;
    outline: none;
    appearance: none;
    width: 100%;
    padding: 4px 0;
}

.ErrorInput[b-akwamv9w9u] {
    fill: #cc0000;
    border: 1.5px solid #cc0000;
}

.lds-dual-ring[b-akwamv9w9u],
.lds-dual-ring[b-akwamv9w9u]:after {
    box-sizing: border-box;
}
.lds-dual-ring[b-akwamv9w9u] {
    display: inline-block;
    width: 80px;
    height: 80px;
}
.lds-dual-ring[b-akwamv9w9u]:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6.4px solid currentColor;
    border-color: currentColor transparent currentColor transparent;
    animation: lds-dual-ring-b-akwamv9w9u 1.2s linear infinite;
}
@keyframes lds-dual-ring-b-akwamv9w9u {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.overlay-style[b-akwamv9w9u] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1000;
    animation: fadeIn-b-akwamv9w9u 0.3s;
}
@keyframes fadeIn-b-akwamv9w9u {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modalCreateTask[b-akwamv9w9u] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 28px;
    z-index: 1000;
    background-color: #fefefe;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(46,47,68,0.12);
    min-width: 320px;
    max-width: 95vw;
    animation: fadeIn-b-akwamv9w9u 0.3s;
}
.modalCreateTask header[b-akwamv9w9u] {
    display: flex;
    justify-content: end;
}
.modalCreateTask header button[b-akwamv9w9u] {
    background: none;
    border: none;
    font-size: 1.3em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.modalCreateTask header button:hover[b-akwamv9w9u] {
    color: #cc0000;
}

.footer[b-akwamv9w9u] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 18px;
}
/* _content/CloseCreditBot/Components/Pages/StatisticsPage.razor.rz.scp.css */
/* Общий контейнер статистики */
.statistics-container[b-756kbrumgs] {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fefefe;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(46, 47, 68, 0.08), 0 1.5px 8px #eee;
    border: 1px solid #e0e0e0;
}

/* Заголовок страницы */
.statistics-header[b-756kbrumgs] {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.statistics-header h1[b-756kbrumgs] {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2e2f44;
    margin-bottom: 10px;
}

.statistics-subtitle[b-756kbrumgs] {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* Заголовки секций */
.section-title[b-756kbrumgs] {
    margin: 40px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-title h2[b-756kbrumgs] {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2e2f44;
    margin: 0;
}

/* Сетка статистики */
.statistics-grid[b-756kbrumgs] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Карточка статистики */
.stat-card[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 30px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover[b-756kbrumgs] {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Разные цвета для разных карточек */
.stat-card.users-total[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.users-24h[b-756kbrumgs] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card.users-7d[b-756kbrumgs] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-card.users-30d[b-756kbrumgs] {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.stat-card.users-with-passport[b-756kbrumgs] {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-card.users-with-phone[b-756kbrumgs] {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.stat-card.contracts-total[b-756kbrumgs] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card.contracts-signed[b-756kbrumgs],
.stat-card.signed-contracts[b-756kbrumgs] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card.contracts-unsigned[b-756kbrumgs] {
    background: linear-gradient(135deg, #fa8bff 0%, #2bd2ff 100%);
}

.stat-card.contracts-24h[b-756kbrumgs] {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #2e2f44;
}

.stat-card.contracts-7d[b-756kbrumgs] {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
}

.stat-card.contracts-30d[b-756kbrumgs] {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

.stat-card.contracts-sum[b-756kbrumgs],
.stat-card.signed-sum[b-756kbrumgs] {
    background: linear-gradient(135deg, #f8ff00 0%, #3ad59f 100%);
    color: #2e2f44;
}

.stat-card.conversion[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.partners-total[b-756kbrumgs] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card.referal-payments[b-756kbrumgs] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-card.referal-sum[b-756kbrumgs] {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.stat-card.referal-points[b-756kbrumgs] {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.stat-card.tasks-total[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.tasks-active[b-756kbrumgs] {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.stat-card.tasks-completed[b-756kbrumgs] {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card.tasks-completion[b-756kbrumgs] {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card.reports-total[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card.reports-24h[b-756kbrumgs] {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card.reports-7d[b-756kbrumgs] {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stat-card.reports-30d[b-756kbrumgs] {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Иконка статистики */
.stat-icon[b-756kbrumgs] {
    font-size: 3rem;
    opacity: 0.9;
    flex-shrink: 0; /* Не позволяем иконке сжиматься */
}

/* Уменьшаем иконку для карточек с суммами */
.stat-card.contracts-sum .stat-icon[b-756kbrumgs],
.stat-card.signed-sum .stat-icon[b-756kbrumgs],
.stat-card.referal-sum .stat-icon[b-756kbrumgs] {
    font-size: 2.5rem;
}

/* Контент статистики */
.stat-content[b-756kbrumgs] {
    flex: 1;
    min-width: 0; /* Позволяет контенту сжиматься */
    overflow: hidden;
}

.stat-value[b-756kbrumgs] {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Уменьшаем размер шрифта для карточек с суммами */
.stat-card.contracts-sum .stat-value[b-756kbrumgs],
.stat-card.signed-sum .stat-value[b-756kbrumgs],
.stat-card.referal-sum .stat-value[b-756kbrumgs] {
    font-size: 1.8rem;
}

.stat-label[b-756kbrumgs] {
    font-size: 1rem;
    margin-top: 8px;
    opacity: 0.9;
    word-break: break-word;
}

/* Подвал статистики */
.statistics-footer[b-756kbrumgs] {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* Кнопка обновления */
.refresh-button[b-756kbrumgs] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.refresh-button:hover[b-756kbrumgs] {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.refresh-button:active[b-756kbrumgs] {
    transform: translateY(0);
}

.refresh-icon[b-756kbrumgs] {
    font-size: 1.2rem;
    display: inline-block;
}

/* Время последнего обновления */
.last-update[b-756kbrumgs] {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .statistics-grid[b-756kbrumgs] {
        grid-template-columns: 1fr;
    }
    
    .stat-card[b-756kbrumgs] {
        padding: 20px;
    }
    
    .stat-value[b-756kbrumgs] {
        font-size: 2rem;
    }
    
    .stat-card.contracts-sum .stat-value[b-756kbrumgs],
    .stat-card.signed-sum .stat-value[b-756kbrumgs],
    .stat-card.referal-sum .stat-value[b-756kbrumgs] {
        font-size: 1.5rem;
    }
    
    .stat-icon[b-756kbrumgs] {
        font-size: 2.5rem;
    }
    
    .stat-card.contracts-sum .stat-icon[b-756kbrumgs],
    .stat-card.signed-sum .stat-icon[b-756kbrumgs],
    .stat-card.referal-sum .stat-icon[b-756kbrumgs] {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .stat-value[b-756kbrumgs] {
        font-size: 1.6rem;
    }
    
    .stat-card.contracts-sum .stat-value[b-756kbrumgs],
    .stat-card.signed-sum .stat-value[b-756kbrumgs],
    .stat-card.referal-sum .stat-value[b-756kbrumgs] {
        font-size: 1.3rem;
    }
}

/* Контейнер загрузки */
.loading-container[b-756kbrumgs] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    gap: 20px;
}

.loading-container p[b-756kbrumgs] {
    font-size: 1.1rem;
    color: #666;
}

/* Спиннер загрузки */
.lds-dual-ring[b-756kbrumgs] {
    display: inline-block;
    width: 64px;
    height: 64px;
}

.lds-dual-ring[b-756kbrumgs]:after {
    content: " ";
    display: block;
    width: 48px;
    height: 48px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #667eea;
    border-color: #667eea transparent #667eea transparent;
    animation: lds-dual-ring-b-756kbrumgs 1.2s linear infinite;
}

@keyframes lds-dual-ring-b-756kbrumgs {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Сообщение об ошибке */
.error-message[b-756kbrumgs] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    background: #fff3f3;
    border: 2px solid #ff6b6b;
    border-radius: 12px;
    color: #d63031;
    margin: 20px 0;
}

.error-icon[b-756kbrumgs] {
    font-size: 2rem;
}

.error-message p[b-756kbrumgs] {
    font-size: 1.1rem;
    margin: 0;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .statistics-container[b-756kbrumgs] {
        margin: 15px;
        padding: 15px;
    }

    .statistics-header h1[b-756kbrumgs] {
        font-size: 1.8rem;
    }

    .statistics-grid[b-756kbrumgs] {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-card[b-756kbrumgs] {
        padding: 20px;
    }

    .stat-icon[b-756kbrumgs] {
        font-size: 2.5rem;
    }

    .stat-value[b-756kbrumgs] {
        font-size: 2rem;
    }

    .refresh-button[b-756kbrumgs] {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

