:root {
    --brand-ink: #2b2a63;
    --brand-ink-strong: #201f4e;
    --brand-rose: #92374d;
    --brand-accent: #d7b66a;
    --brand-accent-soft: #f7e7bb;
    --brand-surface: #ffffff;
    --brand-surface-alt: #f7f5fb;
    --brand-border: rgba(43, 42, 99, 0.12);
    --brand-text: #3d3e57;
    --brand-muted: #6c6f8f;
    --brand-shadow: 0 28px 60px rgba(43, 42, 99, 0.12);
}

* {
    margin: 0px;
    padding: 0px;
    border: 0px;
    box-sizing: border-box;
}

html, body {
    height: 100%;
  }

body {
    color: var(--brand-text);
    font-family: "Manrope", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 0.9em;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top right, rgba(146, 55, 77, 0.14), transparent 24%),
        radial-gradient(circle at left center, rgba(43, 42, 99, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfbff 0%, #f2f1fb 100%);
}

#background {
    position: fixed; 
    top:0; 
    left:0; 
    z-index: -10; 
    background:
        linear-gradient(180deg, rgba(43, 42, 99, 0.96) 0px, rgba(43, 42, 99, 0.96) 210px, transparent 210px),
        radial-gradient(circle at 82% 64px, rgba(146, 55, 77, 0.24), transparent 170px),
        linear-gradient(180deg, #fbfbff 0%, #f1f1fa 100%);
    width: 100%; 
    height: 100%;
}

.wizard-header {
    margin: 0;
    padding: 18px 32px 14px;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(43, 42, 99, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(43, 42, 99, 0.06);
}

.brand-lockup {
    display: flex;
    align-items: center;
    min-width: 0;
}

.brand-suite {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tykans-mark {
    width: min(220px, 30vw);
    max-width: 100%;
    height: auto;
    display: block;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(247, 245, 251, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(146, 55, 77, 0.18);
    box-shadow: 0 10px 22px rgba(43, 42, 99, 0.08);
}

.brand-mark {
    width: min(180px, 22vw);
    max-width: 100%;
    height: auto;
    display: block;
}

.wizard-crumb {
    font-family: "Manrope", "Helvetica Neue", sans-serif;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: none;
    color: white;
    background: linear-gradient(135deg, var(--brand-ink) 0%, #37357f 100%);
    border: 2px solid var(--brand-rose);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(43, 42, 99, 0.16);
}

.content {
    flex: 1 0 auto;
    width: min(1160px, calc(100% - 24px));
    margin: 0 auto;
    padding: 34px 0 40px;
    position: relative;
}

.eyebrow {
    color: var(--brand-accent-soft);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 14px;
}

.footer-logo {
    height: 54px;
    width: 54px;
    object-fit: contain;
}

.wizard-footer {
    padding: 12px 24px;
    border-top: 1px solid rgba(43, 42, 99, 0.08);
    background: rgba(255, 255, 255, 0.96);
    min-height: 74px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}

.footer-copy {
    color: var(--brand-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
}

#loading {
    color: #DDDDDD;
}

main {
    height: auto;
    margin: auto;
    padding: 42px 38px;
    margin-top: 24px;
    width: 100%;
    min-width: 800px;
    text-align: center;
    border: 1px solid var(--brand-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
    box-shadow: var(--brand-shadow);
    position: relative;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--brand-rose) 0%, var(--brand-accent) 52%, var(--brand-ink) 100%);
}

p {
    margin: 12px;
}

.success {
    color: var(--brand-ink);
}

.fail {
    color: #f54141e3;
}

.reminder-list {
    text-align: left;
    padding-left: 30px;
}

/* Font awesmoe modifiers */
.enlarge {
    font-size: 2em;
    vertical-align: middle;
}

.hidden {
    display: none;
}

.sink-more {
    margin-top:25px;
}

/* Buttons */
button {
    border-radius: 5px 5px;
    padding: 15px 32px;
    text-align: center;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    outline: 0;
}

.btn-info {
    background: linear-gradient(135deg, var(--brand-ink) 0%, #3b3886 100%);
    border: 1px solid var(--brand-ink);
    border-radius: 999px;
    color: #FDFDFD;
    border-width: 2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 14px 24px rgba(19, 19, 19, 0.14);
}

.btn-info:hover, .btn-info:focus {
    background: white;
    border: 2px solid var(--brand-rose);
    border-radius: 999px;
    color: var(--brand-ink);
    transform: translateY(-1px);
}

.right {
    float: right;
}

.left {
    float: left;
}

/* Modal */
.adjust-text {
   /* margin-top: -100px; */
    color: var(--brand-ink);
    font-size-adjust: unset;
}


/* Progress */
.progress-bar {
    color: var(--brand-text);
    counter-reset: step;
    width: min(980px, calc(100% - 32px));
    height: 60px;
    margin: auto;
    display: flex;
    padding: 18px 20px 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 36px rgba(43, 42, 99, 0.08);
    /* margin-bottom: 50px; */
}

.progress-bar li {
    list-style-type: none;
    flex: 1 1 0;
    text-transform: uppercase;
    text-emphasis: 1;
    text-align: center;
    position: relative;
}

.progress-bar li::before{
    width: 30px;
    height: 30px;
    content: counter(step);
    line-height: 30px;
    counter-increment: step;
    display: block;
    background-color: #fff;
    border: 2px solid rgba(146, 55, 77, 0.2);
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

.progress-bar li:after {
    width: 100%;
    height: 4px;
    content: '';
    position: absolute;
    background-color: rgba(146, 55, 77, 0.16);
    top: 15px;
    left: -50%;
    z-index: -1;
}

.progress-bar li:first-child:after {
    content: none;
}

.progress-bar li.current::before {
    border: 3px solid var(--brand-ink);
    background-color: var(--brand-ink);
    color: #fff;
    font-weight: 700;
}

.progress-bar li.active {
    color: var(--brand-ink);
}

.progress-bar li.active:not(.current)::before {
    color: var(--brand-ink);
    content: '✔';
    border-color: var(--brand-ink);
    background-color: #fff;
}

.progress-bar li.active + li:after {
    background-color: rgba(146, 55, 77, 0.16);
}

.progress-bar li.active:not(.current) + li:after,
.progress-bar li.active.current + li:after {
    background: linear-gradient(90deg, var(--brand-rose) 0%, var(--brand-accent) 100%);
}

.title {
    margin: 25px auto 10px;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    text-align: center;
    color: var(--brand-ink);
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    line-height: 0.95;
    letter-spacing: 0.01em;
    text-shadow: 0 12px 34px rgba(43, 42, 99, 0.12);
}

.title-welcome {
    max-width: 860px;
}

.txt-greeting-2 {
    margin-top: 8px;
}

.title-tagline {
    max-width: 620px;
    margin: 18px auto 0;
    font-family: "Manrope", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--brand-muted);
}

/* Message-box */
.message {
    width: 100%;
    max-width: 640px;
    margin: 0 auto 16px;
    border: 1px solid rgba(19, 19, 19, 0.1);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(43, 42, 99, 0.08);
}

.message-title{
    padding: 14px 18px;
    color: white;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    background: linear-gradient(135deg, var(--brand-ink) 0%, #3b3886 100%);
}

.message-content {
    background-color: #fff;
    padding: 16px 18px;
    text-align: left;
    line-height: 1.5;
    color: var(--brand-text);
}

.register-main {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

.register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
    gap: 26px;
    align-items: start;
}

.register-intro {
    margin: 0 0 24px;
    font-size: 1.05em;
    color: var(--brand-text);
}

.steps {
    margin: 0 auto 8px;
}

.register-actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.register-actions .sink-more {
    margin-top: 0;
    margin-bottom: 0;
}

.register-actions .btn-info {
    float: none;
}

.start-main {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 48px 40px;
    position: relative;
}

.start-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.95fr);
    gap: 28px;
    align-items: stretch;
    text-align: left;
}

.start-panel::before,
.finish-panel::before,
.register-main::before,
.setup-main::before {
    content: "";
    display: block;
    grid-column: 1 / -1;
    justify-self: center;
    width: 72px;
    height: 6px;
    margin: 0 0 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-ink) 100%);
}

.start-copy,
.finish-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.start-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25em;
    font-weight: 700;
}

.start-lead {
    max-width: 520px;
    margin: 0;
    line-height: 1.55;
    font-size: 1.05em;
    color: var(--brand-text);
}

.start-bullets {
    list-style: none;
    margin: 4px 0 8px;
    padding: 0;
    text-align: left;
    color: var(--brand-text);
}

.start-bullets li {
    position: relative;
    padding: 8px 0 8px 28px;
    line-height: 1.4;
}

.start-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand-ink);
}

