@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;1,6..72,400&display=swap");

:root {
    --mono: "Geist Mono", "JetBrains Mono", "SF Mono", monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    --gold: #c9a84c;
    --green: #00e676;
    --red: #ff4757;
    --blue: #4d8ff7;
    --gray: #808080;
    --black: #000000;
    --white: #ffffff;
    --border: #141416;
}

input::placeholder {
    color: #222225;
}
button {
    outline: none !important;
    border: none !important;
}
select option {
    background: #0a0a0b;
    color: #f0f0f2;
}

input:focus,
select:focus {
    border-color: #c9a84c !important;
}

button:hover {
    opacity: 0.88;
}

button:active {
    transform: scale(0.98);
}

.kyn-toast {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
    padding: 9px 16px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
    backdrop-filter: blur(10px);
    animation: kfIn 0.2s ease;
    font-family: "Geist", sans-serif;
}

.kyn-copy {
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid #141416;
    background: #0a0a0b;
    color: #333338;
    font-size: 10px;
    cursor: pointer;
    font-family: monospace;
    margin-left: 4px;
    line-height: 1;
}

.kyn-copy:hover {
    border-color: #c9a84c;
    color: #c9a84c;
}

.kyn-quick {
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #141416;
    background: #0a0a0b;
    color: #333338;
    font-size: 10px;
    cursor: pointer;
    font-family: var(--mono);
}

.kyn-quick:hover {
    border-color: #c9a84c;
    color: #c9a84c;
}

.kyn-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    background: #c9a84c;
    animation: kfPulse 1.4s ease-in-out infinite;
}

.kyn-spin {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1.5px solid #c9a84c30;
    border-top-color: #c9a84c;
    border-radius: 50%;
    animation: kfSpin 0.7s linear infinite;
}

@keyframes kfIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kfPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.3;
        transform: scale(1.8);
    }
}

@keyframes kfSpin {
    to {
        transform: rotate(360deg);
    }
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #141416;
    border-radius: 2px;
}

@media (max-width: 768px) {
    aside {
        display: none !important;
    }

    main {
        padding: 14px !important;
    }
}

.kynexis-bg {
    background: rgb(9, 9, 10);
    min-height: 100vh;
    color: rgb(240, 240, 242);
    font-family:
        "Geist",
        "DM Sans",
        -apple-system,
        sans-serif;
    font-size: 13px;
}

.kynexis-center-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.kynexis-gradient-circle {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(rgba(201, 168, 76, 0.024) 0%, transparent 70%);
    pointer-events: none;
}

.kynexis-card {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.kynexis-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 44px;
}

.kynexis-icon-box {
    width: 30px;
    height: 30px;
    border: 1.5px solid rgb(201, 168, 76);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kynexis-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: rgb(106, 106, 114);
}

.kynexis-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    margin-bottom: 36px;
}

.kynexis-progress-step {
    display: flex;
    align-items: center;
}

.kynexis-step-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kynexis-step-active {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 1.5px solid rgb(201, 168, 76);
    background: rgba(201, 168, 76, 0.07);
    color: rgb(201, 168, 76);
    transition: 0.3s;
}

.kynexis-step-inactive {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 1.5px solid rgb(34, 34, 37);
    background: transparent;
    color: rgb(51, 51, 56);
    transition: 0.3s;
}

.kynexis-step-label-inactive {
    font-size: 11px;
    color: rgb(42, 42, 47);
    white-space: nowrap;
}

.kynexis-step-label-active {
    font-size: 11px;
    color: rgb(138, 138, 149);
    white-space: nowrap;
}

.kynexis-step-divider {
    width: 32px;
    height: 1px;
    background: rgb(26, 26, 29);
    margin: 0px 8px;
}

.kynexis-headline {
    font-family: "Newsreader", Georgia, serif;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.25;
    color: rgb(240, 240, 242);
    margin-bottom: 12px;
}

.kynexis-headline em {
    font-style: italic;
    color: rgb(201, 168, 76);
}

.kynexis-desc {
    font-size: 13px;
    color: rgb(68, 68, 72);
    line-height: 1.7;
    margin-bottom: 0px;
}

.kynexis-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgb(12, 12, 13);
    border: 1px solid rgb(20, 20, 22);
    border-radius: 8px;
    margin-top: 24px;
}

.kynexis-status-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kynexis-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgb(0, 230, 118);
    position: relative;
}

