/* Styles specific to the /tools/ pages. Built on top of the site theme's
   :root variables (head-assets), so they adapt automatically if the theme
   colors change. All classes are bvt- prefixed to avoid theme collisions. */

.bvt-wrap { padding: 36px 15px 64px; }

.bvt-breadcrumb {
    font-size: 13px;
    color: rgb(var(--menutxtcl));
    margin-bottom: 16px;
}
.bvt-breadcrumb a { color: inherit; text-decoration: none; }
.bvt-breadcrumb a:hover { color: rgb(var(--cl1)); }
.bvt-breadcrumb span { margin: 0 2px; }

.bvt-wrap h1 {
    color: rgb(var(--txtall));
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
}
.bvt-intro {
    color: rgb(var(--text));
    max-width: 720px;
    margin-bottom: 22px;
    line-height: 1.6;
}

/* --- Dark tool panel ------------------------------------------------- */
.bvt-panel {
    background: rgb(var(--lsdb));
    border-radius: 18px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}
.bvt-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}
.bvt-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 18px;
}
.bvt-input:focus {
    outline: none;
    border-color: rgb(var(--cl1));
    box-shadow: 0 0 0 3px rgba(var(--cl1), 0.25);
}
.bvt-input::placeholder { color: rgba(255, 255, 255, 0.35); }

.bvt-results {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bvt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 10px 14px;
}
.bvt-row-main { flex: 1; min-width: 0; }
.bvt-row-name {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2px;
}
.bvt-row-text {
    font-size: 18px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.bvt-copy {
    flex-shrink: 0;
    background: rgb(var(--cl1));
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.bvt-copy:hover { opacity: 0.85; }
.bvt-copy.bvt-copied { background: #2fa96c; }

/* --- Calculators ----------------------------------------------------- */
.bvt-calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 768px) {
    .bvt-calc-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}
.bvt-field label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
}
.bvt-field select,
.bvt-field input[type="number"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
}
.bvt-field select:focus,
.bvt-field input[type="number"]:focus {
    outline: none;
    border-color: rgb(var(--cl1));
}
.bvt-field select option { color: #333; }
.bvt-views-row { display: flex; align-items: center; gap: 12px; }
.bvt-views-row input[type="range"] {
    flex: 1;
    accent-color: rgb(var(--cl1));
}
.bvt-views-row input[type="number"] { width: 130px; flex-shrink: 0; }

.bvt-calc-out {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 20px;
}
@media (min-width: 576px) {
    .bvt-calc-out { grid-template-columns: repeat(3, 1fr); }
}
.bvt-out-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}
.bvt-out-box span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
}
.bvt-out-box strong {
    display: block;
    margin-top: 4px;
    font-size: 19px;
    color: #fff;
    overflow-wrap: anywhere;
}
.bvt-out-main { border-color: rgba(var(--cl1), 0.6); }
.bvt-out-main strong { color: rgb(var(--cl1)); filter: brightness(1.6); }
.bvt-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    margin: 14px 0 0;
}

/* --- Below the panel ------------------------------------------------- */
.bvt-funnel {
    margin: 18px 0 36px;
    color: rgb(var(--text));
    font-size: 15px;
    line-height: 1.6;
}
.bvt-funnel a { color: rgb(var(--cl1)); font-weight: 600; }

.bvt-content { max-width: 820px; color: rgb(var(--text)); }
.bvt-content h2 {
    color: rgb(var(--txtall));
    font-size: 24px;
    margin: 30px 0 12px;
}
.bvt-content p { margin-bottom: 14px; line-height: 1.7; }
.bvt-content a { color: rgb(var(--cl1)); }
.bvt-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 20px;
    font-size: 14px;
}
.bvt-content th,
.bvt-content td {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    color: rgb(var(--text));
}
.bvt-content th { color: rgb(var(--txtall)); font-weight: 600; }

