/* --- Hundeversicherung Breed Risk Checker - Vollständiges CSS --- */

/* Haupt-Container des Tools */
.hbrc-container {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    max-width: 700px;
    margin: 20px 0;
}

.hbrc-container h3 {
    margin-top: 0;
}

/* Dropdown-Menü für Rassen-Auswahl */
#hbrc-breed-selector {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

/* Wrapper für die Ergebnisse */
#hbrc-results-wrapper {
    position: relative;
    min-height: 100px;
}

/* Einzelne Ergebniszeilen */
#hbrc-results-content .hbrc-result-item {
    padding: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

#hbrc-results-content .hbrc-result-item:last-child {
    border-bottom: none;
}

/* Spezifische Regel für die Überschrift "Risikoprofil für..." */
#hbrc-results-content > .hbrc-result-item:first-child h4 {
    font-weight: bold;
}

/* Allgemeine Regel für H4-Überschriften in den Ergebnissen */
#hbrc-results-content h4 {
    color: #333;
    margin-top: 0;
}

/* Regel für fette Schrift (strong-Tag) in den Ergebnissen */
#hbrc-results-content strong {
    color: #555;
}

/* Lade-Animation */
.hbrc-loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -20px;
    margin-top: -20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Call-to-Action (CTA) Box */
.hbrc-cta-box {
    margin-top: 25px;
    padding: 20px;
    background-color: #eaf3fa;
    border: 2px solid #3498db;
    border-radius: 8px;
    text-align: center;
}

/* Spezifische Regel für die Überschrift in der CTA-Box */
#hbrc-results-content .hbrc-cta-box h4 {
    margin-top: 0;
    color: #2c3e50;
    font-weight: bold;
}

/* Button in der CTA-Box */
.hbrc-cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: #ffffff;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.hbrc-cta-button:hover {
    background-color: #d35400;
    color: #ffffff;
}

/* Affiliate-Hinweis unter der CTA-Box */
.hbrc-affiliate-notice {
    font-size: 0.75rem; /* Entspricht 12px bei Standard-Einstellung */
    font-style: italic;
    color: #666;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.4;
    font-weight: normal;
}

/* ================================================= */
/* STYLING FÜR FARBIGE TAGS/BADGES IM TOOL           */
/* ================================================= */

/* Basis-Styling für alle Tags */
.risk-tag,
.factor-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 9999px;
    color: #fff;
    line-height: 1.4;
}

/* Farbcodierung für die Risiko-Tags */
.risk-tag.risk-gering {
    background-color: #16a34a; /* Grün */
}
.risk-tag.risk-mittel {
    background-color: #f59e0b; /* Orange */
}
.risk-tag.risk-hoch {
    background-color: #dc2626; /* Rot */
}

/* Farbcodierung für die Versicherungsfaktor-Tags */
.factor-tag.factor-guenstig {
    background-color: #16a34a; /* Grün */
}
.factor-tag.factor-normal {
    background-color: #f59e0b; /* Orange */
}
.factor-tag.factor-teuer {
    background-color: #dc2626; /* Rot */
}

/* Fallback-Farbe, falls ein Wert abweicht */
.factor-tag {
    background-color: #6b7280; /* Grau */
}