/* ====================================================
   PetNurture - Pet Age Calculator Styles
   Theme: #6AAF08 green  |  #272727 dark  |  #757F95 muted
   Fonts: 'Baloo 2' (headings), 'Roboto' (body)
   All classes scoped to calculator pages only
==================================================== */

/* ── Page wrapper ──────────────────────────────── */
.calc-wrapper { padding: 56px 0 72px; }

/* ── Trust Badge ───────────────────────────────── */
.vet-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9e8;
    border: 1px solid #c6e89a;
    border-radius: 30px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #3d7200;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.vet-trust-badge i { color: #6AAF08; font-size: 13px; }

/* ── Form Card ─────────────────────────────────── */
.calc-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 32px 32px;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
}
@media (max-width:575px) { .calc-form-card { padding: 22px 16px 20px; } }

.calc-form-title {
    font-size: 26px;
    font-weight: 700;
    color: #272727;
    margin-bottom: 6px;
    line-height: 1.25;
}
.calc-form-subtitle {
    color: #757F95;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 26px;
}

/* ── Form Fields ───────────────────────────────── */
.calc-field { margin-bottom: 22px; }
.calc-field > label {
    display: block;
    font-weight: 700;
    color: #272727;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 9px;
}

/* ── Pet Type Toggle ────────────────────────────── */
.pet-type-toggle { display: flex; gap: 10px; }
.pet-type-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    background: #f7f7f7;
    color: #757F95;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .22s ease;
    font-family: 'Baloo 2', cursive;
    line-height: 1.2;
}
.pet-type-btn .btn-icon { font-size: 18px; line-height: 1; }
.pet-type-btn:hover  { border-color: #6AAF08; color: #6AAF08; background: #f0f9e8; }
.pet-type-btn.active { border-color: #6AAF08; background: #6AAF08; color: #fff; }

/* ── Lifestyle Grid (cat) ───────────────────────── */
.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
@media (max-width:575px) { .lifestyle-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width:360px)  { .lifestyle-grid { grid-template-columns: repeat(1, 1fr); } }

.lifestyle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 6px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    background: #f9f9f9;
    color: #757F95;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
    min-height: 76px;
    font-family: 'Baloo 2', cursive;
}
.lifestyle-btn:hover  { border-color: #6AAF08; background: #f0f9e8; color: #6AAF08; }
.lifestyle-btn.active { border-color: #6AAF08; background: #6AAF08; color: #fff; }
.lifestyle-btn .lifestyle-icon { font-size: 20px; line-height: 1; margin-bottom: 3px; }
.lifestyle-btn .lifestyle-name { font-weight: 700; font-size: 12.5px; line-height: 1.2; }
.lifestyle-btn .lifestyle-note { font-size: 10.5px; opacity: .82; margin-top: 2px; line-height: 1; }

/* ── Age Input ─────────────────────────────────── */
.age-input-group { position: relative; }
.calc-age-input {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #272727 !important;
    padding: 12px 58px 12px 18px !important;
    border: 2px solid #e4e4e4 !important;
    border-radius: 10px !important;
    background: #f9f9f9 !important;
    transition: border-color .22s ease, box-shadow .22s ease !important;
    width: 100% !important;
    height: auto !important;
}
.calc-age-input:focus {
    border-color: #6AAF08 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(106,175,8,.14) !important;
    outline: none !important;
}
.age-input-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.calc-hint { font-size: 12px; color: #aaa; margin-top: 5px; line-height: 1.45; }
.calc-error {
    font-size: 13px;
    color: #c0392b;
    margin-top: 6px;
    padding: 8px 12px;
    background: #fff5f5;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
    line-height: 1.4;
}

/* ── Breed Select ──────────────────────────────── */
.breed-select-wrap select {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    background: #f9f9f9;
    color: #272727;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: border-color .22s ease;
}
.breed-select-wrap select:focus { border-color: #6AAF08; outline: none; box-shadow: 0 0 0 3px rgba(106,175,8,.14); }

/* ── Size Grid ─────────────────────────────────── */
.size-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 9px;
}
@media (max-width:480px) { .size-grid { grid-template-columns: repeat(2,1fr); } }

.size-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 11px 6px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    background: #f9f9f9;
    color: #757F95;
    cursor: pointer;
    transition: all .22s ease;
    text-align: center;
    min-height: 76px;
}
.size-btn:hover   { border-color: #6AAF08; background: #f0f9e8; color: #6AAF08; }
.size-btn.active  { border-color: #6AAF08; background: #6AAF08; color: #fff; }
.size-btn .size-icon   { font-size: 20px; line-height: 1; margin-bottom: 3px; }
.size-btn .size-name   { font-weight: 700; font-size: 12.5px; font-family:'Baloo 2',cursive; line-height: 1.2; }
.size-btn .size-weight { font-size: 10.5px; opacity: .82; margin-top: 2px; line-height: 1; }

/* ── Calculate Button ──────────────────────────── */
.calc-submit-btn { width: 100%; padding: 13px 24px !important; font-size: 15px !important; border-radius: 10px !important; margin-top: 4px; }

/* ── Intro Panel (pre-result) ──────────────────── */
.calc-intro-panel {
    background: linear-gradient(140deg,#f0f9e8 0%,#e6f4d4 100%);
    border-radius: 16px;
    padding: 28px 24px 24px;
    border: 1px solid #cde99a;
    height: 100%;
}
.calc-intro-panel h2 { font-size: 18px; color: #272727; margin-bottom: 14px; }
.calc-intro-list { list-style: none; padding: 0; margin: 0 0 20px; }
.calc-intro-list li {
    display: flex;
    gap: 9px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(106,175,8,.15);
    font-size: 13.5px;
    color: #4a5a3a;
    line-height: 1.5;
}
.calc-intro-list li:last-child { border-bottom: none; }
.calc-intro-list li::before { content:'✓'; color:#6AAF08; font-weight:800; font-size:13px; flex-shrink:0; margin-top:2px; }
.calc-intro-trust { background:#fff; border-radius:10px; padding:12px 16px; text-align:center; border:1px solid #cde99a; }
.calc-intro-trust p { font-size:11.5px; color:#757F95; margin-bottom:4px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.calc-intro-trust .trust-icons { font-size:20px; letter-spacing:5px; }

/* ══════════════════════════════════════════════════
   RESULT CARD  - the "screenshot-worthy" section
══════════════════════════════════════════════════ */
.calc-result-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 36px rgba(0,0,0,.11);
    animation: calcSlideIn .35s ease;
}
@keyframes calcSlideIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

/* header bar */
.rc-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(0,0,0,.05);
    flex-wrap: wrap;
    gap: 6px;
}
.rc-pet-id { font-size: 13.5px; font-weight: 600; color: #272727; }
.rc-tag {
    display: inline-block;
    font-size: 11px;
    background: rgba(0,0,0,.07);
    border-radius: 20px;
    padding: 2px 9px;
    margin-left: 4px;
    font-weight: 600;
    color: #555;
}
.rc-updated {
    font-size: 10.5px;
    font-weight: 700;
    color: #6AAF08;
    text-transform: uppercase;
    letter-spacing: .6px;
    background: #f0f9e8;
    border-radius: 20px;
    padding: 3px 10px;
    border: 1px solid #c6e89a;
}

/* big number */
.rc-main { text-align: center; padding: 28px 20px 18px; }
.rc-num {
    font-size: 82px;
    font-weight: 900;
    color: #6AAF08;
    line-height: 1;
    font-family: 'Baloo 2', cursive;
    letter-spacing: -2px;
}
.rc-num-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #757F95;
    margin-top: 2px;
    margin-bottom: 8px;
}
.rc-context {
    font-size: 13.5px;
    color: #555;
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 7px 14px;
}

/* life stage */
.rc-stage { padding: 14px 18px 12px; margin: 0; }
.rc-stage-row { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.rc-stage-emoji { font-size: 22px; line-height: 1; }
.rc-stage-text  { font-size: 14.5px; color: #272727; }
.rc-stage-text strong { color: #272727; }

/* progress bar */
.rc-progress-wrap { margin-top: 4px; }
.rc-progress-track {
    height: 8px;
    background: rgba(0,0,0,.08);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.rc-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width .5s ease;
    min-width: 4px;
}
.rc-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #aaa;
    margin-top: 4px;
    font-weight: 600;
}

/* care tips */
.rc-tips { padding: 14px 18px; border-top: 1px solid #f2f2f2; }
.rc-tips-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #272727; margin-bottom: 9px; }
.rc-tips-list { list-style: none; padding: 0; margin: 0; }
.rc-tips-list li {
    font-size: 12.5px;
    color: #555;
    padding: 4px 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 2px;
}
.rc-tips-list li i { color: #6AAF08; margin-top: 3px; flex-shrink: 0; font-size: 11px; }

/* share / copy actions */
.rc-actions {
    display: flex;
    gap: 7px;
    padding: 12px 18px;
    border-top: 1px solid #f2f2f2;
    flex-wrap: wrap;
}
.rc-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: opacity .18s ease, transform .15s ease;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}
.rc-btn:hover { opacity: .88; transform: translateY(-1px); color: inherit; }
.rc-btn-copy  { background: #f0f0f0; color: #333; }
.rc-btn-wa    { background: #25D366; color: #fff; }
.rc-btn-x     { background: #000; color: #fff; }
.rc-btn-pin   { background: #E60023; color: #fff; }

/* disclaimer */
.rc-disclaimer {
    font-size: 11px;
    color: #aaa;
    padding: 10px 18px 14px;
    line-height: 1.5;
    border-top: 1px solid #f2f2f2;
    margin: 0;
}

/* ── Section Utility ───────────────────────────── */
.calc-section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6AAF08;
    margin-bottom: 5px;
}
.calc-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #272727;
    margin-bottom: 10px;
    line-height: 1.25;
}
.calc-section-subtitle {
    font-size: 14.5px;
    color: #757F95;
    max-width: 600px;
    line-height: 1.7;
    margin-bottom: 0;
}
@media (max-width:767px) { .calc-section-title { font-size: 22px; } }

/* ── How It Works Cards ────────────────────────── */
.how-it-works-card {
    background: #fff;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}
.how-it-works-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.10); }
.how-it-works-icon { width:60px; height:60px; border-radius:50%; background:linear-gradient(135deg,#f0f9e8,#d4edaa); display:flex; align-items:center; justify-content:center; margin:0 auto 14px; font-size:24px; }
.how-it-works-card h3 { font-size: 16px; color: #272727; margin-bottom: 8px; }
.how-it-works-card p  { font-size: 13.5px; color: #757F95; line-height: 1.65; margin: 0; }

/* ── Age Tables ────────────────────────────────── */
.calc-table-wrapper { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.calc-age-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; min-width: 340px; }
.calc-age-table thead th {
    background: #6AAF08; color: #fff; padding: 11px 14px;
    text-align: center; font-weight: 700; font-size: 12.5px;
    white-space: nowrap; font-family: 'Baloo 2',cursive;
}
.calc-age-table thead th:first-child { text-align: left; border-radius: 12px 0 0 0; }
.calc-age-table thead th:last-child  { border-radius: 0 12px 0 0; }
.calc-age-table tbody tr:nth-child(even) td { background: #f8fdf2; }
.calc-age-table tbody tr:hover td { background: #edf7dc; }
.calc-age-table tbody td { padding: 9px 14px; text-align: center; color: #555; border-bottom: 1px solid #f0f0f0; }
.calc-age-table tbody td:first-child { text-align: left; font-weight: 700; color: #272727; }
.calc-age-table .stage-cell { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; color: #6AAF08; }
.calc-age-table tfoot td { padding: 7px 14px; font-size: 11px; color: #aaa; background: #fafafa; border-top: 2px solid #f0f0f0; }

/* ── Common Age Example Cards ──────────────────── */
.example-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.example-card {
    background: #fff;
    border: 2px solid #e8f5d0;
    border-radius: 12px;
    padding: 14px 16px;
    cursor: pointer;
    text-align: center;
    transition: all .2s ease;
    width: 100%;
    font-family: inherit;
}
.example-card:hover { border-color: #6AAF08; background: #f0f9e8; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(106,175,8,.15); }
.example-card:focus { outline: 2px solid #6AAF08; outline-offset: 2px; }
.example-breed  { font-size: 13px; font-weight: 700; color: #272727; margin-bottom: 5px; line-height: 1.3; }
.example-result { font-size: 22px; font-weight: 900; color: #6AAF08; font-family:'Baloo 2',cursive; line-height: 1; }
.example-label  { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-top: 1px; }
.example-stage  { display: inline-block; font-size: 11px; font-weight: 700; color: #6AAF08; background: #f0f9e8; border-radius: 20px; padding: 2px 9px; margin-top: 5px; }

/* ── Life Stage Cards ──────────────────────────── */
.life-stage-card {
    border-radius: 12px;
    padding: 18px 16px;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid rgba(0,0,0,.06);
    background: #fff;
}
.life-stage-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.09); }
.life-stage-icon { font-size: 30px; margin-bottom: 9px; line-height: 1; }
.life-stage-card h3 { font-size: 16px; margin-bottom: 3px; color: #272727; }
.life-stage-card .stage-age-range { font-size: 11px; color: #6AAF08; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 7px; display: block; }
.life-stage-card p { font-size: 13px; color: #757F95; line-height: 1.6; margin: 0; }

/* ── Lifespan Visual Cards ─────────────────────── */
.lifespan-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 2px 18px rgba(0,0,0,.06);
    height: 100%;
    transition: transform .2s ease;
}
.lifespan-card:hover { transform: translateY(-3px); }
.lifespan-icon    { font-size: 36px; margin-bottom: 10px; line-height: 1; }
.lifespan-card h3 { font-size: 16px; color: #272727; margin-bottom: 2px; }
.lifespan-card .ls-weight { font-size: 12px; color: #aaa; font-weight: 600; margin-bottom: 10px; display: block; }
.lifespan-years   { font-size: 28px; font-weight: 900; color: #6AAF08; font-family: 'Baloo 2',cursive; line-height: 1; margin-bottom: 4px; }
.lifespan-label   { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.lifespan-breeds  { font-size: 12px; color: #555; line-height: 1.5; }

/* ── Comparison Table (Indoor/Outdoor) ─────────── */
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 18px rgba(0,0,0,.06); }
.compare-table th { background: #6AAF08; color: #fff; padding: 12px 18px; text-align: left; font-weight: 700; font-size: 13px; }
.compare-table td { padding: 11px 18px; border-bottom: 1px solid #f0f0f0; font-size: 13.5px; color: #555; vertical-align: top; }
.compare-table tbody tr:nth-child(even) td { background: #f8fdf2; }
.compare-table tbody tr:hover td { background: #edf7dc; }
.compare-table td:first-child { font-weight: 700; color: #272727; width: 40%; }
.compare-table .good  { color: #3d7200; font-weight: 600; }
.compare-table .risky { color: #c0392b; font-weight: 600; }

/* ── Disclaimer Box ────────────────────────────── */
.calc-disclaimer-box {
    background: #fff8e7;
    border: 1px solid #ffd966;
    border-left: 4px solid #f0a500;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13.5px;
    color: #6b5900;
    line-height: 1.6;
}
.calc-disclaimer-box a { color: #5a4800; }

/* ── Related Links ─────────────────────────────── */
.related-tools-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid #d4edaa;
    background: #f0f9e8;
    color: #4a8a00;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
    margin: 4px;
}
.related-tools-link:hover { background: #6AAF08; border-color: #6AAF08; color: #fff; }

/* ── Sticky result column (desktop) ────────────── */
@media (min-width:992px) {
    .calc-sticky-col { position: sticky; top: 20px; }
}

/* ── "How We Calculate" formula box ────────────── */
.how-calc-formula {
    background: #f8fdf2;
    border: 1px solid #cde99a;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: #3d5a00;
    font-family: 'Courier New', monospace;
    margin: 12px 0;
    line-height: 1.7;
    white-space: pre-wrap;
}
.how-calc-source { font-size: 12px; color: #aaa; margin-top: 6px; }
.how-calc-source a { color: #6AAF08; }

/* ── Result card - premium upgrade ─────────────── */
.rc-num {
    font-size: 86px;
    font-weight: 900;
    color: #6AAF08;
    line-height: 1;
    font-family: 'Baloo 2', cursive;
    letter-spacing: -3px;
    text-shadow: 0 2px 24px rgba(106,175,8,.22);
}
.rc-main {
    text-align: center;
    padding: 32px 20px 20px;
    background: linear-gradient(160deg, #f8fdf2 0%, #ffffff 60%);
}
.rc-context {
    font-size: 13.5px;
    color: #4a5a3a;
    line-height: 1.55;
    max-width: 280px;
    margin: 10px auto 0;
    background: rgba(106,175,8,.07);
    border: 1px solid rgba(106,175,8,.18);
    border-radius: 8px;
    padding: 8px 16px;
    font-style: italic;
}
.rc-updated {
    font-size: 10px;
    font-weight: 700;
    color: #6AAF08;
    text-transform: uppercase;
    letter-spacing: .7px;
    background: #f0f9e8;
    border-radius: 20px;
    padding: 3px 10px;
    border: 1px solid #c6e89a;
    white-space: nowrap;
}
.rc-btn-dl { background: #f0f9e8; color: #4a8a00; border: 1px solid #c6e89a; }
.rc-btn-dl:hover { opacity: .85; color: #4a8a00; }

/* ── Header - auto-width dropdowns (Tools, More) ── */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu.nav-menu-auto {
        width: max-content !important;
    }
}

/* ── Header - Tools dropdown ────────────────────── */
.navbar .nav-item .dropdown-menu .nav-tools-soon {
    color: rgba(255,255,255,0.4) !important;
    cursor: default;
    pointer-events: none;
}
.nav-soon-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.6);
    border-radius: 3px;
    padding: 0 5px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1.7;
}

/* ── Footer - Free Pet Tools section ───────────── */

/* ── Tools Hub page ─────────────────────────────── */
.tools-hub-trust {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 16px; font-size: 13px; font-weight: 600; color: #4a8a00;
}
.tools-hub-trust span { display: flex; align-items: center; gap: 5px; }
.tools-hub-trust i { color: #6AAF08; }
.tools-hub-category-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #f0f9e8;
}
.tools-hub-animal-icon { font-size: 26px; line-height: 1; }
.tools-hub-category-header h2 { font-size: 20px; font-weight: 700; color: #272727; margin: 0; }
.tool-card {
    background: #fff; border-radius: 16px; border: 2px solid #e8f5d0;
    overflow: hidden; height: 100%; display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(106,175,8,.14); border-color: #6AAF08; }
.tool-card--soon { opacity: .72; }
.tool-card--soon:hover { transform: none; box-shadow: 0 2px 16px rgba(0,0,0,.05); border-color: #e8f5d0; }
.tool-card-icon { font-size: 36px; text-align: center; padding: 22px 20px 8px; line-height: 1; background: linear-gradient(160deg,#f0f9e8,#ffffff); }
.tool-card-body { padding: 0 20px 14px; flex: 1; }
.tool-card-category { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; color: #6AAF08; }
.tool-card-title { font-size: 17px; font-weight: 700; color: #272727; margin: 4px 0 7px; line-height: 1.25; }
.tool-card-desc { font-size: 13px; color: #757F95; line-height: 1.65; margin: 0 0 12px; }
.tool-card-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.tool-card-badge {
    display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .4px; background: #f0f9e8; color: #3d7200; border: 1px solid #c6e89a;
    border-radius: 10px; padding: 2px 8px;
}
.tool-card-badge--live { background: #6AAF08; color: #fff; border-color: #6AAF08; }
.tool-card-badge--soon { background: #fff3cd; color: #856404; border-color: #ffc107; }
.tool-card-cta {
    display: block; margin: 0 20px 20px; text-align: center;
    padding: 10px 18px !important; font-size: 13.5px !important;
    border-radius: 10px !important; font-weight: 700; text-decoration: none;
}
.tool-card-cta--disabled {
    background: #f0f0f0; color: #aaa; border: 1px solid #e0e0e0;
    cursor: not-allowed; width: calc(100% - 40px);
    font-family: 'Roboto', sans-serif;
}
.compare-table--mini td, .compare-table--mini th { padding: 7px 12px; font-size: 12.5px; }

/* ── Mobile tweaks ─────────────────────────────── */
@media (max-width:767px) {
    .calc-intro-panel { padding: 22px 18px; margin-top: 20px; }
    .rc-num  { font-size: 62px; }
    .rc-actions { gap: 6px; }
    .rc-btn { padding: 6px 10px; font-size: 12px; }
    .example-grid { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════
   TOOL DISCLAIMER PARTIAL STYLES
   Used by: tool-disclaimer.hbs & tool-disclaimer-emergency.hbs
════════════════════════════════════════════════════════ */
.tool-disclaimer-section {
    padding: 40px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}
.tool-disclaimer-box {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-left: 5px solid #6AAF08;
    border-radius: 10px;
    padding: 28px 32px;
    max-width: 860px;
    margin: 0 auto;
}
.tool-disclaimer-box--emergency {
    border-left-color: #e67e22;
    background: #fffdf8;
}
.tool-disclaimer-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.tool-disclaimer-header .fa-circle-info { color: #6AAF08; font-size: 1.2rem; }
.tool-disclaimer-header .fa-triangle-exclamation { color: #e67e22; font-size: 1.2rem; }
.tool-disclaimer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    flex: 1;
}
.tool-disclaimer-updated {
    font-size: 0.78rem;
    color: #aaa;
    white-space: nowrap;
}
.tool-disclaimer-body p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
}
.tool-disclaimer-body p:last-child { margin-bottom: 0; }
.tool-disclaimer-how {
    background: #f6fbee;
    border-radius: 6px;
    padding: 10px 14px;
    border-left: 3px solid #6AAF08;
    font-size: 0.85rem !important;
    color: #444 !important;
}
.tool-disclaimer-box--emergency .tool-disclaimer-how {
    background: #fffbf0;
    border-left-color: #e67e22;
}
.tool-disclaimer-emergency-contact {
    background: #fff3e0;
    border-radius: 6px;
    padding: 10px 14px !important;
    font-size: 0.88rem !important;
}
.tool-disclaimer-emergency-contact a { color: #c0392b; font-weight: 700; text-decoration: none; }
.tool-disclaimer-emergency-contact a:hover { text-decoration: underline; }
.tool-disclaimer-links {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.tool-disclaimer-links a {
    font-size: 0.8rem;
    color: #6AAF08;
    text-decoration: none;
    font-weight: 600;
}
.tool-disclaimer-links a:hover { text-decoration: underline; }

/* Inline result disclaimer (below calculate button) */
.calc-inline-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 12px;
    font-size: 0.82rem;
    color: #777;
    line-height: 1.5;
}
.calc-inline-disclaimer i { color: #aaa; flex-shrink: 0; margin-top: 2px; }

@media (max-width: 600px) {
    .tool-disclaimer-box { padding: 20px 18px; }
    .tool-disclaimer-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .tool-disclaimer-links { gap: 10px; }
}

.result-inner { padding: 20px; }

/* ═══════════════════════════════════════════════════════
   CALC-TITLE / CALC-SUBTITLE - older page pattern
   Used by: cat-calorie, puppy, dog-breed-selector
══════════════════════════════════════════════════════ */
.calc-title {
    font-size: 26px;
    font-weight: 700;
    color: #272727;
    margin-bottom: 8px;
    line-height: 1.25;
    font-family: 'Baloo 2', cursive;
}
.calc-subtitle {
    color: #757F95;
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 24px;
}
@media (max-width: 575px) {
    .calc-title { font-size: 21px; }
}

/* ── calc-sidebar - sticky panel wrapper ─────────── */
.calc-sidebar { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 992px) {
    .calc-sidebar { position: sticky; top: 20px; }
}

/* ═══════════════════════════════════════════════════════
   RADIO CARD COMPONENT
   Used by: cat-calorie-calculator, dog-calorie-calculator
══════════════════════════════════════════════════════ */
.calc-radio-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
@media (max-width: 575px) {
    .calc-radio-group { grid-template-columns: repeat(1, 1fr); gap: 7px; }
}
.calc-radio-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border: 2px solid #e4e4e4;
    border-radius: 10px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
    position: relative;
    min-height: 60px;
}
.calc-radio-card:hover {
    border-color: #6AAF08;
    background: #f0f9e8;
}
.calc-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
/* checked state - :has() is supported in all modern browsers */
.calc-radio-card:has(input[type="radio"]:checked) {
    border-color: #6AAF08;
    background: #f0f9e8;
    box-shadow: 0 0 0 3px rgba(106,175,8,.12);
}
.calc-radio-content { display: flex; flex-direction: column; }
.calc-radio-title {
    font-weight: 700;
    font-size: 13.5px;
    color: #272727;
    line-height: 1.2;
    font-family: 'Baloo 2', cursive;
}
.calc-radio-desc {
    font-size: 11.5px;
    color: #757F95;
    margin-top: 2px;
    line-height: 1.3;
}

/* ═══════════════════════════════════════════════════════
   TRUST PANEL - right-side pre-result panel
   Used by: cat-calorie, puppy-weight-predictor
══════════════════════════════════════════════════════ */
.calc-trust-panel {
    background: linear-gradient(140deg, #f0f9e8 0%, #e6f4d4 100%);
    border-radius: 16px;
    padding: 22px 20px;
    border: 1px solid #cde99a;
}
.trust-item {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(106,175,8,.18);
    align-items: flex-start;
}
.trust-item:last-child { border-bottom: none; padding-bottom: 0; }
.trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(106,175,8,.12);
    border: 1px solid rgba(106,175,8,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #4a8a00;
    font-size: 16px;
}
.trust-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #272727;
    margin: 0 0 3px;
    line-height: 1.2;
}
.trust-content p {
    font-size: 12.5px;
    color: #4a5a3a;
    margin: 0;
    line-height: 1.55;
}

/* ── Section spacing tightening ───────────────────── */
/* Reduce the oversized bottom padding on main calc wrapper */
.calc-wrapper { padding: 52px 0 60px; }

/* When calc-wrapper is a DIV nested inside a py-60 section,
   suppress inner padding - the section already provides spacing */
.py-60 .calc-wrapper,
.py-60 > .container > .row > div > .calc-wrapper {
    padding: 0;
}

/* Tighten the section heading bottom margin slightly */
.faq-area .row.mb-5,
section .row.mb-5 { margin-bottom: 2rem !important; }

/* FAQ section - reduce heading gap more aggressively */
.faq-area .row.mb-5 { margin-bottom: 1.5rem !important; }

/* Reduce section padding on small screens */
@media (max-width: 767px) {
    section.calc-wrapper { padding: 36px 0 44px; }
    section.py-60 { padding: 42px 0 !important; }
    .faq-area.py-60 { padding: 42px 0 !important; }
}

/* ── Category accent: cat tools (softer teal tint) ── */
.calc-wrapper--cat .calc-form-card,
.page-cat .calc-form-card {
    border-top: 3px solid #4db8cc;
}
/* ── Category accent: rabbit tools (earthy green) ── */
.calc-wrapper--rabbit .calc-form-card,
.page-rabbit .calc-form-card {
    border-top: 3px solid #8bc34a;
}
/* ── Category accent: toxicity / emergency ───────── */
.calc-wrapper--emergency .calc-form-card {
    border-top: 3px solid #e67e22;
}
