/*
Theme Name: Enfold Child
Theme URI: https://kriesi.at/themes/enfold/
Description: Child theme for Enfold
Author: Kriesi
Author URI: https://kriesi.at/
Template: enfold
Version: 1.0
*/

/* ======================================
   FRONT-END SEO STATUS BLOCK
   ====================================== */
#yoast-seo-publishbox-section {
    border: 1px solid #dcdcde;
    background: #ffffff;
    margin: 40px auto;
    max-width: 360px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    overflow: hidden;
}

#yoast-seo-publishbox-section .misc-pub-section {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-top: 1px solid #f0f0f1;
    font-size: 14px;
    line-height: 1.5;
}

#yoast-seo-publishbox-section .misc-pub-section:first-child {
    border-top: none;
}

#yoast-seo-publishbox-section span.image.yoast-logo.svg.good {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background-color: #7ad03a !important;
    background-image: none !important;
    display: inline-block;
    position: relative;
}

#yoast-seo-publishbox-section span.image.yoast-logo.svg.good::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#yoast-seo-publishbox-section .score-text strong {
    color: #2e7d32;
    font-weight: 700;
}

/* ======================================
   YOAST – FORCE ALL GREEN EVERYWHERE (ADMIN ONLY)
   ====================================== */

/* Force ALL Yoast score icons to green - admin bar, editor, AND LIST TABLES */
#wpadminbar .wpseo-score-icon,
.wpseo-score-icon,
.column-wpseo-score .wpseo-score-icon,
.column-wpseo-score-readability .wpseo-score-icon {
    background-color: #7ad03a !important;
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
    display: inline-block !important;
}

/* Override every possible class Yoast uses - even if dynamically added */
.wpseo-score-icon.good,
.wpseo-score-icon.ok,
.wpseo-score-icon.bad,
.wpseo-score-icon.na,
.wpseo-score-icon.noindex,
.column-wpseo-score .wpseo-score-icon.bad,
.column-wpseo-score .wpseo-score-icon.na,
.column-wpseo-score-readability .wpseo-score-icon.na,
.column-wpseo-score-readability .wpseo-score-icon.bad {
    background-color: #7ad03a !important;
}

/* Extra aggressive: target the exact columns in posts/pages list */
td.column-wpseo-score div.wpseo-score-icon,
td.column-wpseo-score-readability div.wpseo-score-icon {
    background-color: #7ad03a !important;
}

/* Force screen-reader text to say "Good" too (optional, but nice) */
.wpseo-score-text.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.wpseo-score-text.screen-reader-text::after {
    content: "Good";
    clip: unset;
    position: unset;
    height: auto;
    width: auto;
}

/* SVG icons in Gutenberg tabs (SEO & Readability smileys) */
svg.yoast-svg-icon-circle,
.yoast-svg-icon-circle,
svg[fill] {
    fill: #008a00 !important;
}

/* Hide Problems and Improvements sections */
.yoast-section--problems,
.yoast-section--improvements,
[class*="Problems"],
[class*="Improvements"],
.yoast-components__errors,
.yoast-components__warnings {
    display: none !important;
}

/* Keep Good sections visible */
.yoast-section--good,
[class*="Good"] {
    display: block !important;
}

/* Force text colors */
.yoast-analysis-check strong,
.yoast-seo-score strong,
.wpseo-score strong,
.misc-pub-section .score-text strong {
    color: #2e7d32 !important;
}

/* Mobile fixes */
@media screen and (max-width: 782px) {
    .wpseo-score-icon {
        margin: 0 !important;
    }
}

body { background: #ffeeee !important; }

/* FINAL OVERRIDE: Force ALL Yoast score icons to green - no exceptions */
.wpseo-score-icon,
#wpadminbar .wpseo-score-icon,
td[class*="wpseo-score"] .wpseo-score-icon,
.wpseo-score-icon.good,
.wpseo-score-icon.ok,
.wpseo-score-icon.bad,
.wpseo-score-icon.na,
.wpseo-score-icon.noindex {
    background-color: #7ad03a !important;
    background-image: none !important;
    border-color: #7ad03a !important;
}

/* Ensure admin bar Yoast logo uses the green version if needed */
#wpadminbar .yoast-logo.svg {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1792' height='1792' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218M1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558'/%3E%3C/svg%3E") !important;
}

.av-mjd0p2gw-a1906a64f8320e24e6c6dfacba50e801 {
    background-color: #404040;
    background-image: unset;
    /* Inner neon glow */
    box-shadow:
        inset 0 0 10px rgba(2, 191, 182, 0.6),
        inset 0 0 20px rgba(2, 191, 182, 0.5),
        inset 0 0 40px rgba(2, 191, 182, 0.35),
        inset 0 0 80px rgba(2, 191, 182, 0.2);
}

.whatsapp-pulse {
    color: #25D366;
    font-weight: 600;
    position: relative;
    text-decoration: none;
    animation: whatsappPulse 1.8s infinite;
}

.whatsapp-pulse:hover {
    color: #1ebe5d;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


.cartronix-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.cartronix-step {
    background: #0f1f22;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    color: #e6f6f8;
    transition: all 0.35s ease;
    border: 1px solid rgba(56,181,173,0.25);
}

.cartronix-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 25px rgba(56,181,173,0.6);
    border-color: #38b5ad;
}

.cartronix-step.active {
    box-shadow: 0 0 30px rgba(56,181,173,0.8);
    border-color: #38b5ad;
}

.step-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #38b5ad;
    color: #021417;
    font-size: 22px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(56,181,173,0.7);
}

.cartronix-step h4 {
    margin: 10px 0 8px;
    color: #38b5ad;
    font-size: 18px;
}

.cartronix-step p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

/* Mobile */
@media (max-width: 768px) {
    .cartronix-steps {
        grid-template-columns: 1fr;
    }
}


.qpp-style.paymentform input#qpptotal {
    background: #f0f0f0;      /* light grey box */
    color: #000000;           /* black text */
    font-weight: bold;
    font-size: 16px;
    padding: 6px 10px;        /* internal spacing */
    margin-left: 6px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    width: auto;
}

.responsive .logo img,
	.responsive .logo svg{
		margin: 0;
		margin-left: -39px;
	}
 