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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

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

.header h1 {
    color: #2d3748;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.header p {
    color: #718096;
    font-size: 1rem;
}

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

label {
    display: block;
    margin-bottom: 8px;
    color: #2d3748;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.card-info {
    background: #f7fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid #667eea;
}

.card-info h3 {
    color: #2d3748;
    margin-bottom: 10px;
}

.card-info p {
    color: #4a5568;
    margin-bottom: 5px;
}

.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-weight: 500;
}

.success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.footer {
    text-align: center;
    color: #718096;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.footer a {
    color: #667eea;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.tx-link {
    display: inline-block;
    margin-top: 10px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

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

.step {
    display: none;
}

.step.active {
    display: block;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    margin: 0 8px;
    transition: background 0.2s;
}

.step-dot.active {
    background: #667eea;
}

.step-dot.completed {
    background: #48bb78;
}

/* API Documentation Styles */
.api-doc {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #1a1a1a;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    overflow-x: auto;
}

.api-doc h1, .api-doc h2, .api-doc h3 {
    color: #50fa7b;
    margin-bottom: 15px;
}

.api-doc pre {
    background: #282a36;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 10px 0;
}

.api-doc code {
    background: #44475a;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 0.9em;
}

.api-doc .endpoint {
    background: #44475a;
    padding: 10px;
    border-left: 4px solid #50fa7b;
    margin: 15px 0;
}

.api-doc .method {
    color: #ff79c6;
    font-weight: bold;
}

.api-doc .url {
    color: #8be9fd;
    text-decoration: none;
}

.api-doc .url:hover {
    text-decoration: underline;
}

.api-doc .description {
    color: #f1fa8c;
    margin: 10px 0;
} 