/* Shared styles for Portal / Hub Card Pages (get-started, reports, settings, download) */

.intro-section {
    max-width: 850px;
    text-align: center;
    margin: 20px auto 40px auto;
}

.intro-section h1 {
    margin-bottom: 15px;
    color: #0f172a;
    font-weight: 800;
}

.intro-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.card-container,
.reports-grid,
.settings-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.settings-grid { max-width: 1200px; gap: 20px; }
.reports-grid { gap: 20px; }

.intro-card,
.report-card,
.setting-card,
.download-card {
    background: white;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.intro-card { width: 280px; padding: 45px 20px; }
.report-card { width: 280px; padding: 25px; }
.setting-card { width: 260px; padding: 25px; }
.download-card { width: 380px; padding: 40px 30px; }

.intro-card:not(.disabled):hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    background-color: #f1f5f9;
}

.report-card:hover,
.setting-card:not(.disabled):hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.08);
}

.intro-card.disabled,
.setting-card.disabled {
    background: #f1f5f9;
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(1);
    border-style: dashed;
}

.icon-wrapper {
    width: 44px;
    height: 44px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.intro-card img,
.download-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    filter: invert(15%) sepia(87%) saturate(4536%) hue-rotate(226deg) brightness(88%) contrast(109%);
    image-rendering: pixelated;
}

.intro-card h3 { font-size: 1.3rem; margin: 0; color: var(--primary-blue); font-weight: 700; }
.report-card h3, .setting-card h3 { margin: 0 0 10px 0; font-size: 1.15rem; }
.report-card p, .setting-card p { font-size: 0.9rem; color: var(--text-sub); line-height: 1.4; }
.row-break { flex-basis: 100%; height: 10px; }
