/* Custom URL HTML Injector — Frontend Styles
 * Plugin: Custom URL HTML Injector
 * Version: 1.9.6
 * Move all inline CSS to this external file for better caching & SEO.
 * Place this file in your plugin folder:
 *   wp-content/plugins/custom-url-html-injector/cuh-frontend.css
 */

/* ---- General inject container ---- */
.cuh-inject,
.cuh-inject li {
    line-height: 1.6em;
}
.cuh-inject ul,
.cuh-inject ol {
    margin-bottom: 10px;
}
.cuh-inject li {
    line-height: 1.6em;
    margin: 1.6em 0;
}
p.section-heading {
    margin-bottom: 0;
    padding: 20px 0 3px;
    font-size: 18px;
    font-weight: 600;
    color: #777;
}

/* ---- Layout ---- */
.cuh-row {
    display: flex;
    flex-wrap: wrap;
    margin: 15px 0 3px;
}
.cuh-col {
    padding: 0 15px;
    box-sizing: border-box;
}
.cuh-col-1  { width: 8.333%; }
.cuh-col-2  { width: 16.666%; }
.cuh-col-3  { width: 25%; }
.cuh-col-4  { width: 33.333%; }
.cuh-col-5  { width: 41.666%; }
.cuh-col-6  { width: 50%; }
.cuh-col-7  { width: 58.333%; }
.cuh-col-8  { width: 66.666%; }
.cuh-col-9  { width: 75%; }
.cuh-col-10 { width: 83.333%; }
.cuh-col-11 { width: 91.666%; }
.cuh-col-12 { width: 100%; }

@media (max-width: 768px) {
    .cuh-col { width: 100% !important; }
}

/* ---- FAQ ---- */
.cuh-faq-item {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.cuh-faq-question {
    margin: 0;
    padding: 15px 30px 15px 0;
    cursor: pointer;
    color: #0073aa;
    font-size: 1.1em;
    transition: color .2s;
    position: relative;
}
.cuh-faq-question:hover { color: #005a87; }
.cuh-faq-question::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: .8em;
    transition: transform .2s;
}
.cuh-faq-question[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}
.cuh-faq-answer {
    margin-left: 20px;
    padding-bottom: 5px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease-out, padding .3s ease-out;
}
.cuh-faq-answer.cuh-open { max-height: 2000px; }

/* ---- Read more (SEO-friendly) ---- */
.cuh-readmore-full {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease-out;
}
.cuh-readmore-full.cuh-open { max-height: 9999px; }
.cuh-readmore-btn {
    background: none;
    border: none;
    padding: 6px 0;
    color: #0073aa;
    cursor: pointer;
    font-size: .95em;
    text-decoration: underline;
    transition: color .2s;
}
.cuh-readmore-btn:hover { color: #005a87; }

/* ---- Notice ---- */
.cuh-notice {
    border-left: 4px solid #ccc;
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 3px;
    background: #f9f9f9;
}
.cuh-notice-info    { border-color: #0073aa; background: #e8f4fb; }
.cuh-notice-success { border-color: #46b450; background: #edfaee; }
.cuh-notice-warning { border-color: #ffb900; background: #fff8e5; }
.cuh-notice-error   { border-color: #dc3232; background: #fde8e8; }

/* ---- Button ---- */
.cuh-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    font-size: .95em;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, opacity .2s;
    cursor: pointer;
}
.cuh-button:hover  { opacity: .88; }
.cuh-button-blue   { background: #0073aa; color: #fff; }
.cuh-button-green  { background: #46b450; color: #fff; }
.cuh-button-red    { background: #dc3232; color: #fff; }
.cuh-button-gray   { background: #767676; color: #fff; }

/* ---- Tooltip ---- */
.cuh-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dashed #0073aa;
    cursor: help;
}
.cuh-tooltip-tip {
    visibility: hidden;
    opacity: 0;
    background: #333;
    color: #fff;
    font-size: .85em;
    border-radius: 4px;
    padding: 5px 10px;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 9999;
    transition: opacity .2s;
    pointer-events: none;
}
.cuh-tooltip:hover .cuh-tooltip-tip {
    visibility: visible;
    opacity: 1;
}
