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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

/* App Container */
.app-container {
    position: relative;
    min-height: 100vh;
}

/* Verification Steps */
.verification-step {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
    z-index: 1;
}

.verification-step.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 2;
}

.step-container {
    max-width: 500px;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

/* Header */
.header {
    background: #000000;
    padding: 25px 0;
    border-bottom: 1px solid #333;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    max-width: 180px;
    height: auto;
}

.brand-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Verification Content */
.verification-content {
    flex: 1;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
}

.verification-header {
    text-align: left;
    margin-bottom: 30px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.badge-icon {
    font-size: 14px;
}

.verification-header h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 5px 0;
}

.timestamp {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Terms and Conditions Text */
.terms-text {
    text-align: center;
    color: #888;
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.4;
    padding: 0 20px;
}

.terms-link {
    color: #9370DB;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 30px;
}

.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* Content Styling */
h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: left;
}

.step-description {
    color: #888;
    font-size: 16px;
    text-align: left;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Security Message */
.security-message {
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.security-message p {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 14px;
}

.feature-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* Device Selection - UPDATED with White Dots */
.device-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.device-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* White Dot Device Icons */
.device-icon {
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Optional: Add small inner dot for better visibility */
.device-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #000000;
    border-radius: 50%;
    position: absolute;
}

.device-info {
    flex: 1;
}

.device-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.device-description {
    color: #888;
    font-size: 14px;
}

.device-selector {
    width: 20px;
    height: 20px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-option.selected .device-selector {
    background: #050505;
}

.device-option.selected .device-selector::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}

/* Feature Highlight */
.feature-highlight {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 20px;
    border: 1px;
    border-radius: 12px;
}

.feature-card .feature-icon {
    font-size: 20px;
    flex-shrink: 0;
    filter: none; /* Keep colored icons for features */
}

.feature-content h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    color: #888;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

/* Progress Section */
.progress-section {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

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

.progress-header span {
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
}

.step-counter {
    color: #ffffff;
    font-size: 12px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000000;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Buttons - UPDATED Continue Button to White */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.next-btn, .back-btn, .verify-btn {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    min-height: 45px;
}

/* Get Started Button - White for devices */
.next-btn {
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    padding: 10px 25px; /* Smaller padding */
    border-radius: 25px; /* Round edges */
    font-size: 14px; /* Slightly smaller font */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px; /* Reduced height */
    width: auto; /* Auto width instead of full width */
    align-self: center; /* Center the button */
    margin: 0 auto; /* Center horizontally */
}

.next-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.next-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
    border-color: #333;
}

/* Continue Button - WHITE */
.continue-btn {
    background: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 8px solid #ffffff; /* White border */
    border-radius: 25px;
}

.continue-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    transform: none;
    border-color: #333;
}

.back-btn {
    background: #333;
    color: #ffffff;
}

.back-btn:hover {
    background: #444;
    transform: translateY(-2px);
}

.verify-btn {
    background: #ffffff;
    color: #050505;
}

.btn-arrow {
    font-size: 16px;
    font-weight: bold;
}

/* Recovery Section */
.recovery-section {
    margin-bottom: 25px;
}

.recovery-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
}

.length-selection {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #111;
    color: #ffffff;
}

.radio-option:hover {
    border-color: #000000;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #000000;
    background: #000000;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Words Grid */
.words-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.word-input-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.word-number {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    min-width: 25px;
    text-align: right;
}

.word-input {
    flex: 1;
    padding: 10px 12px;
    border: 2px solid #333;
    border-radius: 6px;
    font-size: 14px;
    background: #111;
    color: #ffffff;
    transition: all 0.3s ease;
    font-family: monospace;
}

.word-input:focus {
    outline: none;
    border-color: #000000;
    background: #1a1a1a;
}

.word-input::placeholder {
    color: #555;
}

.word-input.valid {
    border-color: #000000;
}

.word-input.invalid {
    border-color: #ff4444;
    background: #2a0f0f;
}

.word-count {
    text-align: left;
    font-size: 14px;
    color: #888;
    margin-top: 10px;
    font-weight: 500;
}

.word-count.valid {
    color: #000000;
    font-weight: 600;
}

/* Security Notice */
.security-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.notice-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notice-content {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.4;
}

.notice-content strong {
    color: #ffffff;
}

/* Security Warning */
.security-warning {
    background: #1a0f2a;
    border: 1px solid #020202;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.security-warning h4 {
    color: #0a0a0a;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: left;
}

.security-warning ul {
    list-style-position: inside;
    color: #0d0d0e;
}

.security-warning li {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.4;
}

/* Success and Error Messages */
.success-message, .error-message {
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
    font-weight: 600;
    border: 1px solid;
}

.success-message {
    background: #1a2a1a;
    color: #4CAF50;
    border-color: #4CAF50;
}

.error-message {
    background: #2a1a1a;
    color: #f44336;
    border-color: #f44336;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .step-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .verification-content {
        padding: 20px 0;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .brand-text {
        font-size: 14px;
    }
    
    .verification-header h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .device-option {
        padding: 15px;
    }
    
    .button-group {
        flex-direction: column;
    }

    .next-btn {
    padding: 9px 22px;
    font-size: 13px;
    min-height: 38px;
    }
    
    .words-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-message {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .step-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-section {
        gap: 15px;
    }
    
    .logo {
        max-width: 140px;
    }
    
    .brand-text {
        font-size: 12px;
    }
    
    .verification-content {
        padding: 15px 0;
    }
    
    .verification-header h1 {
        font-size: 24px;
    }
    
    .security-message {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .words-grid {
        grid-template-columns: 1fr;
    }
    
    .length-selection {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .radio-option {
        width: 100%;
        max-width: 250px;
        justify-content: flex-start;
    }
    
    .next-btn, .back-btn, .verify-btn, .continue-btn {
        padding: 8px 20px;
        font-size: 12px;
        min-height: 36px;
        border-radius: 18px;
    }

    .btn-arrow {
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .logo {
        max-width: 120px;
    }
    
    .brand-text {
        font-size: 11px;
    }
    
    .verification-header h1 {
        font-size: 22px;
    }
    
    .security-message {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .next-btn, .back-btn, .verify-btn, .continue-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-height: 40px;
        border-radius: 15px;
    }
}