

/* Start:/local/templates/dt2025/components/bitrix/news/countries/section.css?17761517346873*/
/* section.css */

/* Заголовок секции */
.section-header {
    padding: 20px 0 30px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

/* Обёртка для кнопки статистики */
.stat-button-wrapper {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

/* Основная кнопка статистики */
.btn-stat-summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #eb202a 0%, #c41922 100%);
    color: white;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 32, 42, 0.35);
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-stat-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-stat-summary:hover::before {
    left: 100%;
}

.btn-stat-summary:hover {
    background: linear-gradient(135deg, #c41922 0%, #a01018 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 32, 42, 0.45);
}

.btn-stat-summary:active {
    transform: translateY(-1px);
}

.btn-stat-summary.disabled {
    background: #95a5a6;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-stat-summary.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-stat-summary.disabled::before {
    display: none;
}

.btn-stat-summary svg {
    width: 20px;
    height: 20px;
}

/* Иконка стрелки для привлечения внимания */
.btn-stat-summary .arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-stat-summary:hover .arrow-icon {
    transform: translateX(4px);
}

.color-red {
    color: #eb202a;
}

.color-gray {
    color: #7f8c8d;
}

.icon.icon-arr-bottom {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

/* Dairy Index Card */
.dairy-index-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    border-left: 4px solid #eb202a;
    position: relative;
}

/* Netel Index Card */
.netel-index-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    border-left: 4px solid #2c3e50;
    position: relative;
}

/* График */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.chart-wrapper {
    width: 100%;
    height: 300px;
    position: relative;
}

/* Панель сводной статистики региона */
.region-stats-panel {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stats-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eb202a;
}

.stat-card-mini {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    /*border-left: 4px solid #eb202a;*/
    height: 100%;
}

.border-left-red {
    border-left: 4px solid #eb202a;
}

.border-left-blue {
    border-left: 4px solid #3498db;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 10px;
    font-weight: 500;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-value-mini {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-unit {
    font-size: 0.875rem;
    color: #6c757d;
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.section-title-wrapper {
    flex: 1 1 auto;
}

.stat-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-button-wrapper {
    display: inline-block;
}

.update-date-text {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
}

/* Адаптивность */
@media (max-width: 991px) {

    .dairy-index-card,
    .netel-index-card,
    .chart-container {
        margin-bottom: 20px;
    }

    .stat-card-mini {
        margin-bottom: 15px;
    }

    .region-stats-panel .row .stat-card-mini {
        border-left: none; /* сбрасываем у всех */
    }
    .region-stats-panel .row .col-6:nth-child(odd) .border-left-red {
        border-left: 4px solid #eb202a;
    }
    .region-stats-panel .row .col-6:nth-child(odd) .border-left-blue {
        border-left: 4px solid #3498db;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.5rem;
    }

    .chart-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .stat-header-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* Мобильная адаптация для кнопки и даты */
@media (max-width: 576px) {
    .stat-header-right {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }
    
    .stat-button-wrapper {
        width: 100%;
    }
    
    .btn-stat-summary {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
        padding: 12px 20px;
    }
    
    .update-date-text {
        text-align: right;
        width: 100%;
        padding-right: 5px;
    }

    .stat-card-mini {
        padding: 5px;
    }

    .region-stats-panel {
        padding: 25px 10px;
    }
}

@media (max-width: 375px) {
    .btn-stat-summary {
        font-size: 0.95rem;
        padding: 10px 15px;
    }
    
    .btn-stat-summary svg:first-child {
        width: 18px;
        height: 18px;
    }
}
/* End */


/* Start:/local/templates/dt2025/components/bitrix/news/countries/bitrix/news.list/.default/style.css?1705622400150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/templates/dt2025/components/bitrix/news.list/analitycs_graf_single/style.css?1705622400150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/components/ekos/region.indexes/templates/.default/style.css?17708794593998*/
/* Основные стили компонента */
.region-indexes-section {
    margin-top: 30px;
}

.region-indexes-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.region-indexes-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #3498db;
}

.region-indexes-grid {
    margin-bottom: 15px;
}

.region-indexes-meta {
    margin-top: auto;
    padding-top: 15px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.region-indexes-meta small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.icon-info {
    stroke-width: 2;
    opacity: 0.7;
}

/* Обертка спидометра */
.speedometer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Спидометр */
.speedometer {
    width: 120px;
    height: 120px;
    margin: 15px auto 10px;
    position: relative;
    background: radial-gradient(circle, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    border: 6px solid #dee2e6;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 2px 8px rgba(0, 0, 0, 0.05);
}

.speedometer-marks {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.speed-mark {
    position: absolute;
    width: 2px;
    height: 8px;
    background: #adb5bd;
    top: 8px;
    left: 50%;
    transform-origin: 50% 52px;
    border-radius: 1px;
}

.speed-mark-major {
    height: 12px;
    width: 3px;
    background: #6c757d;
}

.speed-needle {
    width: 3px;
    height: 45px;
    background: linear-gradient(to top, #eb202a, #ff4757);
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(var(--needle-rotation, -90deg));
    box-shadow: 0 0 8px rgba(235, 32, 42, 0.6);
    border-radius: 2px;
    transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
}

.speed-center {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #eb202a, #c41820);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(235, 32, 42, 0.5);
    z-index: 3;
    border: 2px solid white;
}

.speed-value {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    z-index: 1;
}

.gauge-label {
    text-align: center;
    font-size: 0.8rem;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 5px;
    cursor: help;
}

/* Адаптивность */
@media (max-width: 991px) {
    .region-indexes-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .speedometer {
        width: 100px;
        height: 100px;
        margin: 10px auto;
    }
    
    .speed-needle {
        height: 38px;
    }
    
    .speed-mark {
        transform-origin: 50% 44px;
    }
}

@media (max-width: 767px) {
    .region-indexes-card {
        padding: 20px 15px;
    }
    
    .region-indexes-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

/* Анимация при загрузке */
@keyframes needleAppear {
    from {
        transform: translateX(-50%) rotate(-90deg);
    }
    to {
        transform: translateX(-50%) rotate(var(--needle-rotation));
    }
}

.speedometer.animated .speed-needle {
    animation: needleAppear 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
/* End */


/* Start:/local/templates/dt2025/components/bitrix/news.list/main_news/style.css?1705622400240*/
.font-family-os {
    font-family: "OpenSans", Arial, "sans-serif";
}
#region-news article a{
    color: inherit;
    text-decoration: none;
}
#region-news article a:hover{
    color: var(--bs-danger);
    /*text-decoration: underline;*/
}

/* End */


/* Start:/local/templates/dt2025/components/bitrix/news.list/top10/style.css?1705622400150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */
/* /local/templates/dt2025/components/bitrix/news/countries/section.css?17761517346873 */
/* /local/templates/dt2025/components/bitrix/news/countries/bitrix/news.list/.default/style.css?1705622400150 */
/* /local/templates/dt2025/components/bitrix/news.list/analitycs_graf_single/style.css?1705622400150 */
/* /local/components/ekos/region.indexes/templates/.default/style.css?17708794593998 */
/* /local/templates/dt2025/components/bitrix/news.list/main_news/style.css?1705622400240 */
/* /local/templates/dt2025/components/bitrix/news.list/top10/style.css?1705622400150 */
