/* ============================================
   Info Card Widget — style.css
   ============================================ */

.icw-card {
    background-color: #eef7f4;
    border-radius: 16px;
    padding: 32px;
    box-sizing: border-box;
    width: 100%;
}

.icw-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

/* ── LEFT PANEL ─────────────────────────── */
.icw-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
    width: 50%;
    padding-right: 40px;
    box-sizing: border-box;
}

.icw-icon-circle {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    background-color: #2d8c4e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icw-icon-circle i {
    font-size: 32px;
    color: #ffffff;
    line-height: 1;
}

.icw-icon-circle svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
}

.icw-left-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.icw-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2e3b;
    margin: 0;
    line-height: 1.25;
}

.icw-desc {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.55;
}

.icw-btn {
    display: inline-block;
    background-color: #2d8c4e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-align: center;
    align-self: flex-start;
    cursor: pointer;
    white-space: nowrap;
}

.icw-btn:hover {
    background-color: #1a6b35;
    transform: translateY(-1px);
    color: #ffffff;
    text-decoration: none;
}

/* ── DIVIDER ────────────────────────────── */
.icw-divider {
    width: 1px;
    align-self: stretch;
    background-color: #d0e8df;
    margin: 0;
    flex-shrink: 0;
}

/* ── RIGHT PANEL ────────────────────────── */
.icw-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    box-sizing: border-box;
}

.icw-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 12px;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.icw-row + .icw-row {
    border-top: 1px solid #d0e8df;
    border-radius: 0;
}

.icw-row:first-child {
    border-radius: 8px 8px 0 0;
}

.icw-row:last-child {
    border-radius: 0 0 8px 8px;
}

.icw-row:only-child {
    border-radius: 8px;
}

.icw-row:hover {
    background-color: #ddf0e7;
    text-decoration: none;
}

.icw-row-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.icw-row-icon i {
    font-size: 24px;
    color: #2d8c4e;
    line-height: 1;
}

.icw-row-icon svg {
    width: 24px;
    height: 24px;
    fill: #2d8c4e;
}

.icw-row-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.icw-row-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a2e3b;
    line-height: 1.3;
}

.icw-row-subtitle {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.3;
}

.icw-row-arrow {
    font-size: 1.4rem;
    color: #2d8c4e;
    line-height: 1;
    flex-shrink: 0;
    margin-left: auto;
    font-weight: 300;
}

/* ══════════════════════════════════════════
   MOBILE — Stack vertically
   ══════════════════════════════════════════ */
@media (max-width: 767px) {

    .icw-card {
        padding: 24px 20px;
    }

    .icw-inner {
        flex-direction: column;
        gap: 24px;
    }

    .icw-left {
        width: 100%;
        padding-right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .icw-icon-circle {
        width: 64px;
        height: 64px;
        min-width: 64px;
    }

    .icw-icon-circle i {
        font-size: 24px;
    }

    .icw-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .icw-heading {
        font-size: 1.2rem;
    }

    .icw-btn {
        width: 100%;
        text-align: center;
        align-self: stretch;
        box-sizing: border-box;
    }

    .icw-divider {
        display: none;
    }

    .icw-right {
        width: 100%;
        padding-left: 0;
    }

    .icw-row {
        padding: 12px 8px;
    }
}

/* ── Tablet ──────────────────────────────── */
@media (max-width: 1024px) and (min-width: 768px) {
    .icw-left {
        width: 45%;
        padding-right: 28px;
    }

    .icw-right {
        padding-left: 28px;
    }

    .icw-icon-circle {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
}
