/* ========================================
   YABAAA – COLORING CARDS
   Download section styles for breed pages.
   Append to styles_fast.css or link separately
   after styles_fast.css.
   ======================================== */

/* ========================================
   21. COLORING PAGE DOWNLOAD CARDS
   ======================================== */

/* ── Meta badges row ── */
.coloring-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.1rem;
    margin-bottom: 1.4rem;
}

.coloring-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}

/* Format: PDF */
.coloring-badge--pdf {
    background: #EEF2FF;
    color: #3730A3;
    border: 1px solid #C7D2FE;
}

/* Size: A4 */
.coloring-badge--a4 {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #D1D5DB;
}

/* Orientation: landscape / portrait */
.coloring-badge--landscape {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.coloring-badge--portrait {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* Difficulty */
.coloring-badge--easy {
    background: #F0FDF4;
    color: #166534;
    border: 1px solid #86EFAC;
}

.coloring-badge--medium {
    background: #FFF7ED;
    color: #9A3412;
    border: 1px solid #FED7AA;
}

.coloring-badge--hard {
    background: #FFF1F2;
    color: #9F1239;
    border: 1px solid #FECDD3;
}

/* ── Download CTA button ── */
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    width: 100%;
    max-width: 380px;
    background: #1A3A52;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid #1A3A52;
    border-radius: 8px;
    margin-top: 1.25rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(26, 58, 82, 0.22);
    transition: background 0.22s ease,
                border-color 0.22s ease,
                transform 0.22s ease,
                box-shadow 0.22s ease;
}

.btn-download:hover {
    background: #2C5F8D;
    border-color: #2C5F8D;
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(44, 95, 141, 0.32);
}

.btn-download:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 95, 141, 0.45),
                0 4px 14px rgba(26, 58, 82, 0.22);
}

.btn-download:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(26, 58, 82, 0.25);
}

.btn-download svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

/* ── Section number pill (optional decorative counter) ── */
.coloring-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #1A3A52;
    color: #FFFFFF;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

/* ── Print hint below download button ── */
.coloring-print-hint {
    font-size: 0.88rem;
    color: #6B7280;
    margin-top: 0.6rem;
    margin-bottom: 0;
    font-style: italic;
    text-align: left;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .btn-download {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .coloring-meta {
        gap: 0.35rem;
        margin-bottom: 1rem;
    }

    .coloring-badge {
        font-size: 0.72rem;
        padding: 0.25rem 0.6rem;
    }

    .btn-download {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn-download {
        font-size: 0.95rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .btn-download {
        transition: none;
    }

    .btn-download:hover {
        transform: none;
    }
}

/* ========================================
   END COLORING CARDS
   ======================================== */
