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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    text-align: center;
    padding: 40px 24px;
}

.state {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    display: flex;
}

.icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrap svg {
    width: 32px;
    height: 32px;
}

/* 授权中 */
.loading-icon {
    background: #f1f5f9;
    color: #64748b;
}

.loading-icon svg {
    animation: spin 1.2s linear infinite;
}

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

/* 成功 */
.success-icon {
    background: #f0fdf4;
    color: #16a34a;
}

/* 失败 */
.error-icon {
    background: #fef2f2;
    color: #dc2626;
}

.state-text {
    font-size: 16px;
    font-weight: 500;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.error-detail {
    font-size: 13px;
    color: #94a3b8;
    max-width: 280px;
    line-height: 1.5;
}
