:root {
    --urln-ink: #211a48;
    --urln-muted: #5f577b;
    --urln-line: #e4ddfa;
    --urln-accent: #5b3bd5;
    --urln-accent-dark: #322274;
    --urln-gold: #ffda7a;
    --urln-font: Inter, 'Segoe UI', system-ui, sans-serif;
}

/* Original landing layout with a new color palette */
body:has(.urln-color-hero) #header-main {
    position: relative;
    inset: auto;
    z-index: 20;
    box-shadow: 0 1px 0 #ffffff24;
}
body:has(.urln-color-hero) #navbar-main { background: #1e1746 !important; }
body:has(.urln-color-hero) #navbar-main > .container { max-width: 1180px; }
body:has(.urln-color-hero) #navbar-main .navbar-toggler { color: #fff; }
body:has(.urln-color-hero) #navbar-main .navbar-toggler-icon {
    background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat;
    border-block: 2px solid currentColor;
    width: 19px;
    height: 14px;
}
body:has(.urln-color-hero) #navbar-main .btn:is(.btn-primary, .btn-success) {
    background: #ffda7a; border-color: #ffda7a; color: #332048; border-radius: 11px; font-weight: 700;
}
body:has(.urln-color-hero) #navbar-main .btn:is(.btn-primary, .btn-success):hover { background: #ffe7a3; border-color: #ffe7a3; }
body:has(.urln-color-hero) #navbar-logo { max-width: 155px; max-height: 34px; padding: 5px 8px; border-radius: 8px; background: #fff; }
body:has(.urln-color-hero) #navbar-main .navbar-brand h1 { color: white !important; }
@media (min-width: 992px) {
    body:has(.urln-color-hero) #navbar-main .navbar-nav > li > .nav-link { color: #f1eafa !important; }
}

