@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #000;
}

.container {
    width: 100%;
    max-width: 420px;
}

.card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading State */
.loading-container {
    padding: 48px 24px;
    text-align: center;
}

.loading-container.hidden {
    display: none;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 3px solid #eaeaea;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    font-size: 14px;
    color: #666;
}

/* Success Container */
.success-container {
    padding: 48px 24px;
    text-align: center;
    width: 100%;
}

.success-container.hidden {
    display: none;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #0070f3;
    stroke-width: 2;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.success-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Error Container */
.error-container {
    padding: 48px 24px;
    text-align: center;
    width: 100%;
}

.error-container.hidden {
    display: none;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: #e00;
    stroke-width: 2;
}

.error-title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.error-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 480px) {
    .loading-container,
    .success-container,
    .error-container {
        padding: 40px 20px;
    }
}
