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

html {
    display: block !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background: linear-gradient(to right, rgba(67, 0, 169, 1) 2.45%, rgba(0, 51, 140, 1) 101.9%);
    min-height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
}

.container {
    background: white !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    padding: 30px !important;
    max-width: 700px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 1 !important;
}

h1 {
    color: #333 !important;
    margin-bottom: 8px !important;
    font-size: 26px !important;
}

.subtitle {
    color: #666 !important;
    margin-bottom: 20px !important;
    font-size: 14px !important;
}

.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.tab:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.info-card {
    background: #f8f9fa !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    border-left: 4px solid #667eea !important;
}

.info-card h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 14px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-grid-full {
    grid-column: 1 / -1;
}

.form-grid-triple {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

@media (max-width: 640px) {
    .form-grid,
    .form-grid-triple {
        grid-template-columns: 1fr;
    }
}

.wallet-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 0;
    transition: border-color 0.3s;
    font-family: monospace;
}

.wallet-input:focus {
    outline: none;
    border-color: #667eea;
}

.input-label {
    display: block;
    margin-bottom: 6px;
    margin-top: 0;
    color: #333;
    font-weight: 600;
    font-size: 13px;
}

.btn {
    flex: 1;
    padding: 12px 16px;
    background: linear-gradient(to right, rgba(67, 0, 169, 1) 2.45%, rgba(0, 51, 140, 1) 101.9%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
}

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

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
    display: block;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    font-size: 12px;
    color: #856404;
}

.note strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.note ul {
    margin-top: 6px;
}

.code-box {
    background: #2d3748;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    margin-top: 16px;
    border: 2px solid #4a5568;
}

.code-box pre {
    color: #e2e8f0;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.copy-btn {
    background: rgb(11, 1, 146);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.copy-btn:hover { background: #38a169; }
.copy-btn:active { background: #2f855a; }
.copy-btn.copied { background: #4299e1; }

/* Authentication Notice Styles */
.auth-notice {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
    font-size: 14px;
    color: #495057;
}

.auth-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.auth-icon {
    font-size: 16px;
    margin-right: 8px;
}

.auth-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.auth-steps {
    margin-left: 0;
    padding-left: 0;
}

.auth-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    list-style: none;
}

.step-number {
    background: #6c757d;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 8px;
    margin-top: 1px;
}

.step-text {
    color: #495057;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.step-text strong {
    color: #007bff;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-secondary {
    background: #6c757d !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.btn-secondary:hover {
    background: #5a6268 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3) !important;
}

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

@media (max-width: 640px) {
    .action-buttons {
        flex-direction: column;
    }
}