.urln-color-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    padding-block: clamp(48px, 6.6vw, 94px) clamp(44px, 6.2vw, 90px);
    background:
        radial-gradient(ellipse at 94% 11%, #9d3fd38a, transparent 53%),
        radial-gradient(ellipse at 80% 107%, #237fba8c, transparent 57%),
        linear-gradient(120deg, #1e1746 4%, #332076 53%, #472492);
}
.urln-color-hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(circle, #e6d9ff38 1px, transparent 1.5px) 0 0 / 23px 23px;
    mask-image: linear-gradient(to left, #000, transparent 68%);
    pointer-events: none;
}
.urln-color-hero .container { max-width: 1180px; }
.urln-color-hero .urln-color-title {
    color: #fff;
    font-family: var(--urln-font);
    font-size: clamp(49px, 6vw, 86px);
    font-weight: 780;
    letter-spacing: -.064em;
    line-height: .98;
    margin: 0 0 24px;
}
.urln-color-title span { color: #ffce80; }
.urln-color-hero .lead { color: #efe9ff !important; opacity: 1; max-width: 455px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; }
.urln-color-shorten { margin-top: 31px; }
.urln-color-shorten .input-group-lg {
    padding: 6px;
    border: 1px solid #d9ccff;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px #170c4c50;
}
.urln-color-shorten .input-group-lg:focus-within { outline: 3px solid #a6e8ee; outline-offset: 2px; }
.urln-color-shorten .input-group-lg > .form-control {
    height: 52px;
    min-width: 0;
    color: var(--urln-ink);
    background: #fff;
    border: 0;
    border-radius: 9px;
    box-shadow: none;
    font-size: 16px;
    padding-inline: 13px;
}
.urln-color-shorten .form-control::placeholder { color: #655d80; opacity: 1; }
.urln-color-shorten .input-group-lg .btn { border-radius: 8px !important; font-weight: 720; font-size: 15px; padding-inline: clamp(12px, 2.3vw, 23px); white-space: nowrap; }
.urln-color-shorten .btn-success, .urln-color-hero #output-result .btn-primary { color: #fff; background: #5b36d3; border-color: #5b36d3; }
.urln-color-shorten .btn-success:hover { background: #4825b1; border-color: #4825b1; }
.urln-color-shorten .btn-warning { background: #ffd681; border-color: #ffd681; color: #2e204d; }
.urln-color-shorten > .btn-xs { border-color: #ffffff65; color: #fff; background: #ffffff15; padding: 6px 12px; border-radius: 8px; }
.urln-color-shorten > .btn-xs:hover { background: #ffffff30; }
.urln-color-shorten #advanced .form-control { color: var(--urln-ink); background: #fff; padding-inline: 10px !important; }
.urln-color-shorten #advanced label { color: #fff; }
.urln-color-hero #output-result { border-color: #bdaaff !important; background: #ffffff18; }
.urln-color-art { isolation: isolate; }
.urln-color-art::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 10% 7% 0;
    border-radius: 38% 62% 54% 46%;
    background: radial-gradient(ellipse at 70% 25%, #fe8ad66e, #a69aff35 70%);
    border: 1px solid #e3c6ff55;
    transform: rotate(-12deg);
}
.urln-color-frame { margin: 0; }
.urln-color-illustration { display: block; width: 100%; max-height: 420px; object-fit: contain; filter: drop-shadow(0 14px 24px #180b3b60); }
.urln-color-features { background: #fbf9ff; }
.urln-color-features > .container { padding-top: 0 !important; }
.urln-color-features h2 { color: #261949; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; }
.urln-color-features .lead { color: #5f577b; }
.urln-color-features .col-md-4 { display: flex; }
.urln-feature-card { width: 100%; border-radius: 18px; box-shadow: 0 9px 24px #33217522; }
.urln-feature-card .card-body { padding: 27px; }
.urln-feature-card .icon { color: #302054; }
.urln-feature-violet { background: linear-gradient(135deg, #5337bd, #6d3acf); }
.urln-feature-blue { background: linear-gradient(135deg, #194ba0, #176089); }
.urln-feature-pink { background: linear-gradient(135deg, #86205f, #a62465); }
.urln-color-showcase { background: #fff; }
.urln-color-toolkit { background: linear-gradient(125deg, #241847, #35246c 62%, #343588) !important; }
.urln-color-toolkit .media-body > :is(h2,p), .urln-color-toolkit .row.text-center h2 { color: #fff !important; }
.urln-color-toolkit .card { background: #fff; color: #261949; border: 0; border-radius: 15px; }
.urln-color-toolkit .card .h6 { color: #261949; }
.urln-color-toolkit .card p { color: #5f577b !important; }
.urln-color-toolkit a.btn-primary { background: #ffda7a; border-color: #ffda7a; color: #322274; }

/* Reusable details for the existing account and dashboard templates */
.urln-auth, .urln-dashboard-intro { font-family: var(--urln-font); }
.urln-auth :focus-visible, .urln-dashboard :focus-visible { outline: 2px solid #7258ee; outline-offset: 3px; }
.urln-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; color: #41277a; background: #ffda7a; border-radius: 10px; font-size: 18px; }
.urln-auth-side {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 88% 10%, #b349d0ba, transparent 61%),
        radial-gradient(ellipse at 15% 93%, #3a85c9b0, transparent 58%),
        linear-gradient(140deg, #24205b, #4927a0 61%, #6536b2);
}
.urln-orbit { position: absolute; z-index: -1; width: 86%; aspect-ratio: 1; border: 1px solid #fad6ff84; border-radius: 50%; transform: translate(24%, -23%); }
.urln-orbit::before, .urln-orbit::after { content: ''; position: absolute; inset: 11%; border: 1px solid #fad6ff51; border-radius: 50%; }
.urln-orbit::after { inset: 23%; }

/* Sign-in and signup */
.urln-auth { display: grid; place-items: center; min-height: 100vh; padding: clamp(16px, 4vw, 52px); color: var(--urln-ink); background: #f1efff; }
.urln-auth-grid { display: grid; grid-template-columns: minmax(360px, 1.04fr) minmax(300px, .96fr); overflow: hidden; width: min(1080px, 100%); border-radius: 25px; border: 1px solid #dfd9ff; box-shadow: 0 22px 68px #31208d1f; background: #fff; }
.urln-auth-content { display: grid; align-content: center; gap: 24px; padding: clamp(25px, 4vw, 54px); }
.urln-auth-home { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--urln-ink); font-weight: 800; font-size: 19px; letter-spacing: -.05em; }
.urln-auth-home:hover, .urln-auth-home > span:last-child { color: var(--urln-accent); }
.urln-auth-home .urln-icon { margin-inline-end: 6px; width: 34px; height: 34px; }
.urln-auth-form { max-width: 425px; width: 100%; }
.urln-auth-form h1 { color: var(--urln-ink); margin: 0 0 9px; font-weight: 750; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.065em; }
.urln-auth-form header p { color: var(--urln-muted); font-size: 15px; line-height: 1.48; margin: 0 0 22px; }
.urln-auth-register .urln-auth-content { gap: 18px; padding-block: clamp(22px, 3vw, 38px); }
.urln-auth-register .urln-auth-form h1 { font-size: clamp(31px, 3.55vw, 44px); }
.urln-auth-register .urln-auth-form header p { margin-bottom: 16px; }
.urln-auth-register .form-group { margin-bottom: 11px !important; }
.urln-auth-register .form-control { height: 42px; }
.urln-auth-register .urln-auth-form form > :is(.my-4,.mt-4) { margin-top: 12px !important; margin-bottom: 12px !important; }
.urln-auth .form-group { margin-bottom: 14px !important; }
.urln-auth .form-control-label { color: var(--urln-ink); font-weight: 650; font-size: 14px; margin-bottom: 5px; }
.urln-auth .form-control, .urln-auth .input-group-text { background: #faf9ff; color: var(--urln-ink); border-color: #ddd8f7; }
.urln-auth .form-control { height: 46px; min-width: 0; font-size: 16px; }
.urln-auth .form-control::placeholder { color: #635f7e; opacity: 1; }
.urln-auth .input-group:focus-within { outline: 2px solid #634ae3; outline-offset: 2px; border-radius: 8px; }
.urln-auth .input-group .form-control:focus { outline: 0; box-shadow: none; }
.urln-auth .btn-primary { min-height: 47px; color: #fff; background: var(--urln-accent); border-color: var(--urln-accent); border-radius: 10px; font-weight: 680; }
.urln-auth .btn-primary:hover { background: var(--urln-accent-dark); border-color: var(--urln-accent-dark); }
.urln-auth .btn-neutral { color: var(--urln-ink); background: #fff; border-color: var(--urln-line); }
.urln-auth .custom-control-label, .urln-auth .text-muted { color: var(--urln-muted) !important; }
.urln-auth :is(.urln-auth-switch, .custom-control-label) a { color: var(--urln-accent); text-decoration: underline; text-underline-offset: 3px; font-weight: 620; }
.urln-auth .custom-control-input:checked ~ .custom-control-label::before { background: var(--urln-accent); border-color: var(--urln-accent); }
.urln-auth-switch { margin: 20px 0 0; color: var(--urln-muted); font-size: 14px; }
.urln-auth-back { justify-self: start; color: var(--urln-muted); font-size: 13px; }
.urln-auth-side { align-content: space-between; gap: 45px; padding: clamp(26px, 4.4vw, 54px); color: #f1edff; }
.urln-auth-art { align-self: center; display: grid; place-items: center; width: 100%; min-height: 250px; }
.urln-auth-art .urln-orbit { width: 84%; transform: translate(18%, -8%); }
.urln-auth-art-card { display: flex; align-items: center; gap: 13px; width: min(100%, 300px); padding: clamp(14px, 2vw, 24px); color: var(--urln-ink); background: #fff; border-radius: 15px; box-shadow: 0 17px 45px #17084f5e; }
.urln-auth-art-card small { display: block; color: var(--urln-muted); }
.urln-auth-art-card strong { display: block; font-size: clamp(17px, 2.25vw, 25px); letter-spacing: -.05em; overflow-wrap: anywhere; }
.urln-auth-side-copy { justify-self: start; }
.urln-auth-side-copy p { color: #fff; max-width: 340px; margin: 0 0 14px; font-weight: 720; letter-spacing: -.055em; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.urln-auth-side-copy span { font-size: 16px; }

/* Dashboard shells and overview pages */
body:has(.urln-dashboard) { --urln-panel: #fff; --urln-bg: #f3f4ff; --urln-stroke: #e2dfff; --urln-dashboard-text: #252046; --urln-dashboard-muted: #5e587d; }
body.dark:has(.urln-dashboard) { --urln-panel: #22203a; --urln-bg: #15152a; --urln-stroke: #413b60; --urln-dashboard-text: #f6f3ff; --urln-dashboard-muted: #c9c0e3; }
.wrapper:has(.urln-dashboard) .main { background: var(--urln-bg); min-width: 0; }
.wrapper:has(.urln-dashboard) :is(.navbar-bg,.footer) { background: var(--urln-panel); }
.wrapper:has(.urln-dashboard) .navbar-bg { box-shadow: 0 1px 0 var(--urln-stroke); }
.wrapper:has(.urln-dashboard) :is(.sidebar,.sidebar-content,.sidebar-link) { background: #1c1941; }
.wrapper:has(.urln-dashboard) .sidebar-brand { display: block; color: #fff !important; border-bottom: 1px solid #bba1ff42; padding-bottom: 19px; margin-bottom: 8px; }
.wrapper:has(.urln-dashboard) .sidebar-brand .text-dark { color: #fff !important; }
.wrapper:has(.urln-dashboard) .sidebar-header { color: #c0b8e8; }
.wrapper:has(.urln-dashboard) .sidebar-link { color: #eee9ff; border-left-color: transparent; }
.wrapper:has(.urln-dashboard) .sidebar-link :is(svg,i) { color: #c0b8e8; }
.wrapper:has(.urln-dashboard) .sidebar-item.active > .sidebar-link,
.wrapper:has(.urln-dashboard) .sidebar-link:hover { background: #3b2d73; color: #fff; border-left-color: #a99bff; }
.wrapper:has(.urln-dashboard) .sidebar-item.active > .sidebar-link :is(svg,i) { color: #d0bdff; }
.wrapper:has(.urln-dashboard) .content { padding: clamp(16px, 2.8vw, 40px); }
.urln-dashboard { max-width: 1560px; margin-inline: auto; }
.urln-dashboard-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 22px;
    padding: clamp(20px, 3vw, 35px);
    color: #f2ecff;
    background: radial-gradient(ellipse at 90% -30%, #7749e8, transparent 68%), #281669;
    border: 1px solid #55409f;
    border-radius: 18px;
}
.urln-dashboard-intro h1 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); font-weight: 730; letter-spacing: -.06em; line-height: 1.05; margin: 0 0 8px; }
.urln-dashboard-intro p { margin: 0; color: #eee8ff; font-size: 15px; line-height: 1.45; }
.urln-dashboard-action { display: inline-flex; align-items: center; gap: 7px; background: var(--urln-gold); color: var(--urln-accent-dark); border: 1px solid var(--urln-gold); border-radius: 10px; padding: 10px 15px; font-size: 14px; font-weight: 700; }
.urln-dashboard-action:hover { background: #ffe797; color: var(--urln-accent-dark); }
.urln-dashboard .card { background: var(--urln-panel); border: 1px solid var(--urln-stroke); border-radius: 15px; box-shadow: 0 5px 20px #22156a0e; }
.urln-dashboard .card-header { background: var(--urln-panel); border-radius: 14px 14px 0 0; }
.urln-dashboard .card-title { color: var(--urln-dashboard-text); font-weight: 690; font-size: 16px; }
.urln-dashboard .urln-metric { min-height: 151px; }
.urln-dashboard .urln-metric .card-body { padding: clamp(13px, 2vw, 22px); }
.urln-dashboard .urln-metric .card-title { color: var(--urln-dashboard-muted); font-size: 13px; margin: 0 0 7px; }
.urln-metric-icon { display: grid; place-items: center; float: inline-end; height: 35px; width: 35px; color: #5135be; background: #ede6ff; border-radius: 9px; }
.urln-metric-value { font-family: var(--urln-font); color: var(--urln-dashboard-text); font-size: clamp(24px, 3vw, 40px); line-height: 1.07; letter-spacing: -.045em; font-weight: 740; margin: 0 0 9px; overflow-wrap: anywhere; }
.urln-dashboard .urln-metric .text-success { color: #3a659e !important; }
body.dark .urln-dashboard .urln-metric .text-success { color: #adbbff !important; }
.urln-user-overview .chart-sm { height: clamp(232px, 30vw, 296px); }
.urln-dashboard thead th { color: var(--urln-dashboard-muted); font-size: 12px; }
.urln-dashboard table > :not(caption) > * > * { border-bottom-color: var(--urln-stroke); }
.urln-dashboard #urln-create-link { scroll-margin-top: 18px; }


/* Brighter data categories and responsive layouts */
.urln-dashboard-admin .urln-dashboard-intro { background: radial-gradient(ellipse at 87% -100%, #d960be, transparent 74%), linear-gradient(110deg, #271754, #6337c4); }
.urln-dashboard-user .urln-dashboard-intro { background: radial-gradient(ellipse at 88% -100%, #8177fc, transparent 72%), linear-gradient(115deg, #242064, #2c4699); }
.urln-dashboard .urln-metric { border-block-start: 3px solid #8661ec; }
.urln-dashboard .urln-user-overview .urln-metric:nth-child(2), .urln-admin-overview > :nth-child(2) .urln-metric { border-block-start-color: #21a6b6; }
.urln-admin-overview > :nth-child(3) .urln-metric { border-block-start-color: #d650a1; }
.urln-admin-overview > :nth-child(4) .urln-metric { border-block-start-color: #ed9c40; }
.urln-dashboard .urln-user-overview .urln-metric:nth-child(2) .urln-metric-icon { background: #daf4f6; color: #106573; }

@media (max-width: 991px) {
    .urln-color-hero .urln-hero-columns { gap: 30px 0; }
    .urln-color-hero .urln-hero-columns > div:nth-child(2) { margin-top: 0 !important; }
    .urln-color-frame { max-width: 500px; margin-inline: auto; }
    .urln-auth-side { gap: 28px; }
}
@media (max-width: 760px) {
    .urln-color-hero { padding-block: 44px 32px; }
    .urln-color-hero .urln-color-title { font-size: clamp(44px, 10vw, 67px); }
    .urln-color-illustration { max-height: 300px; }
    .urln-color-shorten .input-group-lg .btn { font-size: 14px; }
    .urln-auth { padding-inline: 12px; }
    .urln-auth-grid { grid-template-columns: minmax(0, 1fr); max-width: 530px; border-radius: 18px; }
    .urln-auth-content { gap: 19px; padding-inline: clamp(18px, 6vw, 32px); }
    .urln-auth-side { display: none; }
}
@media (max-width: 390px) {
    .urln-color-shorten .input-group-lg > .form-control { padding-inline: 8px; }
    .urln-color-shorten .input-group-lg .btn { padding-inline: 9px; }
}