.bvt-faq { max-width: 820px; margin-top: 36px; }
.bvt-faq h2,
.bvt-related h2 {
    color: rgb(var(--txtall));
    font-size: 24px;
    margin-bottom: 16px;
}
.bvt-faq-item { margin-bottom: 18px; }
.bvt-faq-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: rgb(var(--txtall));
    margin-bottom: 6px;
}
.bvt-faq-item p { color: rgb(var(--text)); line-height: 1.7; margin: 0; }

.bvt-related { margin-top: 36px; }
.bvt-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.bvt-related a {
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 16px;
    color: rgb(var(--txtall));
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, color 0.15s ease;
}
.bvt-related a:hover { border-color: rgb(var(--cl1)); color: rgb(var(--cl1)); }

/* --- Name / bio generator -------------------------------------------- */
.bvt-gen-row { display: flex; gap: 10px; }
.bvt-gen-row .bvt-input { flex: 1; }
.bvt-btn-alt {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.bvt-btn-alt:hover { background: rgba(255, 255, 255, 0.2); }
.bvt-row-text.bvt-pre { white-space: pre-line; }

/* --- Hashtag generator ------------------------------------------------ */
.bvt-chip {
    display: inline-block;
    background: rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 3px 6px 3px 0;
    font-size: 14px;
}
.bvt-row-text.bvt-tags { font-size: 14px; }
.bvt-help {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin: 6px 0 0;
}

/* --- Hub (/tools/) ---------------------------------------------------- */
.bvt-hub-intro {
    max-width: 760px;
    color: rgb(var(--text));
    line-height: 1.7;
    margin-bottom: 8px;
}
.bvt-hub-section { margin-top: 32px; }
.bvt-hub-section h2 {
    color: rgb(var(--txtall));
    font-size: 22px;
    margin-bottom: 4px;
}
.bvt-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.bvt-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.bvt-card:hover { border-color: rgb(var(--cl1)); transform: translateY(-2px); }
.bvt-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: rgb(var(--txtall));
    margin: 0 0 6px;
}
.bvt-card p {
    font-size: 13px;
    color: rgb(var(--text));
    margin: 0;
    line-height: 1.5;
}

/* --- Free growth tools (links out to the main site) -------------------- */
.bvt-free {
    margin-top: 40px;
    background: rgba(var(--cl1), 0.05);
    border: 1px solid rgba(var(--cl1), 0.16);
    border-radius: 18px;
    padding: 26px 24px 28px;
}
.bvt-free h2 {
    color: rgb(var(--txtall));
    font-size: 22px;
    margin: 0 0 6px;
}
.bvt-free-lead {
    color: rgb(var(--text));
    max-width: 660px;
    line-height: 1.65;
    font-size: 15px;
    margin: 0 0 20px;
}
.bvt-free-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 18px 20px;
}
.bvt-free-group h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgb(var(--cl1));
    margin: 0 0 8px;
}
.bvt-free-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.bvt-free-group a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px 6px 0;
    color: rgb(var(--txtall));
    font-size: 14.5px;
    line-height: 1.35;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.15s ease, padding-left 0.15s ease;
}
.bvt-free-group li:last-child a { border-bottom: 0; }
.bvt-free-group a::after {
    content: "\2192";
    margin-left: auto;
    padding-left: 10px;
    opacity: 0;
    color: rgb(var(--cl1));
    transition: opacity 0.15s ease;
}
.bvt-free-group a:hover,
.bvt-free-group a:focus-visible {
    color: rgb(var(--cl1));
    padding-left: 4px;
}
.bvt-free-group a:hover::after,
.bvt-free-group a:focus-visible::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .bvt-card,
    .bvt-free-group a { transition: none; }
}

@media (max-width: 575px) {
    .bvt-wrap h1 { font-size: 26px; }
    .bvt-panel { padding: 18px; }
    .bvt-row-text { font-size: 16px; }
    .bvt-free { padding: 20px 16px 22px; border-radius: 14px; }
    .bvt-free-grid { gap: 14px; }
}
