:root {
    --font: 'Sora', sans-serif;
    --radius: 12px;

    /* Base Colors */
    --bg-main: #1697a6;
    --card-bg: #ffffff;
    --token-bg: #ffffff;
    --text-main: #1a1a1a;
    --text-sub: #6b6b6b;

    /* Brand / Accent */
    --accent: #4f6ef7;
    --positive: #00b887;
    --negative: #ff4d4f;

    /* UI Specific */
    --button-bg: linear-gradient(90deg, #4f6ef7, #7b52ff);
    --promo-bg: linear-gradient(145deg, #f0f4ff, #e3f8f3);
    --badge-bg: #eef3ff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 4px 18px rgba(0, 0, 0, 0.06);
    --input-bg: #f0f2f7;
    --border-color: #e5e5e5;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: var(--bg-main);
    font-family: 'Sora', sans-serif;

    color: var(--text-main);
}

.app {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 100%;
    background: var(--bg-main);
    display: flex;
    flex-direction: column;
    position: relative;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px;
    margin-bottom: 12px;
}

.text-sub {
    color: var(--text-sub);
    font-size: 14px;
}

.input-field {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px 12px;
    font-size: 15px;
    color: var(--text-main);
    width: 100%;
    box-sizing: border-box;
}

.loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    display: none;
}

.preloader-gif {
    width: 125px;
    height: 125px;
}

.screen-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /*transition: transform 0.35s ease;*/
    /*will-change: transform;*/
}

/*.enter-screen {*/
/*    transform: translateX(100%);*/
/*}*/

.activate-wallet-popup-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.activate-wallet-popup {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.12);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background .23s;
    overscroll-behavior: contain;
}

.activate-wallet-card {
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 12px 32px 0 rgba(29,44,80,0.15), 0 1.5px 0 0 rgba(67,138,255,0.01);
    width: 100%;
    margin-bottom: 0;
    padding: 36px 20px 26px 20px;
    position: relative;
    text-align: center;
    animation: popup-slide-up .38s cubic-bezier(.44,1.29,.46,1.01);
}

@keyframes popup-slide-up {
    from { transform: translateY(100%);}
    to   { transform: translateY(0);}
}

.activate-wallet-close-btn {
    position: absolute;
    right: 20px;
    top: 18px;
    background: rgba(180,194,205,0.16);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s;
}
.activate-wallet-close-btn:hover {
    background: rgba(128, 138, 152, 0.23);
}
.activate-wallet-close-btn svg {
    display: block;
}

.activate-wallet-illustration img {
    width: 98px;
    height: 98px;
    margin: 0 auto 18px auto;
    display: block;
}

.activate-wallet-title {
    font-family: 'Avenir Next', Arial, sans-serif;
    font-size: 36px;
    color: rgba(37, 50, 84, 0.87);
    font-weight: 500;
    margin: 10px 0 10px 0;
    text-align: left;
}

.activate-wallet-desc {
    color: rgba(181, 181, 181, 0.59);
    font-size: 16px;
    font-family: 'Avenir Next', Arial, sans-serif;
    line-height: 1.80;
    font-weight: 400;
    word-break: break-word;
    text-align: left;
    margin-bottom: 30px;
}


.activate-wallet-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.activate-wallet-action-btn {
    background: #22c276;
    color: #fff;
    border-radius: 6px;
    padding: 15px 0;
    font-size: 18px;
    font-family: 'Avenir Next', Arial, sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    margin-bottom: 2px;
    box-shadow: 0 3px 16px rgba(36, 207, 121, 0.09);
    transition: background .18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.35;
}
.activate-wallet-action-btn:active {
    background: #18995a;

}

.activate-wallet-action-btn span {
    font-size: 14px;
    color: #eaf4fa;
    letter-spacing: 0;
    text-align: center;
}

#buy-lumens-lobstr-btn {
    font-size: 16px;
    color: rgba(37, 50, 84, 0.87);
    font-weight: 500;
}

.activate-wallet-lobstr-btn {
    background: #eaf4fa;
    color: #12a2f8;
    border-radius: 6px;
    padding: 20px 0;
    font-size: 16px;
    font-family: 'Avenir Next', Arial, sans-serif;
    font-weight: 400;
    border: none;
    cursor: pointer;
    margin-bottom: 3px;
    transition: background .14s;
}
.activate-wallet-lobstr-btn:active {
    background: #d6ebf8;
}

.activate-wallet-receive-link {
    margin-top: 8px;
    color: #20b37a;
    font-size: 1.01rem;
    font-family: 'Avenir Next', Arial, sans-serif;
    font-weight: 400;
}
.activate-wallet-receive-link button {
    background: transparent;

    color: #20b37a;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border: none;
}
.activate-wallet-receive-link span {
    color: rgba(181, 181, 181, 0.59);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

@media (max-width: 600px) {
    .activate-wallet-card {
        max-width: 100vw;
        padding: 32px 7vw 20px 7vw;
    }
    .activate-wallet-popup {
        align-items: flex-end;
    }
}