.start-actions {
    margin-top: 12px;
}

.start-actions .btn-info {
    float: none;
    min-width: 160px;
}

.brand-feature-panel,
.register-aside,
.setup-callout {
    padding: 28px 24px;
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(43, 42, 99, 0.97) 0%, rgba(56, 54, 123, 0.97) 72%, rgba(146, 55, 77, 0.9) 100%);
    color: white;
    box-shadow: 0 20px 40px rgba(43, 42, 99, 0.18);
}

.brand-feature-panel h2,
.register-aside h2,
.setup-callout h2 {
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.01em;
    margin: 0 0 14px;
}

.brand-feature-panel p,
.register-aside p,
.setup-callout p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.6;
}

.brand-feature-label {
    color: var(--brand-accent-soft);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.brand-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.brand-feature-list span {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
}

.finish-main {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 48px 40px;
}

.finish-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: stretch;
    text-align: left;
}

.finish-icon {
    font-size: 3.2em;
    line-height: 1;
}

.finish-lead {
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
    font-size: 1.1em;
    color: var(--brand-text);
}

.finish-note {
    margin: 8px 0 0;
    color: var(--brand-muted);
    font-size: 0.95em;
}

.overlay{
    position: fixed; 
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: #ffffffea;
}


.modal {
    width: 400px;
    position: fixed;
    top: 20%; 
    left: 50%;
    margin-left: -200px;

    border-radius: 40px;
    text-align: center;
    z-index: 11; 
}

