/* ── Base wrapper ── */
#awv-checklist-wrap {
    font-family: 'Segoe UI', Arial, sans-serif;
    max-width: 100%;
    margin: 0 auto;
    color: #1a2e44;
}

/* ── Intro box ── */
.awv-intro {
    background: #fff;
    border-left: 4px solid #247afb;
    border-radius: 0 8px 8px 0;
    padding: 8px 22px;
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
    color: #1a2e44;
    overflow-wrap: break-word;
    word-break: break-word;
}
.awv-intro strong { color: #247afb; }

/* ── Progress bar ── */
.awv-progress-wrap {
	display: none !important;
    background: #e8f0fe;
    border-radius: 50px;
    height: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}
.awv-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #247afb, #42a5f5);
    border-radius: 50px;
    transition: width 0.4s ease;
    width: 0%;
}
.awv-progress-label {
	display: none !important;
    font-size: 13px;
    color: #666666;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: left;
}

/* ── Checklist items ── */
.awv-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid #f0f4fb;
    cursor: pointer;
    transition: background .15s;
}
.awv-item:last-child  { border-bottom: none; }
.awv-item:hover       { background: #f5f9ff; }
.awv-item.checked     { background: #c4f4dc4a !important; }
.awv-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #247afb;
    cursor: pointer;
    flex-shrink: 0;
}
.awv-item-text {
    font-size: 14.5px;
    line-height: 1.55;
    color: #1a2e44;
    user-select: none;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}
.awv-item.checked .awv-item-text {
    color: #2e7d32;
    text-decoration: line-through;
    text-decoration-color: #81c784;
}
.awv-item-tip {
    font-size: 12px;
    color: #5c7a99;
    margin-top: 3px;
    font-style: italic;
}

/* ── Action buttons ── */
.awv-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
    margin-bottom: 10px;
}
.awv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform .1s, opacity .15s;
    text-decoration: none;
}
.awv-btn:hover        { opacity: .88; transform: translateY(-1px); }
.awv-btn-primary      { background: #247afb; color: #fff; }
.awv-btn-secondary    { background: #e8f0fe; color: #247afb; border: 1px solid #b3c8f0; }
.awv-btn-reset        { background: #fff; color: #c62828; border: 1px solid #ffcdd2; }

/* ── Completion message ── */
.awv-complete-msg {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 20px;
    font-size: 15px;
    color: #2e7d32;
    font-weight: 500;
    text-align: center;
}

/* ── Email sent notification ── */
.awv-email-sent {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 14px 20px;
    margin-top: 12px;
    font-size: 14px;
    color: #1565c0;
    font-weight: 500;
    text-align: center;
    animation: awvFadeIn .3s ease;
}
@keyframes awvFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive typography ── */
@media (max-width: 600px) {
    .awv-intro {
        font-size: 14px;
        padding: 12px 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    .awv-item {
        padding: 10px 14px;
        gap: 10px;
    }
    .awv-item-text   { font-size: 13.5px; }
    .awv-item-tip    { font-size: 11.5px; }
    .awv-progress-label { font-size: 12px; margin-bottom: 18px; }
    .awv-actions     { gap: 8px; margin-top: 20px; }
    .awv-btn         { font-size: 13px; padding: 10px 16px; gap: 6px; }
    .awv-complete-msg  { font-size: 13.5px; padding: 13px 16px; }
    .awv-email-sent    { font-size: 13px;   padding: 12px 14px; }
}

@media (max-width: 400px) {
    .awv-intro {
        font-size: 13px;
        padding: 10px 12px;
    }
    .awv-item        { padding: 9px 10px; gap: 8px; }
    .awv-item-text   { font-size: 13px; }
    .awv-btn         { font-size: 12.5px; padding: 9px 12px; }
}

/* ── Print: hide site chrome, expand content ── */
@media print {
    /* Site header & footer — covers the most common WordPress theme selectors */
    header,
    footer,
    #header,
    #footer,
    #masthead,
    #colophon,
    .site-header,
    .site-footer,
    .header-area,
    .footer-area,
    nav,
    #nav,
    .nav-primary,
    .main-navigation,
    .navbar,
    aside,
    .sidebar,
    #sidebar,
    #secondary,
    .widget-area,
    .wp-block-template-part[class*="header"],
    .wp-block-template-part[class*="footer"] {
        display: none !important;
    }

    /* Let the checklist breathe full-width */
    html, body {
        margin: 0 !important;
        padding: 0 !important;
    }
    body > *,
    .site,
    .site-content,
    #content,
    #page,
    main,
    #main,
    .main-content,
    .entry-content,
    article,
    .hentry {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
    }

    #awv-checklist-wrap {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
