/* 8rees portal theme — same look as the 8rees.life account pages. Colours, fonts and shapes only; no screen, field, text or flow is changed. */
:root{--t-ink:#3c1c30;--t-plum:#432137;--t-line:#e8dfd3;--t-pink:#fbefe2;--t-card:rgba(255,255,255,.82);--t-head:#432137;--t-btn:#432137;--t-btn-hover:#5b3050;--t-input:rgba(255,255,255,.9)}
html,body{font-family:'DM Sans',Arial,sans-serif!important;color:var(--t-ink)}
body{background:linear-gradient(135deg,#fff3e3 0%,#ffe6d4 38%,#f6e4ee 72%,#ece5f6 100%) fixed!important}
h1,h2,h3,h4,.card-title{font-family:'Playfair Display',Georgia,serif!important;color:var(--t-head)!important;font-weight:600}
/* page frame */
header,.bg-white,.dark\:bg-slate-800{background-color:var(--t-card)!important}
header{backdrop-filter:blur(8px);border-bottom:1px solid var(--t-line)!important;box-shadow:none!important}
.shadow-base,.shadow-sm,.shadow-md,.shadow{box-shadow:0 10px 30px rgba(67,33,55,.07)!important}
.rounded-md,.rounded{border-radius:18px!important}
.card,[class*="rounded-md"].bg-white{border:1px solid var(--t-line)}
.bg-slate-50,.bg-\[\#EEF1F9\],.bg-slate-100{background-color:rgba(255,255,255,.55)!important}
.text-slate-900,.text-slate-800,.text-slate-700,.text-slate-600{color:var(--t-ink)!important}
.border-slate-100,.border-slate-200,.border-slate-300,.border{border-color:var(--t-line)!important}
/* buttons (pill, plum) */
.bg-slate-900,.bg-slate-800.text-white,.btn-dark,button[type=submit].bg-slate-900{background-color:var(--t-btn)!important;color:#fff!important}
button.bg-slate-900,.btn{border-radius:999px!important}
button.bg-slate-900:hover,.btn-dark:hover{background-color:var(--t-btn-hover)!important}
.text-blue-500,.text-primary-500,a.text-blue-500,.text-slate-900.underline{color:var(--t-head)!important}
.bg-blue-500,.bg-primary-500{background-color:var(--t-btn)!important}
a:hover{color:#7a3d62}
/* inputs */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]),select,textarea{border-radius:14px!important;border-color:var(--t-line)!important;background-color:var(--t-input)!important;font-family:inherit!important}
input[type=checkbox],input[type=radio]{border-color:var(--t-line)!important;accent-color:var(--t-plum)}
input:focus,select:focus,textarea:focus{border-color:var(--t-head)!important;box-shadow:0 0 0 3px rgba(67,33,55,.12)!important;outline:none}
/* a bare input that sits inside its own rounded box (the header search, table filters) stays see-through: no white fill, border or ring of its own */
input.bg-transparent:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]),input.bg-transparent:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):focus,header input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]),header input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]):focus{background-color:transparent!important;border-color:transparent!important;border-radius:0!important;box-shadow:none!important}
label,.input-label{color:var(--t-head)!important}
/* dashboard stat tiles: soft tints instead of loud colours */
.bg-green-300{background-color:#e4efe2!important}.bg-purple-300{background-color:#f0e2ee!important}.bg-blue-300{background-color:#f6e4d6!important}
/* tables */
table thead,thead tr,.bg-slate-200{background-color:var(--t-pink)!important}
th{color:var(--t-head)!important;font-weight:600}
tr{border-color:var(--t-line)!important}
/* sign-in / register pages: show the brand, not the template illustration */
img[src*="LoginPage"]{display:none!important}
footer{background-color:transparent!important;border-top:1px solid var(--t-line)}
/* sign-in / register / forgot-password: one soft centred card (the template's illustration half is empty without its picture) */
.loginwrapper{min-height:100vh}
.loginwrapper .lg-inner-column{display:flex;justify-content:center;align-items:center;min-height:100vh;padding:24px 16px}
.loginwrapper .left-column{display:none!important}
.loginwrapper .right-column{width:100%!important;max-width:460px;margin:0 auto}
.loginwrapper .right-column,.loginwrapper .inner-content{background:transparent!important;height:auto!important;display:block}
.loginwrapper .auth-box{background:rgba(255,255,255,.78);border:1px solid var(--t-line);border-radius:28px;padding:34px 36px 30px;box-shadow:0 22px 60px rgba(67,33,55,.10);height:auto!important;display:block}
.loginwrapper .mobile-logo{display:block!important;margin:0 0 18px!important}
.loginwrapper .mobile-logo img{width:auto;max-width:132px;max-height:76px;height:auto;margin:0 auto;display:block}
.loginwrapper .auth-box h4{font-size:28px;line-height:1.2;margin:0 0 6px;font-weight:600}
.loginwrapper .auth-box h4+div{font-size:14px;color:#8a7686!important;margin-bottom:6px}
.loginwrapper form{display:grid;grid-template-columns:1fr auto;gap:16px 12px;margin-top:22px}
.loginwrapper form>*{margin:0!important}
.loginwrapper form>.fromGroup,.loginwrapper form>button.btn,.loginwrapper form>button[type=submit]{grid-column:1/-1}
.loginwrapper form>div:empty{display:none}
.loginwrapper form label{font-size:12.5px;font-weight:600;letter-spacing:.01em;margin-bottom:6px;text-transform:capitalize}
.loginwrapper form input.form-control{height:48px!important;font-size:14.5px;padding-left:16px!important}
.loginwrapper form a,.loginwrapper form button:not(.btn){font-size:13px!important;font-weight:600;color:var(--t-head)!important;text-decoration:none}
.loginwrapper form a:hover,.loginwrapper form button:not(.btn):hover{text-decoration:underline}
.loginwrapper form>div:nth-last-child(2):not(.fromGroup){justify-content:flex-end;text-align:right}
.loginwrapper form button.btn{height:50px;font-size:15px;font-weight:600;letter-spacing:.01em;box-shadow:0 10px 24px rgba(67,33,55,.22)}
.loginwrapper form button.btn:disabled{box-shadow:none}
.loginwrapper .auth-box>div.border-b{margin-top:22px;padding-top:18px!important;border-bottom:0!important;border-top:1px solid var(--t-line);text-align:center;font-size:13.5px;color:#8a7686}
.loginwrapper .auth-box>div.border-b:empty{display:none}
.loginwrapper .auth-box>div.border-b a{font-weight:600;font-size:13.5px}
.loginwrapper .auth-footer{margin-top:18px;font-size:12px;color:#9c8a97!important}
/* the browser's blue autofill tint would clash: keep the field cream with dark text */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #fffaf4 inset!important;-webkit-text-fill-color:var(--t-ink)!important;caret-color:var(--t-ink);transition:background-color 9999s ease-out 0s}
@media(max-width:520px){.loginwrapper .auth-box{padding:26px 20px 22px;border-radius:22px}}

/* ---------- dark theme (the moon button): the same plum family, dark ---------- */
body.dark{--t-ink:#f3e6ee;--t-head:#f1d9e8;--t-btn:#9a527a;--t-btn-hover:#b0648d;--t-line:rgba(255,255,255,.13);--t-pink:rgba(255,255,255,.07);--t-card:rgba(40,21,36,.9);--t-input:rgba(255,255,255,.07);color:var(--t-ink)}
body.dark{background:linear-gradient(135deg,#190d16 0%,#271322 45%,#1d1430 100%) fixed!important}
body.dark header,body.dark .bg-white,body.dark .dark\:bg-slate-800{background-color:var(--t-card)!important}
body.dark .bg-slate-50,body.dark .bg-slate-100,body.dark .bg-\[\#EEF1F9\]{background-color:rgba(255,255,255,.05)!important}
body.dark .text-slate-900,body.dark .text-slate-800,body.dark .text-slate-700,body.dark .text-slate-600{color:var(--t-ink)!important}
body.dark .text-slate-500,body.dark .text-slate-400{color:#c9b3c0!important}
body.dark .border-slate-100,body.dark .border-slate-200,body.dark .border-slate-300,body.dark .border{border-color:var(--t-line)!important}
body.dark .text-blue-500,body.dark .text-primary-500,body.dark a.text-blue-500{color:#e8b4d2!important}
body.dark a:hover{color:#f3c6df}
body.dark input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]),body.dark select,body.dark textarea{background-color:var(--t-input)!important;color:var(--t-ink)!important;border-color:var(--t-line)!important}
body.dark input::placeholder,body.dark textarea::placeholder{color:#a58d9c!important}
body.dark input.bg-transparent:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]),body.dark header input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=color]):not([type=hidden]){background-color:transparent!important;border-color:transparent!important}
body.dark select option{background:#2a1626;color:var(--t-ink)}
body.dark label,body.dark .input-label{color:#e9cfe0!important}
body.dark table thead,body.dark thead tr,body.dark .bg-slate-200{background-color:rgba(255,255,255,.08)!important}
body.dark th{color:var(--t-head)!important}
body.dark td,body.dark tr{border-color:var(--t-line)!important}
body.dark .card,body.dark [class*="rounded-md"].bg-white{border-color:var(--t-line)}
body.dark .shadow-base,body.dark .shadow-sm,body.dark .shadow-md,body.dark .shadow{box-shadow:0 10px 30px rgba(0,0,0,.35)!important}
body.dark .bg-green-300{background-color:rgba(120,180,120,.2)!important}body.dark .bg-purple-300{background-color:rgba(190,120,180,.22)!important}body.dark .bg-blue-300{background-color:rgba(230,160,110,.2)!important}
body.dark footer{border-top-color:var(--t-line)}
body.dark input:-webkit-autofill,body.dark input:-webkit-autofill:hover,body.dark input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px #3a2335 inset!important;-webkit-text-fill-color:var(--t-ink)!important}
body.dark .loginwrapper .auth-box{background:rgba(40,21,36,.82)}
body.dark .loginwrapper .auth-box h4+div,body.dark .loginwrapper .auth-footer{color:#b9a3b2!important}
body.dark .loginwrapper .auth-box>div.border-b{color:#b9a3b2}
body.dark .loginwrapper .mobile-logo img{background:rgba(255,255,255,.92);border-radius:14px;padding:6px 10px}
body.dark [class*="dark:bg-slate-900"],body.dark [class*="dark:bg-slate-800"]:not(header):not(.bg-white){background-color:rgba(255,255,255,.05)!important}
body.dark [class*="dark:bg-slate-700"]{background-color:rgba(255,255,255,.09)!important}
body.dark [class*="dark:border-slate-700"],body.dark [class*="dark:border-slate-600"]{border-color:var(--t-line)!important}

/* Sales portal sign-in (.scoop-*): the dark plum screen becomes the 8rees.life cream-pink look. Colours, fonts and shapes only. */
.scoop-login{background:linear-gradient(135deg,#fff3e3 0%,#ffe6d4 38%,#f6e4ee 72%,#ece5f6 100%) fixed!important}
.scoop-blob{opacity:.22!important}
.scoop-card-in{background:rgba(255,255,255,.7)!important;border:1px solid #e8dfd3!important;box-shadow:0 18px 50px rgba(67,33,55,.1)!important;border-radius:24px!important}
.scoop-card-in [class*="text-white/"]{color:#6b4a5e!important}
.scoop-card-in [class*="border-white"]{border-color:#e8dfd3!important}
.scoop-card-in img.invert{filter:none!important}
.scoop-login,.scoop-login *{font-family:'DM Sans',Arial,sans-serif}
.scoop-round{font-family:'Playfair Display',Georgia,serif!important}
/* the rotating tagline sets its colours inline: the lit word is plum, the others a soft plum */
.scoop-card-in h1 span[style*="240, 99, 43"]{color:#432137!important}
.scoop-card-in h1 span[style*="255, 255, 255"]{color:rgba(67,33,55,.3)!important}
.scoop-card-in b.scoop-mono{color:#432137}
button.scoop-round.w-full{background:#432137!important;color:#fff!important;border-radius:999px!important;box-shadow:0 10px 22px -10px rgba(67,33,55,.55)!important}
button.scoop-round.w-full:hover{background:#5b3050!important}
.scoop-role-chip{border-radius:999px!important}
.scoop-role-chip[class*="border-[#F0632B]"]{background:#432137!important;color:#fff!important;border-color:#432137!important}
.scoop-card-in a,.scoop-card-in button[class*="hover:text-"]{color:#7a3d62}
.scoop-stagger-panel{background:rgba(255,255,255,.86)!important}
/* inside the portal: the orange gradient buttons and accents become the site's plum */
button[class*="from-[#F0632B]"],a[class*="from-[#F0632B]"]{background:#432137!important;background-image:none!important;box-shadow:0 10px 22px -10px rgba(67,33,55,.5)!important;border-radius:999px!important}
[class*="text-[#F0632B]"]{color:#7a3d62!important}
button[style*="F0632B" i],a[style*="F0632B" i],button[style*="240, 99, 43"]{background:#432137!important;background-image:none!important;border-radius:999px!important;box-shadow:0 10px 22px -10px rgba(67,33,55,.5)!important}
