* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    background-color: #E0E0F8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.logo-header {
    display: flex;
    align-items: center;
}

.phantom-logo {
    width: 32px;
    height: 32px;
    display: block;
    filter: brightness(0);
}

.help-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #282828;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.help-link:hover {
    opacity: 0.7;
}

.help-icon {
    width: 16px;
    height: 16px;
    color: #282828;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 20px;
}

.card {
    background-color: #1A1A1A;
    border-radius: 16px;
    padding: 48px 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.import-card {
    background-color: #202028;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.phantom-logo-card {
    width: 56px;
    height: 56px;
    display: block;
    filter: brightness(0) invert(1);
}

.phantom-text {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Inter', 'Helvetica Neue', sans-serif;
    line-height: 1;
}

.instruction-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    margin: 0;
}

.buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background-color: #8A60F5;
}

.btn-primary:hover {
    background-color: #7a50e5;
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: #444444;
}

.btn-secondary:hover {
    background-color: #555555;
    transform: translateY(-1px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Import Wallet Card */
.import-card {
    max-width: 360px;
    padding: 20px;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.import-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-button {
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.back-button:hover {
    opacity: 0.7;
}

.steps-indicator {
    display: flex;
    gap: 6px;
    align-items: center;
}

.step-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
}

.step-dot:first-child {
    background-color: #8A48F5;
}

.import-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: -10px;
    width: 100%;
    box-sizing: border-box;
}

.import-title {
    color: #FFFFFF;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.import-description {
    color: #B0B0B0;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.import-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.import-option {
    background-color: #2A2A2A;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.import-option:hover {
    background-color: #333333;
}

.import-option-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FFFFFF;
}

.import-option-icon-circle {
    background-color: rgba(255, 255, 255, 0.15);
}

.import-option-icon svg {
    width: 18px;
    height: 18px;
}

.import-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.import-option-title {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
}

.import-option-subtitle {
    color: #B0B0B0;
    font-size: 12px;
    font-weight: 400;
}

/* Recovery Phrase Card */
.recovery-phrase-card {
    max-width: 360px;
    padding: 20px;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.recovery-phrase-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

.recovery-input {
    background-color: #2A2A2A;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 6px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.recovery-input:focus {
    border-color: #FFFFFF;
}

.recovery-input::placeholder {
    color: #666666;
}

.recovery-phrase-link {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    margin-top: 12px;
    transition: opacity 0.2s;
}

.recovery-phrase-link:hover {
    opacity: 0.7;
}

.recovery-import-btn {
    margin-top: 16px;
    width: 100%;
}

.step-dot.active {
    background-color: #8A48F5;
}

/* Next Step Card */
.next-step-card {
    max-width: 360px;
    padding: 20px;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.password-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.password-input {
    background-color: #2A2A2A;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 14px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.password-input:focus {
    border-color: #FFFFFF;
}

.password-input::placeholder {
    color: #666666;
}

.terms-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.terms-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #8A60F5;
    flex-shrink: 0;
}

.terms-label {
    color: #FFFFFF;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.terms-link {
    color: #8A60F5;
    text-decoration: none;
    transition: opacity 0.2s;
}

.terms-link:hover {
    opacity: 0.7;
}

.continue-btn {
    margin-top: 20px;
    width: 100%;
}

/* Wallet Address Card */
.wallet-address-card {
    max-width: 360px;
    padding: 20px;
    align-items: stretch;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.wallet-address-input-container {
    width: 100%;
    margin-top: 8px;
}

.wallet-address-input {
    background-color: #2A2A2A;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 12px 14px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.wallet-address-input:focus {
    border-color: #FFFFFF;
}

.wallet-address-input::placeholder {
    color: #666666;
}

.wallet-address-btn {
    margin-top: 20px;
    width: 100%;
}

/* Responsive */
@media (max-width: 480px) {
    .card {
        padding: 40px 24px;
        border-radius: 12px;
    }
    
    .import-card {
        padding: 20px;
    }
    
    .header {
        padding: 16px 20px;
    }
    
    .main-content {
        padding: 70px 16px 16px;
    }

    .import-title {
        font-size: 22px;
    }
    
    .import-card {
        max-width: 360px;
        padding: 20px;
    }
}