/* The Oak Fam · Prisijungimas (2026-11-18, Claude; v0.1.1 = approved mockup style) — site tokens: Lato/Arial, text #4d4d4d,
   borders #e4e4e4, radius 8px fields / 6px buttons, dark primary #202020, brand green #3e5842. */
html.oak-acc-open, html.oak-acc-open body { overflow: hidden; }
.oak-acc[hidden] { display: none; }
.oak-acc { position: fixed; inset: 0; z-index: 2147483100; display: flex; align-items: center; justify-content: center;
    font-family: Lato, Helvetica, Arial, sans-serif; color: #4d4d4d; -webkit-font-smoothing: antialiased; }
.oak-acc *, .oak-acc *::before, .oak-acc *::after { box-sizing: border-box; }
.oak-acc__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .2s ease; }
.oak-acc__sheet { position: relative; width: calc(100% - 32px); max-width: 420px; max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border-radius: 16px; padding: 20px 22px 22px; box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
    opacity: 0; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.oak-acc.is-open .oak-acc__backdrop { opacity: 1; }
.oak-acc.is-open .oak-acc__sheet { opacity: 1; transform: none; }
.oak-acc__grab { display: none; }
.oak-acc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.oak-acc .oak-acc__head h2.oak-acc__title { margin: 0; padding: 0; font: 600 18px/1.3 Lato, Helvetica, Arial, sans-serif; color: #1d1d1d; letter-spacing: 0; text-transform: none; }
.oak-acc__x { flex: 0 0 auto; width: 36px; height: 36px; margin: -6px -8px 0 0; padding: 0; border: 0; border-radius: 6px; background: transparent;
    color: #6b6b6b; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; }
.oak-acc__x:hover { background: #f4f4f4; color: #202020; }
.oak-acc form { margin: 0; }
.oak-acc__label { display: block; margin: 0 0 4px; font-size: 13px; line-height: 1.3; color: #5f5f5f; font-weight: 400; }
.oak-acc__field { position: relative; margin-bottom: 12px; }
.oak-acc__input, .oak-acc input.oak-acc__input { width: 100%; height: 46px; margin: 0; padding: 0 12px; border: 1px solid #d6d6d6; border-radius: 8px; background: #fff;
    font: 400 16px/1.2 Lato, Helvetica, Arial, sans-serif; color: #202020; box-shadow: none; outline: none; -webkit-appearance: none; appearance: none; }
.oak-acc__field.has-eye .oak-acc__input { padding-right: 48px; }
.oak-acc__input:focus { border-color: #3e5842; box-shadow: 0 0 0 3px rgba(62, 88, 66, .15); }
.oak-acc__eye { position: absolute; top: 3px; right: 4px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #8a8a8a;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none; }
.oak-acc__eye.is-on { color: #3e5842; }
.oak-acc__primary { display: flex; align-items: center; justify-content: center; width: 100%; height: 46px; margin: 6px 0 0; padding: 0 18px;
    border: 1px solid #3e5842; border-radius: 8px; background: #3e5842; color: #fff; font: 500 15px/1 Lato, Helvetica, Arial, sans-serif;
    text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none; transition: background .15s ease; }
.oak-acc__primary:hover { background: #33493a; border-color: #33493a; color: #fff; }
.oak-acc__primary:disabled { opacity: .7; cursor: default; }
.oak-acc__primary.is-busy { color: transparent; position: relative; }
.oak-acc__primary.is-busy::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
    border-radius: 50%; animation: oak-acc-spin .7s linear infinite; }
@keyframes oak-acc-spin { to { transform: rotate(360deg); } }
.oak-acc__socials { display: flex; flex-direction: column; gap: 8px; }
.oak-acc__google { min-height: 42px; display: flex; justify-content: center; }
.oak-acc__social { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 42px; margin: 0; padding: 0 16px; border-radius: 8px;
    font: 400 15px/1 Lato, Helvetica, Arial, sans-serif; cursor: pointer; text-transform: none; box-shadow: none; }
.oak-acc__social--fb { border: 1px solid #1877f2; background: #1877f2; color: #fff; }
.oak-acc__social--fb:hover { background: #166fe0; color: #fff; }
.oak-acc__or { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: #8a8a8a; font-size: 13px; }
.oak-acc__or::before, .oak-acc__or::after { content: ""; flex: 1; height: 1px; background: #e6e6e6; }
.oak-acc__note { margin: 12px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: #5f5f5f; }
.oak-acc__text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: #4d4d4d; }
.oak-acc__hint { margin: -8px 0 14px; font-size: 13px; color: #8a8a8a; }
.oak-acc__who { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -2px 0 14px; padding: 0;
    background: none; border-radius: 0; font-size: 13px; color: #5f5f5f; }
.oak-acc__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oak-acc__link { padding: 0; margin: 0; border: 0; background: none; color: #3e5842; font: inherit; font-size: 13px; text-decoration: underline;
    text-underline-offset: 2px; cursor: pointer; box-shadow: none; height: auto; line-height: 1.3; text-transform: none; }
.oak-acc__link:hover { color: #2c402f; background: none; }
.oak-acc__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: -2px 0 14px; }
.oak-acc__check { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 1.4; color: #4d4d4d; cursor: pointer; font-weight: 400; }
.oak-acc__check--top { align-items: flex-start; margin-bottom: 14px; }
.oak-acc__check input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: #3e5842; }
.oak-acc__check--top input { margin-top: 1px; }
.oak-acc__check a { color: #3e5842; text-decoration: underline; }
.oak-acc__error { margin: -4px 0 12px; padding: 10px 12px; border-radius: 8px; background: #fbeeee; color: #a02c2c; font-size: 14px; line-height: 1.4; }
.oak-acc__error[hidden] { display: none; }
.oak-acc__ts:empty { display: none; }
.oak-acc__ts { margin: 0 0 12px; }
.oak-acc__ok { display: flex; justify-content: center; padding: 8px 0 4px; color: #3e5842; }
@media (max-width: 600px) {
    .oak-acc { align-items: flex-end; }
    .oak-acc__sheet { width: 100%; max-width: none; max-height: 92dvh; border-radius: 18px 18px 0 0;
        padding: 10px 18px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(100%); transition: transform .24s ease, opacity .1s ease; opacity: 1; }
    .oak-acc__grab { display: block; width: 36px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: #d9d9d9; }
    .oak-acc__head { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .oak-acc__backdrop, .oak-acc__sheet { transition: none; }
}
/* Inline variant (My account page) */
.oak-acc.oak-acc--inline { position: static; inset: auto; z-index: auto; display: block; }
.oak-acc--inline .oak-acc__sheet { position: static; width: 100%; max-width: 420px; max-height: none; margin: 8px auto 32px; overflow: visible;
    opacity: 1; transform: none; box-shadow: none; border: 1px solid #e4e4e4; border-radius: 16px; padding: 22px 20px 22px; }
.oak-acc-page { padding: 0 0 8px; }
