.wrap {
    font-family: Arial, sans-serif;
}

.wrap h1 {
    margin-bottom: 30px;
}

.hugeprofit-stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hugeprofit-stat-card {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    padding: 20px;
}

.hugeprofit-stat-title {
    color: #6c757d;
    font-size: 15px;
    font-weight: 600;
}

.hugeprofit-stat-link {
    margin: 8px 0 4px;
    font-size: 14px;
}

.hugeprofit-stat-link a {
    color: #2a7cff;
    text-decoration: underline;
}

.hugeprofit-stat-expenses {
    font-size: 14px;
    color: #6c757d;
}

.hugeprofit-stat-values {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.hugeprofit-stat-value {
    text-align: center;
}

.hugeprofit-stat-value-label {
    font-size: 13px;
    color: #6c757d;
}

.hugeprofit-stat-value-amount {
    font-size: 20px;
}

.hugeprofit-stat-value-amount.positive {
    color: #49c78f;
}

.hugeprofit-stat-value-amount.negative {
    color: #e53935;
}

.hugeprofit-stat-value-currency {
    font-size: 13px;
    color: #6c757d;
}

.hugeprofit-chart-container {
    display: flex;
    gap: 20px;
}

.hugeprofit-chart-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px #0001;
    padding: 24px;
}

.hugeprofit-chart-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.hugeprofit-chart-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hugeprofit-chart-select {
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.hugeprofit-chart-total {
    font-size: 32px;
    color: #49c78f;
    font-weight: 700;
    padding-bottom: 20px;
}

.hugeprofit-chart-description {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 18px;
}

.hugeprofit-chart-item {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 500;
}

.hugeprofit-chart-item-label {
    color: #6c757d;
    font-size: 14px;
}

.hugeprofit-chart-progress {
    background: #e0f7fa;
    height: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: 100%;
}

.hugeprofit-chart-progress-bar {
    background: #49c78f;
    height: 100%;
    border-radius: 6px;
}

.hugeprofit-chart-progress-empty {
    background: #f0f0f0;
    height: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: 100%;
}

.hugeprofit-chart-progress-negative {
    background: #ffebee;
    height: 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    width: 100%;
}

.hugeprofit-chart-progress-bar-negative {
    background: #e53935;
    height: 100%;
    border-radius: 6px;
}

/* Стили для логотипа HugeProfit */
.hugeprofit-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Логотип в заголовке h1 */
h1 .hugeprofit-logo {
    max-width: 120px;
    margin: 0;
}

/* Настройки страницы - центрированный логотип */
.hugeprofit-settings-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Главная страница - горизонтальный flex */
.hugeprofit-main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Подпись под логотипом на странице настроек */
.hugeprofit-settings-subtitle {
    display: block;
    font-size: 18px;
    margin-top: 10px;
    color: #666;
    font-weight: 400;
}

@media (max-width: 768px) {
    .hugeprofit-logo {
        max-width: 150px;
    }
    
    h1 .hugeprofit-logo {
        max-width: 120px;
    }
    
    .hugeprofit-main-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hugeprofit-settings-subtitle {
        font-size: 16px;
        margin-top: 8px;
    }
} 