/* ── GRANDMAW'S BAIT CALCULATOR ─────────────────────────── */

.gma-bait-wrap {
    max-width: 800px;
    margin: 0 auto;
    font-family: Georgia, 'Times New Roman', serif;
    color: #333;
}

.gma-bait-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 3px solid #2d5016;
    margin-bottom: 25px;
}

.gma-bait-header h2 {
    color: #2d5016;
    font-size: 1.8em;
    margin: 0 0 5px;
}

.gma-bait-subtitle {
    color: #666;
    font-style: italic;
    margin: 0;
}

/* ── STEPS ──────────────────────────────────────────────── */

.gma-bait-step {
    margin-bottom: 25px;
    padding: 20px;
    background: #faf8f3;
    border: 1px solid #e0d8c8;
    border-radius: 8px;
}

.gma-step-label {
    font-size: 1.1em;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d4c9b0;
}

/* ── SELECT DROPDOWNS ───────────────────────────────────── */

.gma-bait-select {
    width: 100%;
    padding: 10px 12px;
    font-family: Georgia, serif;
    font-size: 1em;
    border: 2px solid #c4b998;
    border-radius: 5px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.gma-bait-select:focus {
    border-color: #2d5016;
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.15);
}

/* ── SPECIES TIPS ───────────────────────────────────────── */

.gma-bait-tips {
    margin-top: 15px;
    padding: 12px 15px;
    background: #f0ebe0;
    border-left: 4px solid #2d5016;
    border-radius: 0 5px 5px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

/* ── BAIT TYPE GRID ─────────────────────────────────────── */

.gma-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.gma-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #fff;
    border: 2px solid #c4b998;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: Georgia, serif;
    color: #333;
}

.gma-type-btn:hover {
    border-color: #2d5016;
    background: #f5f0e8;
}

.gma-type-btn.active {
    border-color: #2d5016;
    background: #2d5016;
    color: #fff !important;
}

.gma-type-btn.active .gma-type-name {
    color: #fff !important;
}

.gma-type-icon {
    font-size: 1.8em;
    margin-bottom: 5px;
}

.gma-type-name {
    font-size: 0.85em;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.gma-type-desc {
    padding: 10px 15px;
    background: #f0ebe0;
    border-radius: 5px;
    font-size: 0.95em;
    line-height: 1.5;
}

/* ── CALCULATOR ROWS ────────────────────────────────────── */

.gma-calc-row {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0d8c8;
}

.gma-calc-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.gma-calc-row > label {
    display: block;
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 8px;
    font-size: 1em;
}

.gma-calc-row > label small {
    font-weight: normal;
    color: #888;
}

/* ── BATCH SIZE BUTTONS ─────────────────────────────────── */

.gma-batch-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.gma-batch-btn {
    padding: 10px;
    text-align: center;
    background: #fff;
    border: 2px solid #c4b998;
    border-radius: 5px;
    cursor: pointer;
    font-family: Georgia, serif;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.2s;
    color: #333;
}

.gma-batch-btn small {
    display: block;
    font-weight: normal;
    font-size: 0.8em;
    color: #888;
}

.gma-batch-btn:hover {
    border-color: #2d5016;
}

.gma-batch-btn.active {
    border-color: #2d5016;
    background: #2d5016;
    color: #fff !important;
}

.gma-batch-btn.active small {
    color: #cde0c1 !important;
}

/* ── SLIDERS ────────────────────────────────────────────── */

.gma-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.gma-slider-label {
    font-size: 0.9em;
    color: #555;
    min-width: 60px;
}

.gma-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    outline: none;
}

.gma-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #2d5016;
    border-radius: 50%;
    cursor: pointer;
}

.gma-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #2d5016;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.gma-slider-val {
    font-weight: bold;
    color: #2d5016;
    min-width: 40px;
    text-align: right;
}

/* ── INGREDIENT NOTES ───────────────────────────────────── */

.gma-ingredient-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff8e1;
    border-radius: 4px;
    font-size: 0.9em;
    color: #555;
    display: none;
}

/* ── SCENT SLOTS ────────────────────────────────────────── */

