

/* Start:/dairytrends/analysis/css/style.css?177670005512758*/
.financial-analysis-page {
    background-color: #f8f9fa;
    padding: 2rem 0;
    overflow: hidden;
}

.financial-analysis-page .header {
    text-align: center;
    margin-bottom: 3rem;
}

.financial-analysis-page .header h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.financial-analysis-page .header p {
    color: #64748b;
    font-size: 1.2rem;
}

.analysis-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.analysis-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
}

.analysis-form button {
    padding: 0.75rem 2rem;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.analysis-form button:hover {
    background: #2980b9;
}

.error-message {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.company-info .company-okved {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.company-info .company-name {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.company-info .company-details {
    color: #64748b;
}

.index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.index-card {
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
}

.ii-card {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.oh-card {
    background: linear-gradient(135deg, #dcfce7 0%, #f0fdf4 100%);
}

.cs-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
}

.index-tag {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.index-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ii-card .index-value {
    color: #1e40af;
}

.oh-card .index-value {
    color: #065f46;
}

.cs-card .index-value {
    color: #92400e;
}

.index-label {
    color: #64748b;
    font-weight: 500;
}

.help-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 0.8rem;
    cursor: help;
    margin-left: 0.5rem;
}

.simple-tooltip {
    position: relative;
    display: inline-block;
}

.simple-tooltiptext {
    visibility: hidden;
    width: 320px;
    background: #1f2937;
    color: white;
    text-align: left;
    border-radius: 8px;
    padding: 1rem;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
    line-height: 1.4;
}

.simple-tooltip:hover .simple-tooltiptext {
    visibility: visible;
    opacity: 1;
}

.formula-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem;
    border-radius: 6px;
    margin: 0.75rem 0;
    font-family: monospace;
    text-align: center;
    font-weight: 600;
}

.simple-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.simple-list li {
    margin-bottom: 0.5rem;
}

.tip-box {
    padding: 0.75rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: 6px;
    margin-top: 0.75rem;
}

.margin-section .margin-title {
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.margin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.margin-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.margin-year {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.margin-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.margin-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.margin-quality {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.margin-quality.ok {
    background: #dcfce7;
    color: #166534;
}

.margin-quality.bad_data {
    background: #fef3c7;
    color: #92400e;
}

.margin-quality.non_operational {
    background: #dbeafe;
    color: #1e40af;
}

.anomaly-details {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: #ef4444;
    font-weight: 500;
}

.margin-growth {
    margin-top: 0.5rem;
    font-weight: 600;
}

.margin-growth.positive {
    color: #059669;
}

.margin-growth.negative {
    color: #dc2626;
}

.margin-growth.neutral {
    color: #6b7280;
}

.margin-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f1f5f9;
}

.details-title {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 600;
}

.margin-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.breakdown-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.breakdown-label {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.breakdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.breakdown-description {
    font-size: 0.6rem;
    color: #94a3b8;
}

.summary-card {
    border-left: 4px solid #3b82f6;
}

.summary-title {
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.summary-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.strengths-card {
    border-left: 4px solid #10b981;
}

.risks-card {
    border-left: 4px solid #ef4444;
}

.strengths-title,
.risks-title {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strengths-title {
    color: #065f46;
}

.risks-title {
    color: #991b1b;
}

.strengths-icon,
.risks-icon {
    font-size: 1.5rem;
}

.good-list,
.bad-list {
    padding: 0;
    margin: 0;
    padding-left: 20px;
}

.metric-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.metric-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.metric-explanation {
    color: #6b7280;
}

.no-data {
    color: #6b7280;
    font-style: italic;
}

.actions-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #f59e0b;
}

.actions-title {
    margin-bottom: 1rem;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.actions-icon {
    font-size: 1.5rem;
}

.actions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.actions-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.actions-list li:before {
    content: "•";
    color: #f59e0b;
    position: absolute;
    left: 0;
}

.financials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.financial-year {
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 2px solid #cbd5e1;
}

.year-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.revenue-section,
.profit-section {
    margin-bottom: 0.75rem;
}

.financial-label {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.revenue-value {
    font-size: 1.375rem;
    font-weight: 800;
    color: #059669;
}

.profit-value {
    font-size: 1.375rem;
    font-weight: 800;
}

.profit-value.positive {
    color: #2563eb;
}

.profit-value.negative {
    color: #dc2626;
}

.calculation-help,
.quality-help,
.anomaly-help,
.dynamics-help,
.details-help,
.metric-help {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 16px;
    font-size: 0.7rem;
    cursor: help;
    margin-left: 0.25rem;
}

.anomaly-help {
    background: rgba(239, 68, 68, 0.2);
    color: white;
}

.metric-help {
    background: rgba(5, 150, 105, 0.2);
    color: #065f46;
}

@media (max-width: 768px) {
    .financial-analysis-page {
        padding: 1rem 0;
    }

    .analysis-form {
        flex-direction: column;
    }

    .index-grid,
    .margin-grid,
    .two-column,
    .financials-grid {
        grid-template-columns: 1fr;
    }

    .margin-breakdown {
        grid-template-columns: 1fr;
    }
}

.zero-reason-card {
    border-left: 4px solid #94a3b8;
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 8px;
    background: #f8fafc;
}

.zero-reason-card.zero-reason-neutral {
    border-color: #94a3b8;
}

.zero-reason-card.zero-reason-info {
    border-color: #3b82f6;
    background: #eff6ff;
}

.zero-reason-card.zero-reason-warning {
    border-color: #f59e0b;
    background: #fffbeb;
}

.zero-reason-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
}

.zero-reason-body {
    color: #475569;
    font-size: 0.875rem;
    margin: 0;
}

.data-warnings-card {
    border-left: 4px solid #f59e0b;
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 8px;
    background: #fffbeb;
}

.data-warnings-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
}

.data-warning-item {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fde68a;
}

.data-warning-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.data-warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.data-warning-item p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: #92400e;
}

.data-quality-card {
    border-left: 4px solid #6366f1;
    padding: 16px 20px;
    margin: 16px 0;
    border-radius: 8px;
    background: #eef2ff;
}

.data-quality-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
}

.data-quality-item {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #c7d2fe;
}

.data-quality-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.dq-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.dq-warning p {
    color: #92400e;
}

.dq-info p {
    color: #3730a3;
}

.data-quality-item p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
}

.ebitda-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.ebitda-value {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 4px;
}

.ebitda-value.positive {
    color: #059669;
}

.ebitda-value.negative {
    color: #dc2626;
}

.ebitda-na {
    color: #94a3b8;
    font-weight: 400;
    font-size: 0.9rem;
}

.ebitda-method-label {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 2px;
}

.ebitda-margin {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 3px;
}

.ebitda-margin.positive {
    color: #059669;
}

.ebitda-margin.negative {
    color: #dc2626;
}

.ebitda-approx-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    border-radius: 3px;
    padding: 0 4px;
    font-size: 0.7rem;
    font-weight: 700;
    vertical-align: middle;
    margin-left: 2px;
    cursor: help;
}

.ebitda-footnote {
    font-size: 0.75rem;
    color: #94a3b8;
    padding: 10px 0 0 0;
    border-top: 1px solid #f1f5f9;
    margin-top: 12px;
}
/* End */
/* /dairytrends/analysis/css/style.css?177670005512758 */