.kynexis-status-label {
    font-size: 12px;
    color: rgb(0, 230, 118);
}

.kynexis-status-label.danger-label {
    font-size: 12px;
    color: rgb(255, 71, 87);
}

.kynexis-status-right {
    font-size: 10px;
    color: rgb(42, 42, 47);
    font-family: var(--mono);
}

.kynexis-btn-connect {
    height: 48px;
    padding: 0px 32px;
    background: rgb(201, 168, 76);
    border: medium;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgb(9, 9, 10);
    cursor: pointer;
    font-family: "Geist", sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: 0.2s;
    margin-top: 20px;
    opacity: 1;
    pointer-events: auto;
}

.kynexis-btn-svg {
    margin-right: 6px;
    flex-shrink: 0;
}

.kynexis-no-petra {
    font-size: 11px;
    color: rgb(42, 42, 47);
    margin-top: 16px;
}

.kynexis-no-petra-link {
    color: rgb(201, 168, 76);
    text-decoration: none;
}

.kynexis-circle-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    border: 1.5px solid rgb(0, 230, 118);
    background: rgba(0, 230, 118, 0.082);
    color: rgb(0, 230, 118);
    transition: 0.3s;
}

.kynexis-circle-check.danger-check {
    border: 1.5px solid rgb(255, 71, 87);
    background: rgba(255, 71, 87, 0.082);
    color: rgb(255, 71, 87);
}

canvas#nokey {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

.kynexis-wallet-box {
    padding: 16px 18px;
    background: rgb(12, 12, 13);
    border: 1px solid rgb(20, 20, 22);
    border-radius: 10px;
    margin-top: 20px;
    text-align: left;
}

.kynexis-wallet-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.kynexis-wallet-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(0, 230, 118);
}

.kynexis-wallet-connected {
    font-size: 11px;
    color: rgb(0, 230, 118);
    font-weight: 500;
}

.kynexis-wallet-row {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 6px 0px;
    gap: 12px;
}

.kynexis-wallet-label {
    font-size: 11px;
    color: rgb(51, 51, 51);
    flex-shrink: 0;
}

.kynexis-wallet-value {
    font-size: 11px;
    color: rgb(138, 138, 149);
    font-family: var(--mono);
    text-align: right;
    word-break: break-all;
}

.kynexis-wallet-value--normal {
    word-break: normal;
    font-family: inherit;
}

.kynexis-market-note {
    font-size: 13px;
    color: rgb(68, 68, 72);
    line-height: 1.7;
    margin-top: 20px;
}

.kynexis-market-status {
    margin-top: 28px;
    font-size: 11px;
    color: rgb(42, 42, 47);
    letter-spacing: 0.1em;
}

.kynexis-market-status-dot {
    color: rgb(0, 230, 118);
    margin-right: 6px;
}
.invite-address-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgb(12, 12, 13);
    border: 1px solid rgb(20, 20, 22);
    border-radius: 20px;
    margin-bottom: 24px;
    margin-top: 8px;
}
.invite-address-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(0, 230, 118);
}
.invite-address-text {
    font-family: var(--mono);
    font-size: 11px;
    color: rgb(85, 85, 95);
}
.invite-access-row {
    display: flex;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}
