/* Green Healthcare portal buttons — scoped with .ghc- prefix so they never clash with your theme */
.ghc-portal { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.ghc-card { background: #fff; border: 1px solid #e3e8ef; border-radius: 18px; padding: 26px; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 10px 28px rgba(15,27,45,.07); display: flex; flex-direction: column; gap: 10px; text-align: left; }
.ghc-card--patient { background: linear-gradient(160deg, #1b3a6b 0%, #163160 60%, #0f5e45 130%); border-color: transparent; color: #eaf2ff; }
.ghc-card__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e3f5ec; color: #0f7a4c; }
.ghc-card--patient .ghc-card__icon { background: rgba(255,255,255,.14); color: #5fe0a3; }
.ghc-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ghc-card__title { margin: 4px 0 0 !important; font-size: 1.35rem !important; line-height: 1.2 !important; color: #1b3a6b !important; }
.ghc-card--patient .ghc-card__title { color: #fff !important; }
.ghc-card__text { margin: 0 !important; font-size: .98rem; line-height: 1.5; color: #61708a; }
.ghc-card--patient .ghc-card__text { color: #cfe0ff; }
.ghc-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ghc-btn { display: inline-flex; align-items: center; justify-content: center; padding: .72em 1.3em; border-radius: 11px; font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none !important; transition: transform .05s, background .15s, box-shadow .15s; border: 1.5px solid transparent; }
.ghc-btn:active { transform: translateY(1px); }
.ghc-btn--primary { background: #17945e; color: #fff !important; box-shadow: 0 8px 18px rgba(23,148,94,.28); }
.ghc-btn--primary:hover { background: #0f7a4c; }
.ghc-card--patient .ghc-btn--primary { background: #2ecc85; color: #06281a !important; }
.ghc-btn--ghost { background: transparent; color: #1b3a6b !important; border-color: #cdd7e6; }
.ghc-btn--ghost:hover { border-color: #1b3a6b; }
.ghc-card--patient .ghc-btn--ghost { color: #fff !important; border-color: rgba(255,255,255,.35); }
.ghc-btn:focus-visible { outline: 3px solid rgba(23,148,94,.45); outline-offset: 2px; }
.ghc-secure { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: .45em; margin: 0 !important; color: #61708a; font-size: .85rem; }
.ghc-secure .ghc-i { width: 15px; height: 15px; }
.ghc-intake-banner { background: #f3f6fa; border: 1px solid #e3e8ef; border-radius: 20px; padding: 18px 20px 4px; margin: 0 0 28px; }
.ghc-intake-banner > p { margin: 0 0 4px !important; font-weight: 600; color: #1b3a6b; text-align: center; }
@media (max-width: 640px) { .ghc-portal { grid-template-columns: 1fr; } }
/* Placement on custom theme pages */
.ghc-auto { max-width: 1180px; margin: 28px auto; padding: 0 20px; box-sizing: border-box; font-family: inherit; }
.ghc-auto *, .ghc-portal * { box-sizing: border-box; }
.ghc-float { position: fixed; right: 16px; bottom: 16px; z-index: 9990; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ghc-float .ghc-btn { padding: .6em 1em; font-size: .9rem; box-shadow: 0 8px 24px rgba(15,27,45,.25); }
.ghc-float .ghc-btn--ghost { background: #fff; }
.ghc-float .ghc-i { width: 16px; height: 16px; margin-right: 4px; }
@media (max-width: 640px) { .ghc-float .ghc-btn--ghost { display: none; } }

/* Intake forms block */
.ghc-intake { margin: 24px 0; }
.ghc-intake__title { margin: 0 0 6px !important; color: #1b3a6b !important; font-size: 1.5rem !important; }
.ghc-intake__text { margin: 0 0 16px !important; color: #61708a; max-width: 46em; }
.ghc-intake__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.ghc-intake__card { background: #fff; border: 1px solid #e3e8ef; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 8px 22px rgba(15,27,45,.06); }
.ghc-intake__card h4 { margin: 4px 0 0 !important; color: #1b3a6b !important; font-size: 1.15rem !important; }
.ghc-intake__card p { margin: 0 !important; color: #61708a; font-size: .95rem; line-height: 1.45; flex: 1; }
.ghc-intake__card .ghc-btn { padding: .6em 1em; font-size: .92rem; }