.modal .logo {
    max-width: 200px;
}

.modal .modal-message {
    margin-top: 20px;
    font-size: 20px;
}

.setup-main {
    min-width: 0;
    width: 100%;
    padding: 48px 40px;
}

.setup-content {
    display: grid;
    gap: 26px;
    text-align: left;
}

.setup-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.setup-copy {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--brand-text);
}

.setup-form {
    width: 100%;
}

.setup-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 14px;
}

.setup-table td {
    vertical-align: top;
    text-align: left;
}

.setup-table tr td:first-child {
    width: 34%;
    padding: 18px 18px 18px 0;
    font-weight: 700;
    color: var(--brand-ink);
}

.setup-table tr td:last-child {
    padding: 12px 0;
}

.setup-table-title {
    text-align: center;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 2rem;
    color: var(--brand-ink);
    padding: 6px 0 2px;
}

.setup-table-copy {
    color: var(--brand-muted);
    line-height: 1.7;
    padding-bottom: 8px;
}

.setup-main input,
.setup-main select {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0 0;
    display: inline-block;
    border: 1px solid rgba(43, 42, 99, 0.16);
    border-radius: 16px;
    background: rgba(247, 245, 251, 0.72);
    color: var(--brand-text);
    font: inherit;
    box-shadow: inset 0 1px 2px rgba(43, 42, 99, 0.04);
}

.setup-main select[multiple] {
    min-height: 132px;
}

.setup-main input:focus,
.setup-main select:focus {
    outline: 2px solid rgba(146, 55, 77, 0.22);
    border-color: var(--brand-rose);
    background: white;
}

.granularity-field {
    display: grid;
    gap: 8px;
}

.setup-note {
    margin: 10px 0 0;
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--brand-muted);
}

.setup-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.uninstall-main .finish-panel {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
}

@media (max-width: 900px) {
    .wizard-header {
        padding: 16px 18px 12px;
        flex-direction: column;
        align-items: flex-start;
        position: static;
    }

    .wizard-crumb {
        font-size: 1rem;
    }

    .brand-suite {
        flex-direction: column;
        align-items: flex-start;
    }

    main {
        min-width: 0;
        width: calc(100% - 24px);
        padding: 32px 18px;
    }

    .progress-bar {
        width: calc(100% - 24px);
        font-size: 0.78rem;
    }

    .start-main,
    .finish-main,
    .register-main,
    .setup-main {
        width: 100%;
        padding: 32px 12px;
    }

    .start-panel,
    .finish-panel,
    .register-layout,
    .setup-overview,
    .uninstall-main .finish-panel {
        grid-template-columns: 1fr;
    }

    .start-copy,
    .finish-copy {
        align-items: center;
        text-align: center;
    }

    .start-bullets {
        margin-left: auto;
        margin-right: auto;
    }

    .setup-table tr td:first-child,
    .setup-table tr td:last-child {
        display: block;
        width: 100%;
        padding-right: 0;
    }

    .wizard-footer {
        padding: 12px 18px;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.88em;
    }

    .brand-mark {
        width: min(150px, 56vw);
    }

    .tykans-mark {
        width: min(180px, 62vw);
    }

    .title {
        margin: 22px 16px 8px;
    }

    .title-tagline {
        margin-top: 14px;
        font-size: 0.95rem;
    }

    .progress-bar {
        height: auto;
        display: flex;
        gap: 10px;
        align-items: flex-start;
        padding: 16px 12px 8px;
    }

    .progress-bar li {
        width: auto;
        flex: 1 1 0;
        font-size: 0.72rem;
    }

    .progress-bar li:after {
        top: 14px;
    }

    .wizard-footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        font-size: 0.74rem;
    }
}