.invite-access-input {
    flex: 1 1 0%;
    height: 48px;
    background: rgb(14, 14, 16);
    border-width: 1px medium 1px 1px;
    border-style: solid none solid solid;
    border-color: rgb(26, 26, 29) currentcolor rgb(26, 26, 29) rgb(26, 26, 29);
    border-image: none;
    border-radius: 7px 0px 0px 7px;
    padding: 0px 16px;
    font-family: var(--mono);
    font-size: 12px;
    color: rgb(240, 240, 242);
    letter-spacing: 0.14em;
    outline: none;
}
.invite-access-btn {
    height: 48px;
    padding: 0px 22px;
    background: #c9a84c;
    border: none;
    border-radius: 0px 7px 7px 0px;
    font-size: 13px;
    font-weight: 500;
    color: rgb(9, 9, 10);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.invite-access-arrow {
    font-size: 16px;
    margin-left: 4px;
}

.security-overview-box {
    margin-top: 24px;
    margin-bottom: 24px;
    text-align: left;
    background: rgb(11, 11, 13);
    border: 1px solid rgb(22, 22, 24);
    border-radius: 10px;
    padding: 16px 20px;
}

.security-overview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.security-overview-title span {
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
}

.security-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.security-overview-item {
    background: rgb(14, 14, 16);
    border-radius: 7px;
    padding: 10px 12px;
}

.security-overview-item-title {
    font-size: 11px;
    font-weight: 500;
    color: rgb(136, 136, 136);
    margin-bottom: 4px;
}

.security-overview-item-desc {
    font-size: 11px;
    color: rgb(85, 85, 85);
    margin: 0px;
    line-height: 1.5;
}

.onboard-steps-list {
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: left;
}

.onboard-step-card {
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 6px;
    transition: 0.3s;
}

.onboard-step-card.step-1 {
    border: 1px solid rgba(201, 168, 76, 0.19);
    background: rgba(201, 168, 76, 0.024);
}

.onboard-step-card.step-disabled {
    border: 1px solid rgb(20, 20, 22);
    background: rgb(12, 12, 13);
}
.onboard-step-card.success {
    border: 1px solid rgba(0, 230, 118, 0.145);
    background: rgba(0, 230, 118, 0.024);
}
.onboard-step-card.success .onboard-step-title {
    color: var(--green);
}
.onboard-step-card.success .onboard-step-index {
    border-width: 1.5px;
    border-style: solid;
    border-color: var(--green);
    background: rgba(0, 230, 118, 0.07);
    color: var(--green);
}
.onboard-step-card.success .onboard-step-status {
    background: rgba(0, 230, 118, 0.07);
    color: var(--green);
}
.onboard-step-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.onboard-step-index,
.onboard-step-index-disabled {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    transition: 0.3s;
}

.onboard-step-index {
    border: 1.5px solid rgba(201, 168, 76, 0.25);
    color: var(--gold);
}

.onboard-step-index-disabled {
    border: 1.5px solid rgb(28, 28, 31);
    color: rgb(42, 42, 47);
}

.onboard-step-main {
    flex: 1 1 0%;
}

.onboard-step-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.onboard-step-title {
    font-size: 14px;
    font-weight: 500;
    color: rgb(240, 240, 242);
}

.onboard-step-title-disabled {
    color: rgb(58, 58, 66);
}

.onboard-step-status {
    font-size: 10px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgb(17, 17, 17);
    color: rgb(51, 51, 51);
}

.onboard-step-desc {
    font-size: 12px;
    color: rgb(85, 85, 85);
    margin-top: 4px;
    line-height: 1.6;
}

.onboard-step-btn {
    height: 38px;
    padding: 0 20px;
    background: var(--gold);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 500;
    color: rgb(9, 9, 10);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 50px;
}

.onboard-wallet-container {
    margin-bottom: 6px;
    text-align: left;
    background: rgb(12, 12, 14);
    border: 1px solid rgb(26, 26, 29);
    border-radius: 10px;
    padding: 18px 20px;
}

.onboard-wallet-success {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.onboard-wallet-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
}

.onboard-wallet-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--green);
}

.onboard-wallet-addressrow {
    display: flex;
    justify-content: space-between;
    padding: 6px 0px;
}

.onboard-wallet-addresslabel {
    font-size: 11px;
    color: rgb(68, 68, 68);
}

.onboard-wallet-addressval {
    font-family: var(--mono);
    font-size: 10px;
    color: rgb(138, 138, 149);
    word-break: break-all;
}

.onboard-wallet-fundbox {
    margin-top: 12px;
    padding: 14px 16px;
    background: rgba(201, 168, 76, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.125);
    border-radius: 8px;
}

.onboard-wallet-fundrow {
    display: flex;
    align-items: start;
    gap: 10px;
}

.onboard-wallet-fundicon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.onboard-wallet-fundtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    margin-bottom: 4px;
}

.onboard-wallet-funddesc {
    font-size: 12px;
    color: rgb(102, 102, 102);
    line-height: 1.6;
    margin: 0px;
}

.onboard-wallet-funddesc strong {
    color: rgb(77, 232, 194);
}

.onboard-wallet-funddesc strong.usdc {
    color: rgb(39, 117, 202);
}
.onboard-step-process {
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
    gap: 6px;
    margin-left: 50px;
    display: flex;
    align-items: center;
}
.spin {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1.5px solid #c9a84c30;
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: sp 0.7s linear infinite;
}
@keyframes sp {
    to {
        transform: rotate(360deg);
    }
}
#approve-builder-fee-process .kynexis-status-bar {
    margin-top: 0px;
    margin-bottom: 8px;
}
