/**
 * Ideas pages: index, suggest, SEO subpages.
 * Scoped with .page-ideas; responsive button grid and idea cards.
 */

.page-ideas .section-title {
    color: var(--primary-color, #ff6b6b);
    margin-bottom: 0.75rem;
}
.page-ideas .cta-section {
    margin-bottom: 1.5rem;
}
.page-ideas .content-card .card {
    border-radius: var(--border-radius, 15px);
    box-shadow: var(--box-shadow, 0 5px 15px rgba(0, 0, 0, 0.1));
    overflow: hidden;
}
.page-ideas .content-card .card-img-top,
.ideas-card-img {
    object-fit: contain;
}
.ideas-card-media {
    height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.ideas-card-media .ideas-card-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.ideas-idea-card .card-title {
    color: var(--primary-color, #ff6b6b);
    font-weight: 600;
}
.success-ideas-section .ideas-card-media {
    height: 150px;
}

.ideas-reminders-manage .section-title {
    margin-bottom: 0.75rem;
}
.ideas-reminders-table .form-check-input {
    width: 1.15rem;
    height: 1.15rem;
    cursor: pointer;
}
@media (max-width: 576px) {
    .ideas-reminders-table th:nth-child(4),
    .ideas-reminders-table td:nth-child(4) {
        display: none;
    }
}
.page-ideas #ideas-suggest-form .form-control,
.page-ideas #ideas-suggest-form .form-select {
    max-width: 100%;
}

/* Button grid: single column on small screens, touch-friendly */
@media (max-width: 576px) {
    .page-ideas .row.g-2 .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .page-ideas .btn-sm.w-100,
    .page-ideas .cta-section .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    .page-ideas .d-flex.flex-wrap.gap-2 .btn {
        min-height: 44px;
        flex: 1 1 100%;
    }
}
@media (max-width: 768px) {
    .page-ideas .cta-section .d-flex.flex-wrap {
        flex-direction: column;
    }
    .page-ideas .cta-section .d-flex.flex-wrap .btn {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Idea cards: consistent with app cards */
.page-ideas .content-card .card-body .card-title {
    color: var(--primary-color, #ff6b6b);
    font-weight: 600;
}
.page-ideas .content-card .card-body .btn-primary {
    background: var(--primary-color, #ff6b6b);
    border-color: var(--primary-color, #ff6b6b);
}
