/*
 * Stylesheet for the Smart CTA Add‑On.
 *
 * This file defines the visual treatment for each CTA preset available via
 * shortcode or through the admin settings. The selectors are prefixed to
 * avoid collisions with theme styles. Feel free to override these in your
 * theme if you need tighter integration.
 */

/* Generic CTA wrapper */
.cfwp-cta {
    margin: 1.5rem 0;
    box-sizing: border-box;
}
.cfwp-cta .cfwp-cta-title {
    margin: 0 0 0.5rem;
    font-weight: 600;
}
.cfwp-cta .cfwp-cta-content {
    margin-bottom: 1rem;
}
.cfwp-cta .cfwp-cta-button-wrapper {
    margin-top: 1rem;
}

/* Bold Box preset */
.cfwp-cta-bold {
    background: #f6f6ff;
    border: 2px solid #4c4cff;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}
.cfwp-cta-bold .cfwp-cta-button {
    background: #4c4cff;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}
.cfwp-cta-bold .cfwp-cta-button:hover {
    background: #3a3acb;
}

/* Minimal Line CTA */
.cfwp-cta-minimal {
    border: 1px solid #ccccff;
    padding: 1rem;
    text-align: center;
    background: #ffffff;
    border-radius: 4px;
}
.cfwp-cta-minimal .cfwp-cta-button {
    background: transparent;
    border: 1px solid #4c4cff;
    color: #4c4cff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 3px;
    display: inline-block;
    transition: all 0.2s ease;
}
.cfwp-cta-minimal .cfwp-cta-button:hover {
    background: #f0f0ff;
    color: #3a3acb;
}

/* Floating CTA Button */
.cfwp-cta-floating {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
.cfwp-cta-floating .cfwp-cta-button {
    background: #ff5722;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: inline-block;
    transition: background 0.2s ease;
}
.cfwp-cta-floating .cfwp-cta-button:hover {
    background: #e64a19;
}

/* Inline CTA Badge */
.cfwp-cta-inline {
    display: inline-block;
    border: 1px solid #888;
    padding: 0.4rem 0.8rem;
    margin: 0 0.5rem;
    border-radius: 12px;
    background: #fafafa;
    vertical-align: middle;
}
.cfwp-cta-inline .cfwp-cta-button {
    background: none;
    border: none;
    color: #0073aa;
    text-decoration: underline;
    padding: 0;
    cursor: pointer;
}
.cfwp-cta-inline .cfwp-cta-button:hover {
    color: #005177;
}

/* Hero CTA Section */
.cfwp-cta-hero {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
}
.cfwp-cta-hero .cfwp-cta-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.cfwp-cta-hero .cfwp-cta-content {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.cfwp-cta-hero .cfwp-cta-button {
    background: #ffffff;
    color: #0072ff;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: background 0.2s ease, color 0.2s ease;
}
.cfwp-cta-hero .cfwp-cta-button:hover {
    background: #e0e0ff;
    color: #003f80;
}