/* ClickMare · My Account page (sign in, create account, reset password). Scoped to .cm-acc. */
/* Neutralise theme button styles (Hello Elementor / Elementor kit) inside the page. */
#cm-acc :where(button, [type=button], [type=submit]) { border: 0; border-radius: 0; background: none; padding: 0; margin: 0; color: inherit; font: inherit; text-transform: none; letter-spacing: normal; line-height: normal; box-shadow: none; white-space: normal; text-decoration: none; min-height: 0; }
#cm-acc :where(button, [type=button], [type=submit]):where(:hover, :focus, :active) { background: none; color: inherit; border-color: transparent; text-decoration: none; }
#cm-acc :where(input) { box-shadow: none; }
#cm-acc.cm-acc{ --b: #0059B5; --bd: #00468F; --navy: #04234D; --red: #E41010; --ink: #0F2340; --tx: #33475E; --mu: #6B7C93; --ln: #DCE4EF; --ln2: #E9EEF5; --paper: #F5F9FE; --ok: #12804A; --ease: cubic-bezier(.2, .8, .2, 1);
	background: linear-gradient(180deg, #EAF2FC 0%, var(--paper) 55%); padding: clamp(28px, 5vw, 64px) 16px clamp(40px, 6vw, 80px); font: 400 15px/1.55 "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif; color: var(--tx); }
#cm-acc.cm-acc *, #cm-acc.cm-acc *::before, #cm-acc.cm-acc *::after{ box-sizing: border-box; }
#cm-acc.cm-acc [hidden]{ display: none !important; }
#cm-acc .cm-acc__wrap{ max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px -40px rgba(4, 35, 77, .45), 0 0 0 1px rgba(4, 35, 77, .05); animation: cmacc-rise .5s var(--ease) both; }

/* Brand side */
#cm-acc .cm-acc__side{ position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 52px); color: #C9D8EC; background: radial-gradient(120% 90% at 100% 0%, #0D4A93 0%, transparent 60%), var(--navy); display: flex; flex-direction: column; gap: 20px; }
#cm-acc .cm-acc__mark{ position: absolute; z-index: -1; width: 300px; height: auto; right: -80px; bottom: -70px; opacity: .08; filter: brightness(0) invert(1); }
#cm-acc .cm-acc__eyebrow{ margin: 0; font: 600 .78rem "IBM Plex Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #8FB4E6; }
#cm-acc .cm-acc__side h2{ margin: 0; font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.2 "Sora", sans-serif; color: #fff; letter-spacing: -.02em; }
#cm-acc .cm-acc__perks{ list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
#cm-acc .cm-acc__perks li{ display: flex; gap: 14px; align-items: flex-start; animation: cmacc-rise .5s var(--ease) both; }
#cm-acc .cm-acc__perks li:nth-child(2){ animation-delay: .06s; } .cm-acc__perks li:nth-child(3) { animation-delay: .12s; } .cm-acc__perks li:nth-child(4) { animation-delay: .18s; }
#cm-acc .cm-acc__perks .cm-ico{ flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; }
#cm-acc .cm-acc__perks strong{ display: block; color: #fff; font-weight: 600; }
#cm-acc .cm-acc__perks span{ font-size: .9rem; }
#cm-acc .cm-acc__staff{ margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; gap: 10px; font-size: .84rem; color: #A9C1E2; }
#cm-acc .cm-acc__staff .cm-ico{ flex: none; width: 18px; height: 18px; margin-top: 2px; }

/* Form side */
#cm-acc .cm-acc__main{ padding: clamp(24px, 4vw, 52px) clamp(20px, 5vw, 64px); min-width: 0; }
#cm-acc .cm-acc__tabs{ display: flex; gap: 4px; padding: 4px; margin-bottom: 26px; border-radius: 14px; background: var(--paper); }
#cm-acc .cm-acc__tabs button{ flex: 1; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--mu); font: 600 .95rem "IBM Plex Sans", sans-serif; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
#cm-acc .cm-acc__tabs button.is-on{ background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(4, 35, 77, .08), 0 4px 12px -6px rgba(4, 35, 77, .2); }
#cm-acc.cm-acc[data-view="forgot"] .cm-acc__tabs, #cm-acc.cm-acc[data-view="reset"] .cm-acc__tabs{ display: none; }
#cm-acc .cm-acc__pane{ animation: cmacc-fade .3s ease both; }
#cm-acc .cm-acc__pane h1{ margin: 0 0 6px; font: 700 clamp(1.45rem, 2.4vw, 1.85rem)/1.2 "Sora", sans-serif; color: var(--ink); letter-spacing: -.02em; }
#cm-acc .cm-acc__lead{ margin: 0 0 22px; color: var(--mu); }
#cm-acc .cm-acc__seg{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
#cm-acc .cm-acc__seg button{ display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid var(--ln); border-radius: 12px; background: #fff; color: var(--tx); font: 600 .9rem "IBM Plex Sans", sans-serif; cursor: pointer; transition: border-color .15s, color .15s, background-color .15s; }
#cm-acc .cm-acc__seg button .cm-ico{ width: 18px; height: 18px; }
#cm-acc .cm-acc__seg button.is-on{ border-color: var(--b); color: var(--b); background: #F2F7FE; box-shadow: inset 0 0 0 1px var(--b); }
#cm-acc.cm-acc form{ display: flex; flex-direction: column; gap: 16px; }
#cm-acc.cm-acc form > div{ display: flex; flex-direction: column; gap: 16px; }
#cm-acc .cm-acc__grid{ display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 16px !important; }
#cm-acc .cm-acc__field{ display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#cm-acc .cm-acc__field--wide{ grid-column: 1 / -1; }
#cm-acc .cm-acc__field > span:first-child{ font-size: .85rem; font-weight: 600; color: var(--ink); }
#cm-acc .cm-acc__field small{ font-size: .78rem; color: var(--mu); }
#cm-acc.cm-acc input:not([type=checkbox]):not([type=radio]), #cm-acc.cm-acc select{ width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--ln); border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem "IBM Plex Sans", "IBM Plex Sans Arabic", sans-serif; outline: 0; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
#cm-acc.cm-acc select{ padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7C93' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
#cm-acc.cm-acc input:focus, #cm-acc.cm-acc select:focus{ border-color: var(--b); box-shadow: 0 0 0 4px rgba(0, 89, 181, .14); }
#cm-acc.cm-acc .is-invalid input:not([type=checkbox]):not([type=radio]), #cm-acc.cm-acc .is-invalid select{ border-color: var(--red); }
#cm-acc.cm-acc .is-invalid input[type=checkbox]{ outline: 2px solid var(--red); outline-offset: 1px; }
#cm-acc .cm-acc__err{ font-size: .8rem; color: #B70D0D; }
/* National ID */
#cm-acc .cm-acc__id{ display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--ln); border-radius: 14px; background: var(--paper); }
#cm-acc .cm-acc__id.is-invalid{ border-color: var(--red); }
#cm-acc .cm-acc__idhead{ display: flex; gap: 12px; align-items: flex-start; }
#cm-acc .cm-acc__idhead strong{ display: block; color: var(--ink); font-size: .95rem; }
#cm-acc .cm-acc__idhead small{ display: block; color: var(--mu); font-size: .8rem; margin-top: 2px; }
#cm-acc .cm-acc__idic{ flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #fff; color: var(--b); box-shadow: 0 0 0 1px var(--ln2); }
#cm-acc .cm-acc__idic .cm-ico{ width: 20px; height: 20px; }
#cm-acc .cm-acc__shots{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#cm-acc .cm-acc__shot{ position: relative; display: grid; place-items: center; aspect-ratio: 1.586; border: 1.5px dashed #B9C8DB; border-radius: 12px; background: #fff; cursor: pointer; overflow: hidden; transition: border-color .15s, background-color .15s; }
#cm-acc .cm-acc__shot:hover, #cm-acc .cm-acc__shot:focus-within{ border-color: var(--b); background: #F7FAFE; }
#cm-acc .cm-acc__shot input{ position: absolute; inset: 0; opacity: 0; cursor: pointer; }
#cm-acc .cm-acc__shotimg{ position: absolute; inset: 0; background: center / cover no-repeat; }
#cm-acc .cm-acc__shottxt{ position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--b); pointer-events: none; }
#cm-acc .cm-acc__shottxt .cm-ico{ width: 24px; height: 24px; }
#cm-acc .cm-acc__shot.has-img{ border-style: solid; border-color: var(--ok); }
#cm-acc .cm-acc__shot.has-img .cm-acc__shottxt{ align-self: end; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(4, 35, 77, .72); color: #fff; flex-direction: row; font-size: .74rem; }
#cm-acc .cm-acc__shot.has-img .cm-acc__shottxt .cm-ico{ width: 14px; height: 14px; }
#cm-acc .cm-acc__shot.is-busy::after{ content: ""; position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; border-radius: 50%; border: 3px solid rgba(0, 89, 181, .2); border-top-color: var(--b); animation: cmacc-spin .7s linear infinite; }
#cm-acc .cm-acc__idmsg{ margin: 0; font-size: .82rem; color: var(--tx); }
#cm-acc .cm-acc__idmsg.is-ok{ color: var(--ok); }
#cm-acc .cm-acc__idmsg.is-bad{ color: #B70D0D; }
#cm-acc [data-nidinfo].is-ok{ color: var(--ok); font-weight: 600; }
#cm-acc [data-nidinfo].is-bad{ color: #B70D0D; }
#cm-acc input[name=nid]{ letter-spacing: .08em; font-variant-numeric: tabular-nums; }
#cm-acc .cm-acc__check > span:not(.cm-acc__err){ flex: 1; min-width: 0; }
#cm-acc .cm-acc__check .cm-acc__err{ flex-basis: 100%; padding-left: 28px; }
#cm-acc .cm-acc__pw{ position: relative; display: block; }
#cm-acc .cm-acc__pw input{ padding-right: 50px !important; }
#cm-acc .cm-acc__pw button{ position: absolute; right: 6px; top: 6px; width: 38px; height: 38px; border: 0; border-radius: 9px; background: none; color: var(--mu); cursor: pointer; display: grid; place-items: center; }
#cm-acc .cm-acc__pw button:hover{ background: var(--paper); color: var(--ink); }
#cm-acc .cm-acc__pw button .cm-ico{ width: 20px; height: 20px; }
#cm-acc .cm-acc__otp{ font: 600 1.6rem "Sora", sans-serif !important; letter-spacing: .45em; text-align: center; height: 60px !important; }
#cm-acc .cm-acc__btn{ position: relative; height: 52px; border: 0; border-radius: 12px; background: var(--b); color: #fff; font: 600 1rem "IBM Plex Sans", sans-serif; cursor: pointer; transition: background-color .15s, transform .1s, box-shadow .2s; box-shadow: 0 10px 22px -12px rgba(0, 89, 181, .7); }
#cm-acc .cm-acc__btn:hover{ background: var(--bd); }
#cm-acc .cm-acc__btn:active{ transform: scale(.99); }
#cm-acc .cm-acc__btn.is-busy{ color: transparent; pointer-events: none; }
#cm-acc .cm-acc__btn.is-busy::after{ content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: cmacc-spin .7s linear infinite; }
#cm-acc .cm-acc__row{ display: flex !important; flex-direction: row !important; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
#cm-acc .cm-acc__check{ display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; font-size: .9rem; color: var(--tx); cursor: pointer; }
#cm-acc .cm-acc__check input{ width: 18px; height: 18px; margin-top: 2px; accent-color: var(--b); flex: none; }
#cm-acc .cm-acc__consent{ font-size: .85rem; }
#cm-acc .cm-acc__consent a, #cm-acc .cm-acc__help a{ color: var(--b); font-weight: 600; text-decoration: none; }
#cm-acc .cm-acc__link{ border: 0; background: none; padding: 0; color: var(--b); font: 600 .9rem "IBM Plex Sans", sans-serif; cursor: pointer; }
#cm-acc .cm-acc__link:hover{ text-decoration: underline; }
#cm-acc .cm-acc__back{ margin-bottom: 18px; }
#cm-acc .cm-acc__alt{ margin: 22px 0 0; text-align: center; color: var(--mu); font-size: .92rem; }
#cm-acc .cm-acc__note{ margin: 0; padding: 12px 14px; border-radius: 12px; background: #EEF4FC; color: var(--navy); font-size: .9rem; }
#cm-acc .cm-acc__note strong{ font-family: "Sora", sans-serif; letter-spacing: .1em; }
#cm-acc .cm-acc__msg{ margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: .9rem; animation: cmacc-fade .2s ease both; }
#cm-acc .cm-acc__msg.is-error{ background: #FDEDED; color: #8E0B0B; }
#cm-acc .cm-acc__msg.is-ok{ background: #E7F5EE; color: #0E5F37; }
#cm-acc .cm-acc__help{ margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--ln2); text-align: center; color: var(--mu); font-size: .88rem; }
#cm-acc .cm-acc__help a{ display: inline-flex; align-items: center; gap: 6px; }
#cm-acc .cm-acc__help .cm-ico{ width: 16px; height: 16px; }
#cm-acc .cm-acc__admin{ margin: 10px 0 0; text-align: center; font-size: .8rem; }
#cm-acc .cm-acc__admin a{ color: var(--mu); text-decoration: underline; text-underline-offset: 3px; }
#cm-acc .cm-acc__admin a:hover{ color: var(--b); }
#cm-acc .cm-acc__msglink{ color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Plan picker */
#cm-acc .cm-acc__plans{ border: 0; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
#cm-acc .cm-acc__plans legend{ margin-bottom: 10px; padding: 0; font-size: .85rem; font-weight: 600; color: var(--ink); }
#cm-acc .cm-acc__plan{ position: relative; cursor: pointer; }
#cm-acc .cm-acc__plan input{ position: absolute; opacity: 0; pointer-events: none; }
#cm-acc .cm-acc__plan > span{ display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--ln); border-radius: 12px; transition: border-color .15s, background-color .15s, box-shadow .15s; }
#cm-acc .cm-acc__plan strong{ color: var(--ink); font-size: .95rem; }
#cm-acc .cm-acc__plan small{ color: var(--mu); font-size: .78rem; }
#cm-acc .cm-acc__plan input:checked + span{ border-color: var(--b); background: #F2F7FE; box-shadow: inset 0 0 0 1px var(--b); }
#cm-acc .cm-acc__plan input:focus-visible + span{ box-shadow: 0 0 0 4px rgba(0, 89, 181, .2); }

@keyframes cmacc-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes cmacc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes cmacc-spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
	#cm-acc .cm-acc__wrap{ grid-template-columns: 1fr; }
	#cm-acc .cm-acc__side{ padding: 26px 22px; gap: 14px; }
	#cm-acc .cm-acc__side h2{ font-size: 1.35rem; }
	#cm-acc .cm-acc__perks{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	#cm-acc .cm-acc__perks span span, #cm-acc .cm-acc__perks li > span{ font-size: .82rem; }
	#cm-acc .cm-acc__staff{ display: none; }
	#cm-acc .cm-acc__mark{ width: 200px; right: -50px; bottom: -50px; }
}
@media (max-width: 560px) {
	#cm-acc.cm-acc{ padding: 16px 12px 40px; }
	#cm-acc .cm-acc__wrap{ border-radius: 18px; }
	#cm-acc .cm-acc__perks{ grid-template-columns: 1fr; }
	#cm-acc .cm-acc__perks li > span{ display: flex; flex-direction: column; }
	#cm-acc .cm-acc__perks li:nth-child(n+3){ display: none; }
	#cm-acc .cm-acc__grid{ grid-template-columns: 1fr; }
	#cm-acc .cm-acc__seg button{ font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
	#cm-acc.cm-acc *, #cm-acc .cm-acc__wrap{ animation: none !important; transition: none !important; }
}
