/* Open enrollment reminder bar (inc/reminder.php). Uses the site's colour tokens. */

.oe-bar { position: relative; z-index: 51; background: var(--brand-deep); color: #fff; font-size: .93rem; line-height: 1.4; }
.oe-bar > summary { display: block; list-style: none; cursor: pointer; }
.oe-bar > summary::-webkit-details-marker { display: none; }
.oe-bar > summary:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 0; }
.oe-bar-inner { display: flex !important; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 16px; min-height: 46px; padding: 7px 0; text-align: center; }
.oe-bar-text strong { color: var(--accent-hi); font-weight: 700; }
.oe-short { display: none; }
.oe-bar-cta { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--accent); color: var(--brand-deep); font-weight: 700; white-space: nowrap; transition: background .2s; }
.oe-bar > summary:hover .oe-bar-cta { background: var(--accent-hi); }
.oe-when-open, .oe-bar[open] .oe-when-closed { display: none; }
.oe-bar[open] .oe-when-open { display: inline; }

.oe-bar-body { padding: 4px 0 20px; }
.oe-card { max-width: 1040px; margin-inline: auto; padding: clamp(16px, 2.4vw, 22px); border-radius: 18px; background: var(--white); color: var(--text); text-align: left; }
.oe-card .form-msg { margin: 0; }
.oe-form { display: grid; grid-template-columns: 1fr 1.4fr .8fr 1fr auto; gap: 12px; align-items: end; }
.oe-form .oe-intro, .oe-form .form-msg, .oe-form .consent { grid-column: 1 / -1; }
.oe-intro { margin: 0; color: var(--brand); font-size: .97rem; }
.oe-form .field input { min-height: 46px; }
.oe-submit { min-height: 46px; white-space: nowrap; }
.oe-form .consent { font-size: .74rem; }
.oe-stop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.oe-stop p { margin: 0; color: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
	.oe-form { grid-template-columns: 1fr 1fr; }
	.oe-submit { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 640px) {
	.oe-long { display: none; }
	.oe-short { display: inline; }
	.oe-bar { font-size: .88rem; }
	.oe-bar-inner { flex-wrap: nowrap; gap: 10px; min-height: 44px; padding: 6px 0; text-align: left; }
	.oe-bar-cta { min-height: 30px; padding: 0 12px; }
}
@media (max-width: 480px) {
	.oe-form { grid-template-columns: 1fr; }
}
@media print {
	.oe-bar { display: none !important; }
}
