/* WhatsAra platform identity. Kept separate from the administrator's generated theme. */
.whatsara-ui {
    --wa-brand-primary: #007c66;
    --wa-brand-hover: #006451;
    --wa-brand-accent: #16c784;
    --wa-brand-ink: #152c29;
    --wa-brand-muted: #617570;
    --wa-brand-surface: #f4f8f6;
    --wa-brand-line: #d9e5df;
    background-color: var(--wa-brand-surface);
}
.whatsara-ui .wa-brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1; white-space: nowrap; }
.whatsara-ui .wa-brand-icon { width: 52px; height: 52px; object-fit: contain; border-radius: 13px; flex: 0 0 auto; }
.whatsara-ui .wa-brand-name { font-size: 30px; font-weight: 800; letter-spacing: -1.1px; color: var(--wa-brand-ink); }
.whatsara-ui .btn-primary, .whatsara-ui .bg-primary, .whatsara-ui .badge-primary {
    background: var(--wa-brand-primary) !important;
    border-color: var(--wa-brand-primary) !important;
    color: #fff !important;
}
.whatsara-ui .btn-primary:hover, .whatsara-ui .btn-primary:focus, .whatsara-ui .btn-primary:active, .whatsara-ui .btn-primary.active {
    background: var(--wa-brand-hover) !important; border-color: var(--wa-brand-hover) !important;
}
.whatsara-ui .btn-primary:disabled { background: #63877f !important; border-color: #63877f !important; }
.whatsara-ui .btn-outline-primary { color: var(--wa-brand-primary); border-color: var(--wa-brand-primary); }
.whatsara-ui .btn-outline-primary:hover { background: var(--wa-brand-primary); color: #fff; }
.whatsara-ui .text-primary { color: var(--wa-brand-primary) !important; }
.whatsara-ui .border-primary { border-color: var(--wa-brand-primary) !important; }
.whatsara-ui .form-control:focus { border-color: var(--wa-brand-primary); box-shadow: 0 0 0 3px rgba(0,124,102,.14); }
.whatsara-ui :is(a,button,input,select):focus-visible { outline: 3px solid #20c99c; outline-offset: 3px; }
.whatsara-ui .page-item.active .page-link { background: var(--wa-brand-primary) !important; border-color: var(--wa-brand-primary); }
.whatsara-ui #sidebar.navbar-vibrant { background: #0e2d29 !important; background-image: none !important; border-right: 1px solid #22443b; }
.whatsara-ui #sidebar .wa-sidebar-brand { display: flex; justify-content: flex-start; padding: 12px 0 20px; margin: 0 0 12px; text-decoration: none; -webkit-filter: none !important; filter: none !important; }
.whatsara-ui #sidebar .wa-brand { gap: 10px; }
.whatsara-ui #sidebar .wa-brand-icon { width: 40px; height: 40px; border-radius: 10px; }
.whatsara-ui #sidebar .wa-brand-name { font-size: 26px; color: #fff; letter-spacing: -.7px; }
.whatsara-ui #sidebar .navbar-heading { color: #a9c8bb !important; font-size: 10px; letter-spacing: .1em; font-weight: 700; }
.whatsara-ui #sidebar .nav-link, .whatsara-ui #sidebar .nav-sm .nav-link { color: #e1efe7 !important; font-weight: 500; }
.whatsara-ui #sidebar .nav-link i { color: #a6cfbe !important; }
.whatsara-ui #sidebar .nav-link:hover, .whatsara-ui #sidebar .nav-link:focus { background: #193e34 !important; color: #fff !important; }
.whatsara-ui #sidebar .nav-link.active, .whatsara-ui #sidebar .nav-item.active > .nav-link {
    background: #195443 !important; color: #fff !important; box-shadow: inset 3px 0 0 #36d99c;
}
.whatsara-ui #sidebar .nav-link.active i { color: #64ebbb !important; }
.whatsara-ui #sidebar .nav-link.active:before { border-left-color: transparent !important; }
.whatsara-ui #sidebar .navbar-divider { border-color: #335348 !important; }
.whatsara-ui #sidebar::-webkit-scrollbar-track { background: #0e2d29; }
.whatsara-ui #sidebar::-webkit-scrollbar-thumb { background: #376453; }
.whatsara-ui .main-content[system-wrapper] { background: var(--wa-brand-surface) !important; }
.whatsara-ui .main-content[system-wrapper] .card { border-color: var(--wa-brand-line) !important; }
.whatsara-ui #nprogress .bar { background: var(--wa-brand-accent); }
.whatsara-ui #nprogress .spinner-icon { border-top-color: var(--wa-brand-primary); border-left-color: var(--wa-brand-primary); }
.whatsara-ui .mfb-component__button--main, .whatsara-ui .mfb-component__button--child,
.whatsara-ui .mfb-component__main-icon--resting, .whatsara-ui .mfb-component__main-icon--active { background: var(--wa-brand-primary) !important; }
.whatsara-ui .cc-window { background: #0e3029 !important; color: #fff; }
.whatsara-ui .cc-window .cc-btn { background: var(--wa-brand-primary); border-color: #73debb; color: #fff; }
.whatsara-ui .cc-window .cc-btn:hover { background: var(--wa-brand-hover); }

/* The auth wrapper owns its layout, including PJAX transitions between the three auth pages. */
.whatsara-ui.wa-auth-page { display: block !important; border-top: 0 !important; }
.whatsara-ui .wa-auth-layout { display: grid; grid-template-columns: minmax(420px, .9fr) minmax(0, 1.1fr); min-height: 100vh; width: 100%; padding: 0; background: #fcfdfb; }
.whatsara-ui .wa-auth-form-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 64px 56px; min-width: 0; color: var(--wa-brand-ink); }
.whatsara-ui .wa-auth-content { width: 100%; max-width: 402px; }
.whatsara-ui .wa-auth-brand { display: inline-flex; margin-bottom: 52px; text-decoration: none; }
.whatsara-ui .wa-auth-heading { color: var(--wa-brand-ink); font-size: 28px; font-weight: 700; letter-spacing: -.8px; line-height: 1.2; margin: 0 0 10px; }
.whatsara-ui .wa-auth-content > p { color: var(--wa-brand-muted) !important; font-size: 15px; line-height: 1.6; margin-bottom: 30px; text-align: start !important; }
.whatsara-ui .wa-auth-content .form-group { margin-bottom: 22px; }
.whatsara-ui .wa-auth-content label { font-weight: 600; font-size: 13px; color: #263f38; margin-bottom: 9px; }
.whatsara-ui .wa-auth-content .form-control { background: #fff; color: #183b30; border: 1px solid #ccdcd2; border-radius: 9px; min-height: 48px; padding: 11px 14px; font-size: 15px; }
.whatsara-ui .wa-auth-content .form-control::placeholder { color: #7c9086; opacity: 1; }
.whatsara-ui .wa-auth-content .bootstrap-select.form-control { padding: 0; border: 0; background: transparent; }
.whatsara-ui .wa-auth-content .bootstrap-select > .dropdown-toggle { min-height: 48px; padding: 11px 14px; border: 1px solid #ccdcd2; border-radius: 9px; background: #fff; color: #183b30; }
.whatsara-ui .wa-auth-content .bootstrap-select > .dropdown-toggle:focus { border-color: var(--wa-brand-primary); }
.whatsara-ui .wa-auth-content .text-muted { color: #60756b !important; }
.whatsara-ui .wa-auth-content a:not(.wa-auth-brand):not(.btn) { color: #006b54 !important; }
.whatsara-ui .wa-auth-content .btn-primary { border-radius: 9px; min-height: 48px; font-weight: 600; font-size: 14px; box-shadow: 0 5px 12px rgba(0,100,75,.10); }
.whatsara-ui .wa-auth-content hr { border-top-color: #dce6de; }
.whatsara-ui .wa-auth-aside { position: relative; overflow: hidden; display: flex; align-items: center; background: #0e3029; color: #fff; padding: 76px clamp(48px, 6vw, 110px); isolation: isolate; }
.whatsara-ui .wa-auth-aside::before, .whatsara-ui .wa-auth-aside::after { content: ''; position: absolute; border: 1px solid rgba(79,211,166,.16); border-radius: 50%; width: 640px; height: 640px; right: -310px; bottom: -280px; z-index: -1; pointer-events: none; }
.whatsara-ui .wa-auth-aside::after { width: 840px; height: 840px; right: -410px; bottom: -380px; }
.whatsara-ui .wa-auth-aside-inner { width: 100%; max-width: 590px; position: relative; }
.whatsara-ui .wa-auth-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #9cceba; font-size: 12px; letter-spacing: .14em; font-weight: 600; text-transform: uppercase; margin-bottom: 35px; }
.whatsara-ui .wa-auth-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #49dca6; }
.whatsara-ui .wa-auth-title { color: #fff; font-size: clamp(42px, 4.2vw, 72px); font-weight: 600; letter-spacing: -2.7px; line-height: 1.08; margin: 0 0 28px; }
.whatsara-ui .wa-auth-title span { color: #65e3b3; }
.whatsara-ui .wa-auth-copy { color: #b9d6c8; font-size: 18px; line-height: 1.7; max-width: 400px; margin: 0; }
.whatsara-ui .wa-auth-features { display: flex; flex-wrap: wrap; gap: 15px 24px; padding: 28px 0 0; margin: 44px 0 0; border-top: 1px solid #335c49; list-style: none; color: #d7eee0; font-size: 13px; }
.whatsara-ui .wa-auth-features li { display: flex; align-items: center; gap: 7px; }
.whatsara-ui .wa-auth-features i { color: #63ddb0; font-size: 20px; }
[dir=rtl] .whatsara-ui #sidebar .nav-link.active { box-shadow: inset -3px 0 0 #36d99c; }
@media (max-width: 991.98px) {
    .whatsara-ui .wa-auth-layout { grid-template-columns: 1fr; }
    .whatsara-ui .wa-auth-aside { display: none; }
    .whatsara-ui .wa-auth-form-panel { padding: 44px 28px; min-height: 100vh; }
    .whatsara-ui .wa-auth-brand { margin-bottom: 40px; }
}
@media (max-width: 767.98px) {
    .whatsara-ui #sidebar .wa-sidebar-brand { padding: 6px 0; margin: 0; justify-content: center; }
    .whatsara-ui #sidebar .wa-brand-icon { width: 34px; height: 34px; border-radius: 8px; }
    .whatsara-ui #sidebar .wa-brand-name { font-size: 23px; }
    .whatsara-ui .wa-auth-heading { font-size: 26px; }
    .whatsara-ui .wa-auth-content .form-control { font-size: 16px; }
}
