body {
    background-color: #09090b;
    color: #fafafa;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.ambient-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    max-width: 100vw;
    height: 600px;
    background: radial-gradient(ellipse at top, rgba(168, 85, 247, 0.08) 0%, rgba(9, 9, 11, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.glass-panel {
    background: rgba(24, 24, 27, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-panel:hover {
    background: rgba(24, 24, 27, 0.6);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
    background: linear-gradient(to right, #d8b4fe, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-avatar-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid rgba(168, 85, 247, 0.25);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
    background: rgba(24, 24, 27, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-avatar-btn:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: scale(1.04);
}

.user-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatar-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(24, 24, 27, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 6px 0;
    min-width: 140px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.avatar-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.avatar-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e4e4e7;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease;
    text-align: left;
}

.avatar-dropdown button:hover {
    background: rgba(168, 85, 247, 0.15);
    color: #fff;
}

.avatar-dropdown button i {
    font-size: 1.1rem;
    color: #a1a1aa;
}

.avatar-dropdown .dropdown-email {
    padding: 8px 16px 4px 16px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #71717a;
    pointer-events: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.step-card {
    position: relative;
    z-index: 1;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.5) 0%, rgba(168, 85, 247, 0) 100%);
    z-index: -1;
}

.step-card:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .step-card::after {
        display: none;
    }
}