.gma-scent-slot {
    margin-bottom: 10px;
}

.gma-scent-amount-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding-left: 10px;
    font-size: 0.9em;
}

.gma-scent-amount-row span {
    color: #555;
}

.gma-scent-multiplier {
    padding: 5px 8px;
    border: 1px solid #c4b998;
    border-radius: 4px;
    font-family: Georgia, serif;
    font-size: 0.95em;
}

/* ── CONSISTENCY METER ──────────────────────────────────── */

.gma-consistency-wrap {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0d8c8;
    border-radius: 8px;
}

.gma-consistency-label {
    font-weight: bold;
    color: #2d5016;
    margin-bottom: 10px;
}

.gma-consistency-bar {
    position: relative;
    display: flex;
    height: 36px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 10px;
}

.gma-consistency-zone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gma-zone-wet {
    background: #b3d9ff;
    color: #1a5276;
}

.gma-zone-good {
    background: #a8d5a2;
    color: #1e5631;
}

.gma-zone-dry {
    background: #f0c27a;
    color: #7d4e00;
}

.gma-consistency-needle {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 4px;
    height: 44px;
    background: #333;
    border-radius: 2px;
    transition: left 0.3s ease;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.gma-consistency-needle::after {
    content: '▼';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: #333;
}

.gma-consistency-tip {
    font-size: 0.9em;
    font-style: italic;
    color: #555;
    line-height: 1.5;
}

/* ── RECIPE CARD ────────────────────────────────────────── */

.gma-recipe-card {
    background: #fff;
    border: 2px solid #2d5016;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.gma-recipe-card-header {
    background: #2d5016;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gma-recipe-card-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #fff;
}

.gma-recipe-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85em;
}

.gma-recipe-card-body {
    padding: 20px;
}

.gma-recipe-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.gma-recipe-table th {
    background: #f5f0e8;
    padding: 10px 12px;
    text-align: left;
    font-size: 0.9em;
    color: #555;
    border-bottom: 2px solid #d4c9b0;
}

.gma-recipe-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
}

.gma-recipe-table .gma-scent-row td {
    font-style: italic;
    color: #555;
}

.gma-recipe-total td {
    border-top: 2px solid #2d5016;
    background: #f5f0e8;
}

.gma-recipe-instructions,
.gma-recipe-storage,
.gma-recipe-usage,
.gma-recipe-grandmaw {
    margin-bottom: 15px;
}

.gma-recipe-card h4 {
    color: #2d5016;
    margin: 0 0 8px;
    font-size: 1em;
}

.gma-recipe-card ol {
    padding-left: 20px;
    margin: 0;
}

.gma-recipe-card ol li {
    margin-bottom: 6px;
    line-height: 1.5;
}

.gma-recipe-card p {
    line-height: 1.6;
    margin: 0;
}

.gma-recipe-grandmaw {
    background: #f5f0e8;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #2d5016;
}

/* ── BUTTONS ────────────────────────────────────────────── */

.gma-recipe-card-footer {
    padding: 15px 20px;
    background: #f5f0e8;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.gma-btn {
    padding: 10px 20px;
    font-family: Georgia, serif;
    font-size: 0.95em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

.gma-btn-print {
    background: #2d5016;
    color: #fff;
}

.gma-btn-print:hover {
    background: #1e3a0e;
}

.gma-btn-reset {
    background: #fff;
    border: 2px solid #c4b998;
    color: #555;
}

.gma-btn-reset:hover {
    border-color: #2d5016;
    color: #2d5016;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 600px) {
    .gma-bait-step {
        padding: 15px;
    }

    .gma-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gma-batch-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .gma-recipe-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .gma-slider-row {
        flex-wrap: wrap;
    }
}

/* ── PRINT STYLES ───────────────────────────────────────── */

@media print {
    .gma-bait-header,
    .gma-step-species,
    .gma-step-type,
    .gma-step-calc,
    .gma-recipe-card-footer {
        display: none !important;
    }

    .gma-recipe-card {
        border: 1px solid #333;
        box-shadow: none;
    }
}
