/* KCAU LMS Login choice card with a sliding pill switch.
   Author: Kiriago · https://github.com/kirycode/ · kiryc0de@gmail.com */
.kcau-ll {
	--ll-navy: #192C57;
	--ll-gold: #CBAE2D;
	--kcau-ll-i: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
	padding: 28px 24px 22px;
	background: #fff;
	border: 1px solid #DCE2EC;
	border-top: 4px solid var(--ll-gold);
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(25, 44, 87, .14);
	text-align: center;
}
.kcau-ll *, .kcau-ll *::before, .kcau-ll *::after { box-sizing: border-box; }
/* pill switch */
.kcau-ll__switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 22px; padding: 4px; border-radius: 30px; background: #EEF1F6; }
.kcau-ll__switch[hidden] { display: none; }
.kcau-ll__thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 26px; background: var(--ll-navy); box-shadow: 0 4px 12px rgba(25, 44, 87, .25); transform: translateX(calc(var(--kcau-ll-i) * 100%)); transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.kcau-ll .kcau-ll__tab { position: relative; z-index: 1; min-height: 46px; margin: 0; padding: 0 12px; border: 0; border-radius: 26px; background: transparent; color: var(--ll-navy); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: color .35s; } /* .kcau-ll prefix: Elementor's kit styles every <button> */
.kcau-ll .kcau-ll__tab[aria-selected="true"] { color: #fff; }
.kcau-ll .kcau-ll__tab:hover, .kcau-ll .kcau-ll__tab:focus { background: transparent; color: var(--ll-navy); }
.kcau-ll .kcau-ll__tab[aria-selected="true"]:hover, .kcau-ll .kcau-ll__tab[aria-selected="true"]:focus { color: #fff; }
.kcau-ll .kcau-ll__tab:focus-visible { outline: 3px solid var(--ll-gold); outline-offset: 2px; }
/* sliding panels (only when JS runs; otherwise both panels stack) */
.kcau-ll__viewport { overflow: hidden; }
.kcau-ll.is-js .kcau-ll__track { display: flex; transform: translateX(calc(var(--kcau-ll-i) * -100%)); transition: transform .45s cubic-bezier(.4, 0, .2, 1); }
.kcau-ll.is-js .kcau-ll__panel { flex: 0 0 100%; }
.kcau-ll:not(.is-js) .kcau-ll__panel + .kcau-ll__panel { margin-top: 24px; padding-top: 24px; border-top: 1px solid #E4E9F1; }
.kcau-ll__panel { padding: 4px 6px 2px; }
.kcau-ll__icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin: 0 0 12px; padding: 18px; border-radius: 50%; background: #F6F0D5; }
.kcau-ll__icon svg { width: 100%; height: 100%; fill: var(--ll-navy); }
.kcau-ll .kcau-ll__name { margin: 0 0 6px; color: var(--ll-navy); font-size: 24px !important; line-height: 1.2; } /* theme: 18px !important on headings */
.kcau-ll p.kcau-ll__desc { margin: 0 0 8px; color: #3F4A5E; font-size: 16px !important; line-height: 1.55; }
.kcau-ll p.kcau-ll__who { margin: 0 0 18px; color: #3F4A5E; font-size: 14px !important; }
.kcau-ll__who span { font-weight: 700; color: var(--ll-navy); }
.kcau-ll .kcau-ll__go { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin: 0; padding: 0 22px; border: 0; border-radius: 12px; background: var(--ll-gold); color: var(--ll-navy) !important; font: inherit; font-size: 17px; font-weight: 700; text-decoration: none !important; cursor: pointer; } /* !important: theme link colours */
.kcau-ll .kcau-ll__go svg { width: 16px; height: 16px; fill: currentColor; }
.kcau-ll a.kcau-ll__go:hover, .kcau-ll a.kcau-ll__go:focus-visible { background: #B89B22; }
.kcau-ll a.kcau-ll__go:focus-visible { outline: 3px solid var(--ll-navy); outline-offset: 3px; }
.kcau-ll .kcau-ll__go[disabled] { background: #E4E9F1; color: #4A5568 !important; cursor: not-allowed; }
.kcau-ll p.kcau-ll__badge { display: inline-block; margin: 0 0 10px; padding: 2px 12px; border-radius: 20px; background: #F6F0D5; color: #5C4E12; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.kcau-ll p.kcau-ll__soon { margin: 10px 0 0; color: #4A5568; font-size: 14px !important; }
.kcau-ll p.kcau-ll__note { margin: 20px auto 6px; max-width: 34em; color: #3F4A5E; font-size: 14px !important; line-height: 1.5; }
.kcau-ll__note svg { display: inline-block; width: 12px; height: 12px; margin: 0 6px -1px 0; fill: var(--ll-navy); }
.kcau-ll p.kcau-ll__help { margin: 0; font-size: 15px !important; }
.kcau-ll__help a { color: var(--ll-navy) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 480px) { .kcau-ll { padding: 22px 16px 18px; border-radius: 14px; } .kcau-ll .kcau-ll__tab { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .kcau-ll__thumb, .kcau-ll.is-js .kcau-ll__track, .kcau-ll .kcau-ll__tab { transition: none; } }
