/* =================================================
   Bit Binders Digital Marketing Calculator – FINAL
   Dark Neon SaaS Theme
================================================= */

:root {
    --bb-green: #b6ff2b;
    --bb-green-soft: rgba(182, 255, 43, 0.15);
    --bb-bg-dark: #0b0f0a;
    --bb-bg-card: #111610;
    --bb-border: rgba(182, 255, 43, 0.25);
    --bb-text: #e6e6e6;
    --bb-text-muted: #9aa19a;
}

/* ================= Container ================= */
.bbmc-container {
    max-width: 820px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(180deg, #0b0f0a, #0e140d);
    border-radius: 22px;
    border: 1px solid var(--bb-border);
	box-shadow:none;
    color: var(--bb-text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================= Headings ================= */
.bbmc-container h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.bbmc-container h3 {
    margin-top: 38px;
    font-size: 23px;
    font-weight: 600;
    color: var(--bb-green);
}

.bbmc-container h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--bb-green);
}

/* ================= Labels ================= */
.bbmc-container label {
    display: block;
    margin-top: 24px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--bb-text-muted);
    letter-spacing: 0.3px;
}

/* ================= Inputs & Selects ================= */
.bbmc-container select,
.bbmc-container input {
    width: 100%;
    padding: 15px 16px !important;
    background: var(--bb-bg-card);
    border-radius: 14px !important;
    border: 1px solid #1f261c !important;
    color: var(--bb-text);
    font-size: 15px;
    transition: all 0.3s ease !important;
}

.bbmc-container select:focus,
.bbmc-container input:focus {
    outline: none;
    border-color: var(--bb-green);
    box-shadow: 0 0 0 2px var(--bb-green-soft);
}

/* ================= Checkbox Group ================= */
.bbmc-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.bbmc-checkbox label {
    display: flex;
    align-items: center;
    background: #0f140e;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #1f261c;
    cursor: pointer;
    transition: 0.3s ease;
}

.bbmc-checkbox label:hover {
    border-color: var(--bb-green);
    box-shadow: 0 0 0 1px var(--bb-green-soft);
}

.bbmc-checkbox input {
    width: auto;
    margin-right: 10px;
    accent-color: var(--bb-green);
}

/* ================= Budget Slider ================= */
.bbmc-slider-wrap {
    margin-top: 12px;
}

#budget {
    width: 100%;
    height: 8px;
    appearance: none;
    border-radius: 20px;
    background: linear-gradient(90deg,#b6ff2b 0%,#1f261c 0%);
    transition: background 0.25s ease;
    cursor: pointer;
}

#budget::-webkit-slider-thumb {
    appearance: none;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle,#b6ff2b,#7ea814);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(182,255,43,0.95);
    cursor: pointer;
}

#budget::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: radial-gradient(circle,#b6ff2b,#7ea814);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(182,255,43,0.95);
    cursor: pointer;
}

.bbmc-budget-display {
    margin-top: 14px;
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(182,255,43,0.14);
    border: 1px solid rgba(182,255,43,0.35);
    font-size: 21px;
    font-weight: 700;
    color: var(--bb-green);
}

/* ================= Buttons ================= */
#calculateBtn,
#submitLead {
    width: 100%;
    margin-top: 34px;
    padding: 17px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.4px;
    border-radius: 18px;
    border: none;
    cursor: pointer;
    color: #0b0f0a;
    background: linear-gradient(135deg, #b6ff2b, #9ae600);
    box-shadow:
        0 14px 34px rgba(182,255,43,0.4),
        inset 0 0 0 1px rgba(0,0,0,0.2);
    transition: all 0.35s ease;
}

#calculateBtn:hover,
#submitLead:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(182,255,43,0.6);
}

/* ================= Results Section ================= */
#bbmcResults {
    margin-top: 50px;
    border-top: 1px dashed var(--bb-border);
}

#bbmcResults p {
    font-size: 16px;
    margin: 10px 0;
}

#leadCount,
#cpl {
    color: var(--bb-green);
    font-weight: 700;
}

/* ================= Channel CPL Cards ================= */
#channelCPL {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
    margin-top: 28px;
}

.bbmc-cpl-item {
    background: linear-gradient(180deg,#0f140e,#0b0f0a);
    border: 1px solid rgba(182,255,43,0.28);
    border-radius: 16px;
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 0 0 1px rgba(182,255,43,0.05);
}

.bbmc-cpl-item span {
    font-size: 13px;
    color: var(--bb-text-muted);
}

.bbmc-cpl-item strong {
    font-size: 17px;
    color: var(--bb-green);
}

/* ================= Strategy Box ================= */
.bbmc-strategy {
    margin-top: 32px;
    padding: 26px;
    background: linear-gradient(180deg,#0f140e,#0c100b);
    border-radius: 18px;
    border: 1px solid var(--bb-border);
    box-shadow: inset 0 0 0 1px rgba(182,255,43,0.06);
}

.bbmc-strategy p {
    font-size: 15px;
    line-height: 1.65;
    color: #d7e6c8;
}

/* ================= Chart ================= */
#budgetChart {
    max-width: 440px;
    margin: 38px auto 12px;
}

/* ================= Divider ================= */
.bbmc-container hr {
    margin: 48px 0;
    border: none;
    border-top: 1px dashed var(--bb-border);
}

/* ================= Mobile ================= */
@media (max-width: 640px) {

    .bbmc-container {
        padding: 28px;
    }

    .bbmc-checkbox,
    #channelCPL {
        grid-template-columns: 1fr;
    }

    .bbmc-container h2 {
        font-size: 26px;
    }
}


.bbmc-container button {
    background: linear-gradient(135deg, #b6ff2b, #8ddf00);
    border: none;
    padding: 12px 26px !important;
    font-weight: 600;
    border-radius: 22px;
    color: #111;
    transition: all .3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    margin-top: 20px;
}

.bbmc-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

.bbmc-chart-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    /*height: 250px;       /* big chart */
    /*min-height: 400px;
    max-height: 400px;*/
    margin: 20px auto ;
}

.bbmc-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: auto;   /* enables hover */
}

#budgetInput {
    visibility: hidden;
    width: 100%;
    margin-top: 0px;
    padding: 0px;
    font-size: 1px;
}

.bbmc-tooltip {
    margin-left: 6px;
    cursor: pointer;
    position: relative;
    font-size: 14px;
    display: inline-block;
}

/* Tooltip box — fully hidden by default */
.bbmc-tooltip-text {
    display: none;
    width: 280px;
    background: #1f2937;
    color: #ffffff;
    text-align: left;
    padding: 12px;
    border-radius: 8px;
    position: absolute;
    z-index: 999;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    line-height: 1.4;
}

/* Arrow */
.bbmc-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

/* SHOW ONLY ON HOVER */
.bbmc-tooltip:hover .bbmc-tooltip-text {
    display: block;
}






